Opened 14 months ago
#68223 assigned defect
libsoup-2.4 does not respect Macports arch settings, which breaks build on Rosetta
Reported by: | barracuda156 | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | snowleopard, rosetta | Cc: | dbevans (David B. Evans) |
Port: | libsoup-2.4 |
Description
FAILED: libsoup/Soup-2.4.gir env PKG_CONFIG_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/work/build/meson-uninstalled CC=/usr/bin/gcc-4.2 /opt/local/bin/g-ir-scanner --quiet --no-libtool --namespace=Soup --nsversion=2.4 --warn-all --output libsoup/Soup-2.4.gir --c-include=libsoup/soup.h '-DG_LOG_DOMAIN="libsoup"' -DLIBSOUP_COMPILATION -DLIBSOUP_USE_UNSTABLE_REQUEST_API -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/work/libsoup-2.74.3/libsoup -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/work/build/libsoup -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/work/libsoup-2.74.3/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/work/build/. --filelist=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/work/build/libsoup/libsoup-2.4.1.dylib.p/Soup_2.4_gir_filelist --include=Gio-2.0 --symbol-prefix=soup --identifier-prefix=Soup --pkg-export=libsoup-2.4 --cflags-begin -D_DEFAULT_SOURCE -DHAVE_CONFIG_H -DLIBSOUP_HAVE_GSSAPI=1 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/work/libsoup-2.74.3/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/work/build/. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include/gobject-introspection-1.0 -I/opt/local/include --cflags-end --add-include-path=/opt/local/share/gir-1.0 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/work/build/libsoup --extra-library=soup-2.4 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/work/build/libsoup --library soup-2.4 -L/opt/local/lib -L/opt/local/lib --extra-library=glib-2.0 --extra-library=intl --extra-library=gmodule-2.0 --extra-library=gobject-2.0 --extra-library=gio-2.0 --extra-library=xml2 --extra-library=sqlite3 --extra-library=psl --extra-library=brotlidec --extra-library=z --extra-library=girepository-1.0 --sources-top-dirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/work/libsoup-2.74.3/ --sources-top-dirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/work/build/ ld: warning: in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/work/build/libsoup/libsoup-2.4.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64) ld: warning: in /opt/local/lib/libglib-2.0.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64) ld: warning: in /opt/local/lib/libintl.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64) ld: warning: in /opt/local/lib/libgmodule-2.0.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64) ld: warning: in /opt/local/lib/libgobject-2.0.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64) ld: warning: in /opt/local/lib/libgio-2.0.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64) ld: warning: in /opt/local/lib/libxml2.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64) ld: warning: in /opt/local/lib/libsqlite3.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64) ld: warning: in /opt/local/lib/libpsl.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64) ld: warning: in /opt/local/lib/libbrotlidec.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64) ld: warning: in /opt/local/lib/libz.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64) ld: warning: in /opt/local/lib/libgirepository-1.0.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64) Undefined symbols: "_g_type_name", referenced from: _dump_properties in Soup-2.4.o _dump_signals in Soup-2.4.o . . . "_soup_content_decoder_get_type", referenced from: _GI_GET_TYPE_FUNCS_ in Soup-2.4.o "_soup_cookie_get_type", referenced from: _GI_GET_TYPE_FUNCS_ in Soup-2.4.o ld: symbol(s) not found collect2: ld returned 1 exit status linking of temporary binary failed: Command '['/usr/bin/gcc-4.2', '-o', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/work/build/tmp-introspect9uzfi71p/Soup-2.4', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/work/build/tmp-introspect9uzfi71p/Soup-2.4.o', '-L.', '-Wl,-rpath,.', '-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/work/build/libsoup', '-Wl,-rpath,/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/work/build/libsoup', '-lsoup-2.4', '-lsoup-2.4', '-lglib-2.0', '-lintl', '-lgmodule-2.0', '-lgobject-2.0', '-lgio-2.0', '-lxml2', '-lsqlite3', '-lpsl', '-lbrotlidec', '-lz', '-lgirepository-1.0', '-lgio-2.0', '-lgobject-2.0', '-lgmodule-2.0', '-lglib-2.0', '-lintl']' returned non-zero exit status 1. ninja: build stopped: subcommand failed. Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/work/build" && /opt/local/bin/ninja -j8 -v Exit code: 1 Error: Failed to build libsoup-2.4: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_libsoup-2.4/libsoup-2.4/main.log for details. Error: Problem while installing libsoup-2.4
Attachments (1)
Note: See
TracTickets for help on using
tickets.