[MacPorts] #56301: webkit2-gtk @2.14.2_2+quartz: fails to build under 10.13.4

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #56301: webkit2-gtk @2.14.2_2+quartz: fails to build under 10.13.4

MacPorts
#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
 Keywords:          |       Port:  webkit2-gtk
--------------------+-------------------------
 Getting the following `Symbol not found` error. I ran the build again
 after a `sudo port clean webkit2-gtk` and got the same result. This is
 with {{{macOS 10.13.4 17E199 Xcode 9.3 9E145}}}.

 {{{
 :info:build dyld: Symbol not found: __cg_jpeg_resync_to_restart
 :info:build   Referenced from:
 /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
 :info:build   Expected in: /opt/local/lib/libjpeg.9.dylib
 :info:build  in
 /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
 :info:build Command
 '[u'/opt/local/var/macports/build/_opt_local_var_macports_sources_github
 .com_macports-ports_www_webkit2-gtk/webkit2-gtk/work/build/Source/WebKit2
 /tmp-introspectaVfwn1/WebKit2-4.0', u'--introspect-
 dump=/opt/local/var/macports/build/_opt_local_var_macports_sources_github
 .com_macports-ports_www_webkit2-gtk/webkit2-gtk/work/build/Source/WebKit2
 /tmp-
 introspectaVfwn1/functions.txt,/opt/local/var/macports/build/_opt_local_var_macports_sources_github
 .com_macports-ports_www_webkit2-gtk/webkit2-gtk/work/build/Source/WebKit2
 /tmp-introspectaVfwn1/dump.xml']' returned non-zero exit status -6
 :info:build make[2]: *** [WebKit2-4.0.gir] Error 1
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/56301>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56301: webkit2-gtk @2.14.2_2+quartz: fails to build under 10.13.4

MacPorts
#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  |
--------------------------+------------------------
Changes (by aque):

 * Attachment "main.log.gz" added.


--
Ticket URL: <https://trac.macports.org/ticket/56301>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56301: webkit2-gtk @2.14.2_2+quartz: fails to build under 10.13.4

MacPorts
In reply to this post by MacPorts
#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  |
--------------------------+----------------------
Changes (by mf2k):

 * owner:  jeremyhu@… => jeremyhu
 * cc: devans@… (removed)
 * cc: dbevans (added)


--
Ticket URL: <https://trac.macports.org/ticket/56301#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56301: webkit2-gtk @2.14.2_2+quartz: fails to build under 10.13.4

MacPorts
In reply to this post by MacPorts
#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 ryandesign):

 We've seen this `dyld: Symbol not found: __cg_jpeg_resync_to_restart`
 error many times before (e.g. #36621), but not with webkit2-gtk, and it's
 usually been because `DYLD_LIBRARY_PATH` was set to an incorrect value. I
 see two instances of `DYLD_LIBRARY_PATH` being set in the log, but the
 value it's being set to looks ok to me (specifically, it doesn't contain
 /opt/local/lib).

--
Ticket URL: <https://trac.macports.org/ticket/56301#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56301: webkit2-gtk @2.14.2_2+quartz: fails to build under 10.13.4

MacPorts
In reply to this post by MacPorts
#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):

 Following the advice in #39598, setting
 {{{
 configure.args-append \
     -DENABLE_INTROSPECTION=OFF
 }}}
 allowed the port to build.

--
Ticket URL: <https://trac.macports.org/ticket/56301#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56301: webkit2-gtk @2.14.2_2+quartz: fails to build under 10.13.4

MacPorts
In reply to this post by MacPorts
#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
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56301: webkit2-gtk @2.14.2_2+quartz: fails to build under 10.13.4

MacPorts
In reply to this post by MacPorts
#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):

 Upstream Issue Report: https://gitlab.gnome.org/GNOME/gobject-
 introspection/issues/205

--
Ticket URL: <https://trac.macports.org/ticket/56301#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS