[MacPorts] #60228: gpsd doesn't fully use the right compiler
MacPorts
noreply at macports.org
Mon Mar 23 19:54:25 UTC 2020
#60228: gpsd doesn't fully use the right compiler
------------------------+--------------------
Reporter: michaelld | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gpsd |
------------------------+--------------------
Changes (by michaelld):
* cc: fw@… (added)
Comment:
From the attached build log:
{{{
:debug:build CC='/usr/bin/clang -arch x86_64'
[snip]
:info:build Obtaining Python config vars... ok
:info:build WARNING: Python too old: gps/aiogps.py will not be installed
:info:build Python module serial (pyserial) found.
:info:build {'OPT': '-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes',
'BASECFLAGS': '-fno-strict-aliasing -fno-common -dynamic', 'CC':
'/opt/local/bin/clang-mp-9.0', 'CXX': '/opt/local/bin/clang++-mp-9.0',
'SO': '.so', 'LDFLAGS': '-L/opt/local/lib -Wl,-headerpad_max_install_names
-L/opt/local/lib/db48
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
', 'LDSHARED': '/opt/local/bin/clang-mp-9.0 -bundle -undefined
dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names
-L/opt/local/lib/db48
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
', 'CCSHARED': '', 'INCLUDEPY':
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7'}
[snip]
:info:build /opt/local/bin/clang-mp-9.0 -o packet-py_2_7_17_final_0.so -c
-fno-strict-aliasing -fno-common -dynamic -fPIC -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
packet.c
[snip]
:info:build packet.c:33:10: fatal error: 'sys/types.h' file not found
:info:build #include <sys/types.h>
:info:build ^~~~~~~~~~~~~
:info:build 1 error generated.
:info:build scons: *** [packet-py_2_7_17_final_0.so] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/60228#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list