[MacPorts] #70676: gmic-lib: Unable to upgrade on Mtn Lion - fatal error: use of undeclared identifier 'AT_FDCWD'
MacPorts
noreply at macports.org
Sat Nov 2 20:05:33 UTC 2024
#70676: gmic-lib: Unable to upgrade on Mtn Lion - fatal error: use of undeclared
identifier 'AT_FDCWD'
--------------------------------------+------------------------------------
Reporter: RobK88 | Owner: Ken <21211439+kencu@…>
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Resolution: | Keywords: mtnlion
Port: gmic-lib legacy-support |
--------------------------------------+------------------------------------
Comment (by mascguy):
Replying to [comment:13 kencu]:
> oh, the build does get further, and the changes I made were needed.
>
> Just not sufficient yet, as the legacysupport library is not being added
to the link libraries.
>
> Usually the legacysupport PG can automatically add it, but not working
in this case so someone will need to dig in and find out why not
Interestingly enough, the lib is being added for 10.6, per the buildbot:
{{{
gmic-lib/work/compwrap/cxx/opt/local/bin/clang++-mp-11 -dynamiclib -o
libgmic.1.dylib -install_name /opt/local/lib/libgmic.1.dylib
-compatibility_version 1
-current_version 3.4.3 -Dcimg_date=\\\"\\\" -Dcimg_time=\\\"\\\"
-Dcimg_use_zlib -I. -std=c++11 -pedantic -Wall -Wextra -Wfatal-errors
-Werror=unknown-pragmas
-Werror=unused-label -Wshadow libgmic.o -L/opt/local/lib -lz -L.
-L/opt/local/lib -Wl,-rpath,. -lpthread -L/opt/local/lib -lfftw3
-lfftw3_threads
-L/opt/local/lib -lcurl -L/opt/local/lib -lpng16 -L/opt/local/lib -ljpeg
-L/opt/local/lib -ltiff -L/opt/local/lib -lX11 -lpthread -L/opt/local/lib
-lOpenEXR-3_2 -lOpenEXRUtil-3_2 -lOpenEXRCore-3_2 -lIex-3_2 -lIlmThread-
3_2 -lImath-3_1 -L/opt/local/lib -lMacportsLegacySupport
ln -fs libgmic.so.343 libgmic.so.3
ln -fs libgmic.so.3 libgmic.so
gmic-lib/work/compwrap/cxx/opt/local/bin/clang++-mp-11 -o use_libgmic
use_libgmic.cpp -std=c++11 -pedantic -lgmic -L/opt/local/lib -lz -L.
-L/opt/local/lib
-Wl,-rpath,. -lpthread -L/opt/local/lib -lfftw3 -lfftw3_threads
-L/opt/local/lib -lcurl -L/opt/local/lib -lpng16 -L/opt/local/lib -ljpeg
-L/opt/local/lib
-ltiff -L/opt/local/lib -lX11 -lpthread -L/opt/local/lib -lOpenEXR-3_2
-lOpenEXRUtil-3_2 -lOpenEXRCore-3_2 -lIex-3_2 -lIlmThread-3_2 -lImath-3_1
-L/opt/local/lib
-lMacportsLegacySupport
}}}
But not for 10.7 thru 10.9.
--
Ticket URL: <https://trac.macports.org/ticket/70676#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list