[MacPorts] #70676: gmic-lib: fatal error: use of undeclared identifier 'AT_FDCWD'
MacPorts
noreply at macports.org
Wed Jan 22 03:52:02 UTC 2025
#70676: gmic-lib: fatal error: use of undeclared identifier 'AT_FDCWD'
-----------------------+--------------------------
Reporter: RobK88 | Owner: kencu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Resolution: | Keywords: mountainlion
Port: gmic-lib |
-----------------------+--------------------------
Comment (by ryandesign):
Replying to [comment:17 Schamschula]:
> There is nothing I can do from my end.
Yes there is. This user may be on a legacy system but the bug affects all
systems. The bug is that the build system does not use MacPorts LDFLAGS.
On any system, you can verify that this is the case (e.g. observe the lack
of `-arch` flags when linking) and verify whether any changes you make fix
it. I think that the problem is coming at least partly from the changes we
make in [browser:macports-ports/science/gmic/files/patch-src-
Makefile.diff at 1eef4efee705c038c2f00888965da832a77b247b patch-src-
Makefile.diff]. Note how we invoke `$(CXX)` without passing `$(LDFLAGS)`
to it. (Granted, the non-Darwin code that the patch is changing didn't do
that either, so that's something to be reported upstream.)
--
Ticket URL: <https://trac.macports.org/ticket/70676#comment:19>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list