Opened 13 days ago

#69771 assigned defect

glib2 @2.80.0 +universal links wrong

Reported by: thetrial (alabay) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: legacy-os, sierra Cc:
Port: glib2

Description

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.

Attachments (1)

main.log (6.5 MB) - added by thetrial (alabay) 13 days ago.

Change History (1)

Changed 13 days ago by thetrial (alabay)

Attachment: main.log added
Note: See TracTickets for help on using tickets.