[MacPorts] #69771: glib2 @2.80.0 +universal links wrong

MacPorts noreply at macports.org
Thu Apr 18 04:45:09 UTC 2024


#69771: glib2 @2.80.0 +universal links wrong
-------------------------------+----------------------
 Reporter:  thetrial           |      Owner:  mascguy
     Type:  defect             |     Status:  assigned
 Priority:  Normal             |  Milestone:
Component:  ports              |    Version:  2.9.3
 Keywords:  legacy-os, sierra  |       Port:  glib2
-------------------------------+----------------------
 Lots of {{{Unknown namespace for symbol}}}, when using (having to use)
 variant {{{+universal}}}. I’ll add the logfile. I’m under 10.12.6.

 {{{
 ld: warning: ignoring file
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build-i386/glib/libglib-2.0.dylib,
 file was built for i386 which is not the architecture being linked
 (x86_64):
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build-i386/glib/libglib-2.0.dylib
 ld: warning: ignoring file
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build-i386/gobject/libgobject-2.0.dylib,
 file was built for i386 which is not the architecture being linked
 (x86_64):
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build-i386/gobject/libgobject-2.0.dylib
 ld: warning: ignoring file
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build-i386/gio/libgio-2.0.dylib,
 file was built for i386 which is not the architecture being linked
 (x86_64):
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build-i386/gio/libgio-2.0.dylib
 ld: warning: ignoring file
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build-i386/gmodule/libgmodule-2.0.dylib,
 file was built for i386 which is not the architecture being linked
 (x86_64):
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build-i386/gmodule/libgmodule-2.0.dylib
 }}}

 It's building i386 (as requested by asking for the universal variant),
 then trying to link x86_64 which of course fails. It should be linking for
 i386 as well.

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


More information about the macports-tickets mailing list