[MacPorts] #71037: gmp @6.3.0: Failed to configure gmp
MacPorts
noreply at macports.org
Fri Oct 4 11:54:44 UTC 2024
#71037: gmp @6.3.0: Failed to configure gmp
-------------------------+-----------------------------------
Reporter: eric-j-ason | Owner: < default >mcalhoun@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.2
Keywords: | Port: gmp
-------------------------+-----------------------------------
Building gmp fails thus:
{{{
--> Configuring gmp
Error: Failed to configure gmp: consult
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.3.0/config.log
Error: Failed to configure gmp: configure failure: command execution
failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gmp/gmp/main.log
for details.
}}}
This is the first error from `config.log`:
{{{
configure:6396: /usr/bin/clang -arch arm64 -O2 -pedantic conftest.c >&5
conftest.c:1:16: warning: a function declaration without a prototype is
deprecated in all versions of C [-Wstrict-prototypes]
1 | int k; int foo () { __builtin_alloca (k); }
| ^
| void
conftest.c:1:43: warning: non-void function does not return a value
[-Wreturn-type]
1 | int k; int foo () { __builtin_alloca (k); }
| ^
2 warnings generated.
Undefined symbols for architecture arm64:
"_main", referenced from:
<initial-undefines>
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
}}}
Other errors (deduplicated):
{{{
configure:9109: /usr/bin/clang -arch arm64 -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
}}}
{{{
configure:9109: /usr/bin/clang -arch arm64 -qversion >&5
clang: error: unknown argument '-qversion'; did you mean '--version'?
}}}
{{{
configure:9871: /usr/bin/clang -arch arm64 -E conftest.c
conftest.c:13:10: fatal error: 'ac_nonexistent.h' file not found
13 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
}}}
{{{
configure:10357: /usr/bin/clang++ -stdlib=libc++ -arch arm64 -V >&5
clang++: error: argument to '-V' is missing (expected 1 value)
}}}
{{{
configure:10357: /usr/bin/clang++ -stdlib=libc++ -arch arm64 -qversion >&5
clang++: error: unknown argument '-qversion'; did you mean '--version'?
}}}
{{{
configure:10620: /usr/bin/clang++ -stdlib=libc++ -arch arm64 -O2
-pedantic -march=armv8-a conftest.cc >&5
conftest.cc:3:10: fatal error: 'iostream' file not found
3 | #include <iostream>
| ^~~~~~~~~~
}}}
{{{
configure:10665: error: C++ compiler not available, see config.log for
details
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71037>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list