[MacPorts] #56301: webkit2-gtk @2.14.2_2+quartz: fails to build under 10.13.4
MacPorts
noreply at macports.org
Tue Apr 17 20:04:42 UTC 2018
#56301: webkit2-gtk @2.14.2_2+quartz: fails to build under 10.13.4
--------------------------+----------------------
Reporter: aque | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.3
Resolution: | Keywords:
Port: webkit2-gtk |
--------------------------+----------------------
Comment (by MarcusCalhoun-Lopez):
As far as I can tell, this problem is:
* webkit2-gtk
[https://trac.webkit.org/browser/webkit/releases/WebKitGTK/webkit-2.14.2/Source/WebKit2/PlatformGTK.cmake#L916
runs g-ir-scanner] with {{{-L${prefix}/lib}}}
* Not surprisingly, g-ir-scanner passes {{{-L...}}}
[https://gitlab.gnome.org/GNOME/gobject-
introspection/blob/master/giscanner/ccompiler.py#L154 to the compiler]
* Somewhat surprisingly, g-ir-scanner also [https://gitlab.gnome.org/GNOME
/gobject-introspection/blob/master/giscanner/ccompiler.py#L164 appends the
directory to DYLD_LIBRARY_PATH]
* The use of DYLD_LIBRARY_PATH is a somewhat
[https://gitlab.gnome.org/GNOME/gobject-
introspection/commit/3a5c4dc8d776ad2bfe18e47b2ee940cb9f1fc5d4 recent
addition], and the developers seem to believe it be important
I would humbly submit that a solution might be to replace
DYLD_LIBRARY_PATH with DYLD_FALLBACK_LIBRARY_PATH in gobject-
introspection.
--
Ticket URL: <https://trac.macports.org/ticket/56301#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list