[MacPorts] #69549: glib2: Type mismatch, gint64 does not match int64_t

MacPorts noreply at macports.org
Wed Mar 27 13:36:29 UTC 2024


#69549: glib2: Type mismatch, gint64 does not match int64_t
-------------------------------------------------+----------------------
  Reporter:  Dave-Allured                        |      Owner:  mascguy
      Type:  defect                              |     Status:  assigned
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:
      Port:  glib2, glib2-devel, gjs, gjs-devel  |
-------------------------------------------------+----------------------

Comment (by christophecvr):

 Hello. On macbookpro i7 mid 2010 10.13.6 (High Sierra). It does not build.
 With the message info:build ld: symbol(s) not found for architecture
 x86_64. Which says not very much. But I just fetched the gjs package
 1.80.1 and build it with command
 {{{
 meson setup ./build --prefix=/opt/local -Dprofiler=disabled
 -Dskip_dbus_tests=true -Dskip_gtk_tests=true -Dbsymbolic_functions=false
 cd build
 ninja install
 }}}

 as info meson detects self if gobject_introspection is needed . and uses
 it. It tried for the rest with and without the patch LD/ DYLID .Then I
 could trace the reason of that message. It is this :


 {{{
 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
 }}}
 Yes I could do very dirty work around by temporary removing the
 /opt/local/lib/libjpeg.dylib (it is a link to jpeg8 or 9 in
 /opt/local/lib/) And then set a link to the macos
 /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO/Resources/libJPEG.dylib
 in /opt/local/lib . But the macos is a older version and then again will
 give new problems later on. Of course same will happen for libPng libGIF
 and libTIFF . Is there a way to avoid that unneeded mac test
 /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO . The
 builded software is using normally the gnu version of libjpeg and ...

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


More information about the macports-tickets mailing list