[MacPorts] #61508: gobject-introspection generates invalid gir files on Big Sur
MacPorts
noreply at macports.org
Fri Nov 20 15:56:55 UTC 2020
#61508: gobject-introspection generates invalid gir files on Big Sur
------------------------------------+----------------------
Reporter: idryzhov | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: gobject-introspection |
------------------------------------+----------------------
Comment (by michaelld):
Replying to [comment:9 kencu]:
> mesom will always use @rpath during the build for any in-tree library
references (for running tests, etc, to find the right library) and
replaces it during install with the full path.
>
> That's why we have the headache on Tiger and have to patch meson there.
>
> It's a mechanism at the heart of meson, used on all non-windows os
versions. They won't be changing it I believe.
OK. Good to know. It's either lazy or pragmatic ... IDK which! One can
always set `DYLD_LIBRARY_PATH` to test the in-build library; this is what
CMake does by default rather than use `@rpath`. "To each" I guess ...
> Despite @rpath, this was all working until, I believe, /opt/local/lib
began being removed from the librsry list so as to avoid adding it to
DYLD_LIBRARY_PATH.
Hmmm ... interesting conceptual observation ... I'm pretty sure the
`@rpath` usage would result in a defective GIR file regardless of our/my
GO-I tweaks thus far ... I'll test this to verify.
I'll also investigate if there's way to split the library paths so-as to
provide a list to the `shlibs.py` scripts to less-dangerously work around
this issue.
--
Ticket URL: <https://trac.macports.org/ticket/61508#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list