Opened 7 years ago

Closed 7 years ago

#56301 closed defect (fixed)

webkit2-gtk @2.14.2_2+quartz: fails to build under 10.13.4

Reported by: aque (Allan Que) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.4.3
Keywords: Cc: dbevans (David B. Evans), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: webkit2-gtk

Description

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

Attachments (1)

main.log.gz (4.1 MB) - added by aque (Allan Que) 7 years ago.

Change History (8)

Changed 7 years ago by aque (Allan Que)

Attachment: main.log.gz added

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Cc: dbevans added; devans@… removed
Owner: changed from jeremyhu@… to jeremyhu

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

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).

comment:3 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:4 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Following the advice in #39598, setting

configure.args-append \
    -DENABLE_INTROSPECTION=OFF

allowed the port to build.

comment:5 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

As far as I can tell, this problem is:

I would humbly submit that a solution might be to replace DYLD_LIBRARY_PATH with DYLD_FALLBACK_LIBRARY_PATH in gobject-introspection.

comment:6 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

comment:7 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.