[MacPorts] #69603: port gnome/gjs does not build on macos 10.13.6 with error info:build ld: symbol(s) not found for architecture x86_64

MacPorts noreply at macports.org
Wed Mar 27 15:21:17 UTC 2024


#69603: port gnome/gjs does not build on macos 10.13.6 with error info:build ld:
symbol(s) not found for architecture x86_64
---------------------------+-----------------------
 Reporter:  christophecvr  |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  ports          |    Version:
 Keywords:                 |       Port:  gnome/gjs
---------------------------+-----------------------
 The port gnome/gjs does not build an macbookpro macos 10.13.6 (high
 sierra) max on hardware.
 In works to update totem a port libhandy needs to be build and depends on
 the port gnome/gjs. This port fails to build.
 The real reason I could trace. It is a problem with
 libJPEG,libTIFF,libPng,libGIF i check done by macos which should not be
 done. To trace the problem I tried a direct build without using port using
 debug does not work as it always crashes the pc with any port. So I
 fetched the version of gjs wich the port is using  1.80.1 and the build
 with:

 {{{
 meson setup ./build --prefix=/opt/local -Dprofiler=disabled
 -Dskip_dbus_tests=true -Dskip_gtk_tests=true -Dbsymbolic_functions=false
 cd build
 ninja install
 }}}

 I have a more detailed error


 {{{
 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
 }}}

 Is there not a way to avoid that not needed check of JPEG done by ImageIO.
 This gjs is supposed to use the gnu jpeg versions out of /opt/local/lib .
 This checks needs the libJPEG.dylib build by mac wich is outdated.
 Yes work arounds can be made by deleting the link
 /opt/local/lib/libjpeg.dylib and replacing by a link to


 {{{
 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
 }}}

 Repeat this for libPng libGIF libTIFF but then there will come other
 problems later on. The macos libJPEG is outdated and normally not needed
 at all for this gjs.

 Included main log of port build gjs.
 log from build without the use of port.

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


More information about the macports-tickets mailing list