[MacPorts] #60901: qgis3: fatal error: 'stdlib.h' file not found
MacPorts
noreply at macports.org
Sun Jul 26 01:07:07 UTC 2020
#60901: qgis3: fatal error: 'stdlib.h' file not found
------------------------+----------------------
Reporter: ryandesign | Owner: Veence
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Keywords: | Port: qgis3
------------------------+----------------------
[https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/88298/steps
/install-port/logs/stdio qgis3 doesn't build]:
{{{
clang: warning: no such sysroot directory:
'/Applications/Xcode.app/Contents/Developer/Developer/SDKs/MacOSX.sdk'
[-Wmissing-sysroot]
}}}
{{{
/Library/Developer/CommandLineTools/usr/include/c++/v1/stdlib.h:94:15:
fatal error: 'stdlib.h' file not found
#include_next <stdlib.h>
^~~~~~~~~~
}}}
This is probably because of a change made to configure.sdkroot in
[f2ee9406fec1b81173f816a180167af810a5e173/macports-ports].
Why does this portfile override configure.sdkroot anyway? MacPorts base
should already be setting it for you. Granted there are some bugs in the
way it does that, but if that's why you're overriding it, we should fix
whatever it is in MacPorts base instead of individually in each portfile.
--
Ticket URL: <https://trac.macports.org/ticket/60901>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list