Opened 12 months ago

Closed 6 months ago

Last modified 3 months ago

#67350 closed defect (fixed)

polymake @4.9_0 arm64 build fails

Reported by: murrayE Owned by: catap (Kirill A. Korinsky)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: polymake

Description

From main.log:

:info:build [978/1008] COMPILE /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_polymake/polymake/work/polymake-4.9/build/Opt/lib/perlx/5.34.1/darwin-thread-multi-2level/calls.o
:info:build FAILED: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_polymake/polymake/work/polymake-4.9/build/Opt/lib/perlx/5.34.1/darwin-thread-multi-2level/calls.o 
:info:build   /usr/bin/clang++ -c -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_polymake/polymake/work/polymake-4.9/build/Opt/lib/perlx/5.34.1/darwin-thread-multi-2level/calls.o -MMD -MT /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_polymake/polymake/work/polymake-4.9/build/Opt/lib/perlx/5.34.1/darwin-thread-multi-2level/calls.o -MF /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_polymake/polymake/work/polymake-4.9/build/Opt/lib/perlx/5.34.1/darwin-thread-multi-2level/calls.o.d -fPIC -pipe -pipe -I/opt/local/libexec/boost/1.76/include -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  -std=c++14 -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-mismatched-tags -Wno-unused-local-typedef -Wno-error=unneeded-internal-declaration -Wshadow -Wconversion -Wno-sign-conversion -Wzero-as-null-pointer-constant -I/opt/local/libexec/boost/1.76/include -DPOLYMAKE_WITH_FLINT  -DPOLYMAKE_DEBUG=0 -DNDEBUG -O3 -I/opt/local/lib/perl5/5.34/darwin-thread-multi-2level/CORE -fno-common -DPERL_DARWIN  -pipe -Os    -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV  -DPerlVersion=5341 -Wno-nonnull -Wno-xor-used-as-pow  -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_polymake/polymake/work/polymake-4.9/include/core-wrappers -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_polymake/polymake/work/polymake-4.9/include/core /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_polymake/polymake/work/polymake-4.9/lib/core/src/perl/calls.cc && : 'COMPILER_USED=10.0'
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_polymake/polymake/work/polymake-4.9/lib/core/src/perl/calls.cc:95:10: error: exception specification in declaration does not match previous declaration
:info:build FunCall::~FunCall() noexcept(false)
:info:build          ^
:info:build /opt/local/include/polymake/perl/calls.h:170:4: note: previous declaration is here
:info:build    ~FunCall();
:info:build    ^
:info:build 1 error generated.

Full main.log is attached.

Attachments (1)

main.log (492.3 KB) - added by murrayE 12 months ago.
main.log

Download all attachments as: .zip

Change History (8)

Changed 12 months ago by murrayE

Attachment: main.log added

main.log

comment:1 Changed 12 months ago by catap (Kirill A. Korinsky)

comment:2 Changed 12 months ago by jmroot (Joshua Root)

Cc: catap removed
Keywords: build failure removed
Owner: set to catap
Port: polymake added; polymake-4.9_0 removed
Status: newassigned
Summary: polyake-4.9_0 arm64 buile failspolymake @4.9_0 arm64 build fails

comment:3 Changed 12 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In 58937e388590845eb79bf3d88dcfd140a6da7215/macports-ports (master):

polymake: it requires C++14

Closes: #67350

comment:4 Changed 10 months ago by murrayE

Resolution: fixed
Status: closedreopened

polymake-4.10_1.darwin_22.arm64 still fails to build! Note that latest gcc from MacPorts is gcc12 @12.3.0_0. Does that include the requisite C++ 14?

comment:5 in reply to:  4 Changed 10 months ago by catap (Kirill A. Korinsky)

Replying to murrayE:

polymake-4.10_1.darwin_22.arm64 still fails to build! Note that latest gcc from MacPorts is gcc12 @12.3.0_0. Does that include the requisite C++ 14?

It was suceffuly build on Build Bots: https://ports.macports.org/port/polymake/details/

BTW why have you tried to use gcc on darwin22? I think that system's clang is good enough.

comment:6 Changed 6 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: reopenedclosed

In f08e6d9b99c463159adbb32d4ff299b780a2486f/macports-ports (master):

polymake: update to 4.11

Closes: #67813
Closes: #67350

comment:7 in reply to:  4 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to murrayE:

latest gcc from MacPorts is gcc12 @12.3.0_0. Does that include the requisite C++ 14?

You can determine which compilers support which language standards by reading CompilerSelection.

Note: See TracTickets for help on using tickets.