[MacPorts] #66457: libgcc12 build fails during configure test for MPC dep.

MacPorts noreply at macports.org
Tue Dec 13 10:20:07 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):

 Issue is easy to reproduce standalone

 {{{
 Oberon ~/Downloads > cat conftest.c
 #include <mpc.h>
 #include <stdio.h>
 int main () {
      #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
      choke me
      #endif
      return 0;
 }
 Oberon ~/Downloads > clang  -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
 -I/opt/local/include conftest.c
 In file included from conftest.c:1:
 /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.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66457#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list