Opened 4 years ago
Closed 4 years ago
#60901 closed defect (fixed)
qgis3: fatal error: 'stdlib.h' file not found
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | Veence (Vincent) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.3 |
Keywords: | Cc: | gwright83 | |
Port: | qgis3 |
Description
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.
Change History (3)
comment:1 Changed 4 years ago by Veence (Vincent)
comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | gwright83 added |
---|
Has duplicate #60913.
comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Looks like this was fixed in [ea06f8f14ca798a5dbd021f77acbc2bf41aec1b6/macports-ports].
Note: See
TracTickets for help on using
tickets.
Whoops, my bad. I have a wonky configuration at this time, and I forgot to remove that line.
Not that it matters much anyways, because I have just discovered this new version runs into the same issue as the previous one, namely a dependency on both MacPorts's sqlite3 and its system counterpart, which results in a crash as soon as the application is launched (or set to do any meaningful task).
I am going to investigate this and remove the faulty line in the process.
Thanks for reporting!