[MacPorts] #66457: libgcc12 build fails during configure test for MPC dep.
MacPorts
noreply at macports.org
Tue Dec 13 10:00:28 UTC 2022
#66457: libgcc12 build fails during configure test for MPC dep.
------------------------------+---------------------
Reporter: ragnese | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: ventura
Port: libgcc12 libmpc |
------------------------------+---------------------
Comment (by cjones051073):
b.t.w. just including stdio.h in the test does not seem enough
{{{
configure:8227: /usr/bin/clang -arch x86_64 -c -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
-I/opt/local/include -I/opt/local/include -I/opt/local/include
-I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c
>&5
In file included from conftest.c:10:
/opt/local/include/mpc.h:287:35: error: unknown type name 'FILE'
__MPC_DECLSPEC void mpcr_out_str (FILE *f, mpcr_srcptr r);
^
1 error generated.
configure:8227: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <mpc.h>
| #include <stdio.h>
| int
| main ()
| {
|
| #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
| choke me
| #endif
|
| ;
| return 0;
| }
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66457#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list