[MacPorts] #70721: adding ecw variant to gdal @3.9.1_1+jpegxl+lto+mysql57+native+netcdf+opencl+openexr+openjpeg+postgresql16+proj9+xerces fails to build at ~95%
MacPorts
noreply at macports.org
Tue Jan 21 17:57:04 UTC 2025
#70721: adding ecw variant to gdal
@3.9.1_1+jpegxl+lto+mysql57+native+netcdf+opencl+openexr+openjpeg+postgresql16+proj9+xerces
fails to build at ~95%
------------------------------+----------------------
Reporter: TheLastLovemark | Owner: Veence
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Resolution: | Keywords:
Port: gdal |
------------------------------+----------------------
Comment (by cooljeanius):
Replying to [comment:1 jmroot]:
> {{{
> :info:build Undefined symbols for architecture x86_64:
> :info:build "_OBJC_CLASS_$_NSProcessInfo", referenced from:
> :info:build objc-class-ref in
libNCSEcw.a(ObjectiveCCPlusPlusWrapper.o)
> :info:build "_objc_autoreleasePoolPush", referenced from:
> :info:build
NCS::ObjectiveCCPlusPlusWrapper::Utilities::GetTempDirectory() in
libNCSEcw.a(ObjectiveCCPlusPlusWrapper.o)
> :info:build
NCS::ObjectiveCCPlusPlusWrapper::Utilities::GetUserName() in
libNCSEcw.a(ObjectiveCCPlusPlusWrapper.o)
> :info:build
NCS::ObjectiveCCPlusPlusWrapper::Utilities::GetCurrentProcessId() in
libNCSEcw.a(ObjectiveCCPlusPlusWrapper.o)
> :info:build "_NSUserName", referenced from:
> :info:build
NCS::ObjectiveCCPlusPlusWrapper::Utilities::GetUserName() in
libNCSEcw.a(ObjectiveCCPlusPlusWrapper.o)
> :info:build "_objc_autoreleasePoolPop", referenced from:
> :info:build
NCS::ObjectiveCCPlusPlusWrapper::Utilities::GetTempDirectory() in
libNCSEcw.a(ObjectiveCCPlusPlusWrapper.o)
> :info:build
NCS::ObjectiveCCPlusPlusWrapper::Utilities::GetUserName() in
libNCSEcw.a(ObjectiveCCPlusPlusWrapper.o)
> :info:build
NCS::ObjectiveCCPlusPlusWrapper::Utilities::GetCurrentProcessId() in
libNCSEcw.a(ObjectiveCCPlusPlusWrapper.o)
> :info:build "_NSTemporaryDirectory", referenced from:
> :info:build
NCS::ObjectiveCCPlusPlusWrapper::Utilities::GetTempDirectory() in
libNCSEcw.a(ObjectiveCCPlusPlusWrapper.o)
> :info:build "___CFConstantStringClassReference", referenced from:
> :info:build CFString in libNCSEcw.a(ObjectiveCCPlusPlusWrapper.o)
> :info:build "_objc_msgSend", referenced from:
> :info:build
NCS::ObjectiveCCPlusPlusWrapper::Utilities::GetTempDirectory() in
libNCSEcw.a(ObjectiveCCPlusPlusWrapper.o)
> :info:build
NCS::ObjectiveCCPlusPlusWrapper::Utilities::GetUserName() in
libNCSEcw.a(ObjectiveCCPlusPlusWrapper.o)
> :info:build
NCS::ObjectiveCCPlusPlusWrapper::Utilities::GetCurrentProcessId() in
libNCSEcw.a(ObjectiveCCPlusPlusWrapper.o)
> }}}
> Looks like it's not linking with the objc runtime for some reason.
Looks similar to an error I'd been experiencing until recently; possible
solutions you could try:
- Double-check that your Xcode and/or CLT installations are up-to-date and
properly installed
- Try building in trace mode
- Check in `/Library/Frameworks` (or similar directories) for conflicting
frameworks that might be shadowing system frameworks, and then move any
broken ones aside
- Add `-Wl,-F/System/Library/Frameworks` to `configure.ldflags`
--
Ticket URL: <https://trac.macports.org/ticket/70721#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list