[MacPorts] #59660: py36-isce2 fails to rebuild with Xcode 11.2

MacPorts noreply at macports.org
Mon Nov 11 15:08:14 UTC 2019


#59660: py36-isce2 fails to rebuild with Xcode 11.2
-------------------------+--------------------
  Reporter:  EJFielding  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:
      Port:  py36-isce2  |
-------------------------+--------------------

Comment (by EJFielding):

 I found that I had the same problem with gcc9 under Xcode 11.2. The pre-
 built binary was linked to the MacOSX10.14.sdk in the Xcode directory that
 is no longer available. With the pre-built binary, I can't even compile
 the first scons config test:

 {{{
 gcc conftest_0.c
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m
 /opt/local/include
 In file included from /opt/local/lib/gcc9/gcc/x86_64-apple-darwin18/9.2.0
 /include-fixed/syslimits.h:7,
                  from /opt/local/lib/gcc9/gcc/x86_64-apple-darwin18/9.2.0
 /include-fixed/limits.h:34,
                  from
 /opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/Python.h:11,
                  from conftest_0.c:2:
 /opt/local/lib/gcc9/gcc/x86_64-apple-darwin18/9.2.0/include-
 fixed/limits.h:194:61: error: no include path in which to search for
 limits.h
   194 | #include_next <limits.h>  /* recurse down to the real one */
       |                                                             ^
 In file included from
 /opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/Python.h:25,
                  from conftest_0.c:2:
 /opt/local/lib/gcc9/gcc/x86_64-apple-darwin18/9.2.0/include-
 fixed/stdio.h:78:10: fatal error: _stdio.h: No such file or directory
    78 | #include <_stdio.h>
       |          ^~~~~~~~~~
 compilation terminated.
 }}}


 One correction: I am running MacOS 10.14.6 on this machine.

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


More information about the macports-tickets mailing list