[MacPorts] #60024: webkit2-gtk @2.26.2_0+minibrowser+x11 GIR Files Malformed
MacPorts
noreply at macports.org
Thu Jan 30 00:05:29 UTC 2020
#60024: webkit2-gtk @2.26.2_0+minibrowser+x11 GIR Files Malformed
--------------------------+----------------------
Reporter: jmercouris | Owner: kencu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.1
Resolution: | Keywords:
Port: webkit2-gtk |
--------------------------+----------------------
Comment (by kencu):
{{{g-ir-scanner}}} seems to pull out the library name in this file
{{{/opt/local/lib/gobject-introspection/giscanner/shlibs.py}}} and
specifically in this part:
{{{
platform_system = platform.system()
if platform_system == 'Darwin':
args.extend(['otool', '-L', binary.args[0]])
}}}
which looks like it just asks the library for it's name, and uses that.
I guess at the time this scanning is done, that library must have an
@rpath name, even though cmake is set up with this:
{{{
-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON
-DCMAKE_INSTALL_RPATH="/opt/local/lib"
}}}
so -- next step would be, I suppose, to build webkit2-gtk, and before
destrooting or installing it, go look at the libraries of interest and see
how they are named at that point in time.
If they do have @rpath names in the build tree, and I guess they will,
then the next step would be to figure why and how that might be managed.
--
Ticket URL: <https://trac.macports.org/ticket/60024#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list