[MacPorts] #64433: librsvg build failure: Symbol not found: __cg_jpeg_resync_to_restart

MacPorts noreply at macports.org
Thu Jan 13 19:43:23 UTC 2022


#64433: librsvg build failure: Symbol not found: __cg_jpeg_resync_to_restart
-----------------------+---------------------
 Reporter:  linolinco  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.7.1
 Keywords:             |       Port:  librsvg
-----------------------+---------------------
 On macOS 10.14.6:


 {{{
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_librsvg/librsvg/work/librsvg-2.52.4"
 && /usr/bin/make -j4 -w all CFLAGS="-Os -pipe
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch
 x86_64" LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -lobjc
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
 -arch x86_64"
 :info:build Exit code: 2
 :error:build Failed to build librsvg: command execution failed
 :debug:build Error code: CHILDSTATUS 11378 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 }}}


 Trying to sudo the failed make command from the shell gives:

 {{{

 dyld: Symbol not found: __cg_jpeg_resync_to_restart
   Referenced from:
 /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
   Expected in: /opt/local/lib/libJPEG.dylib
  in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
 Command
 '['/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_librsvg/librsvg/work/librsvg-2.52.4
 /tmp-introspectuk0ipna5/Rsvg-2.0', '--introspect-
 dump=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_librsvg/librsvg/work/librsvg-2.52.4
 /tmp-
 introspectuk0ipna5/functions.txt,/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_librsvg/librsvg/work/librsvg-2.52.4
 /tmp-introspectuk0ipna5/dump.xml']' died with <Signals.SIGABRT: 6>.
 }}}


 I'm at a loss here - what port is supposed to supply
 /opt/local/lib/libJPEG.dylib?

 Cheers

-- 
Ticket URL: <https://trac.macports.org/ticket/64433>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list