Opened 3 years ago

Last modified 2 years ago

#64264 closed defect

glib2 fails for PowerPC (ppc, ppc64 and universal) — at Version 1

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: PowerPC, Leopard, ppc64 Cc:
Port: glib2

Description (last modified by barracuda156)

This is for ppc64 only:

[674/1023] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build/gio/glib-compile-resources --target=gio/tests/test.gresource --sourcedir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/glib-2.62.6/gio/tests --sourcedir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build/gio/tests ../glib-2.62.6/gio/tests/test.gresource.xml
FAILED: gio/tests/test.gresource 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build/gio/glib-compile-resources --target=gio/tests/test.gresource --sourcedir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/glib-2.62.6/gio/tests --sourcedir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build/gio/tests ../glib-2.62.6/gio/tests/test.gresource.xml
dyld: Symbol not found: _UCNV_TO_U_CALLBACK_STOP_67
  Referenced from: /opt/local/lib/libxml2.2.dylib
  Expected in: dynamic lookup

../glib-2.62.6/gio/tests/test.gresource.xml: Child process killed by signal 5.
[675/1023] /usr/bin/gcc-4.2 -Igio/tests/libresourceplugin.dylib.p -Igio/tests -I../glib-2.62.6/gio/tests -I. -I../glib-2.62.6 -Iglib -I../glib-2.62.6/glib -Igmodule -I../glib-2.62.6/gmodule -Igobject -I../glib-2.62.6/gobject -Igio -I../glib-2.62.6/gio -I/opt/local/include -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc64 -MD -MQ gio/tests/libresourceplugin.dylib.p/resourceplugin.c.o -MF gio/tests/libresourceplugin.dylib.p/resourceplugin.c.o.d -o gio/tests/libresourceplugin.dylib.p/resourceplugin.c.o -c ../glib-2.62.6/gio/tests/resourceplugin.c
[676/1023] /usr/bin/gcc-4.2 -Igio/gdbus.p -Igio -I../glib-2.62.6/gio -Igmodule -I../glib-2.62.6/gmodule -I. -I../glib-2.62.6 -Iglib -I../glib-2.62.6/glib -Igobject -I../glib-2.62.6/gobject -I/opt/local/include -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc64 '-DG_LOG_DOMAIN="GLib-GIO"' -DGIO_COMPILATION '-DGIO_MODULE_DIR="/opt/local/lib/gio/modules"' -fvisibility=hidden -MD -MQ gio/gdbus.p/gdbus-tool.c.o -MF gio/gdbus.p/gdbus-tool.c.o.d -o gio/gdbus.p/gdbus-tool.c.o -c ../glib-2.62.6/gio/gdbus-tool.c
[677/1023] /usr/bin/gcc-4.2 -Igio/tests/gdbus-object-manager-example/libgdbus-example-objectmanager.dylib.p -Igio/tests/gdbus-object-manager-example -I../glib-2.62.6/gio/tests/gdbus-object-manager-example -I. -I../glib-2.62.6 -Iglib -I../glib-2.62.6/glib -Igmodule -I../glib-2.62.6/gmodule -Igobject -I../glib-2.62.6/gobject -Igio -I../glib-2.62.6/gio -I/opt/local/include -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc64 '-DG_LOG_DOMAIN="GLib-GIO"' '-DTEST_SERVICES="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build/gio/tests/services"' '-DGLIB_MKENUMS="gobject/glib-mkenums"' '-DGLIB_COMPILE_SCHEMAS="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build/gio/glib-compile-schemas"' -UG_DISABLE_ASSERT -MD -MQ gio/tests/gdbus-object-manager-example/libgdbus-example-objectmanager.dylib.p/meson-generated_.._objectmanager-gen.c.o -MF gio/tests/gdbus-object-manager-example/libgdbus-example-objectmanager.dylib.p/meson-generated_.._objectmanager-gen.c.o.d -o gio/tests/gdbus-object-manager-example/libgdbus-example-objectmanager.dylib.p/meson-generated_.._objectmanager-gen.c.o -c gio/tests/gdbus-object-manager-example/objectmanager-gen.c
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_devel_glib2/glib2/work/build" && /opt/local/bin/ninja -j4 --verbose -v 
Exit code: 1
Error: Failed to build glib2: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port glib2 failed

Universal build fails much earlier:

--->  Configuring glib2
--->  Configuring glib2 for architecture ppc64
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/glib-2.62.6-ppc64" && /opt/local/bin/meson --prefix=/opt/local -Ddefault_library=both -Dwarning_level=0 -Ddtrace=false -Dappinfo_backend=generic /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/glib-2.62.6-ppc64 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build-ppc64 --cross-file=ppc64-darwin 
Could not find any valid candidate for cross files: ppc64-darwin

ERROR: Cannot find specified cross file: ppc64-darwin
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/glib-2.62.6-ppc64" && /opt/local/bin/meson --prefix=/opt/local -Ddefault_library=both -Dwarning_level=0 -Ddtrace=false -Dappinfo_backend=generic /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/glib-2.62.6-ppc64 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build-ppc64 --cross-file=ppc64-darwin 
Exit code: 1
Error: Failed to configure glib2: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port glib2 failed
36-225:gcc-7.5.0 svacchanda$ sudo port -v install glib2 -universal
Error: Requested variants "+x11" do not match those the build was started with: "+universal+x11".
Error: Please use the same variants again, or run 'port clean glib2' first to remove the existing partially completed build.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port glib2 failed

And for ppc-only:

[663/1023] /usr/bin/gcc-4.2  -o gio/gio gio/gio.p/gio-tool.c.o gio/gio.p/gio-tool-cat.c.o gio/gio.p/gio-tool-copy.c.o gio/gio.p/gio-tool-info.c.o gio/gio.p/gio-tool-list.c.o gio/gio.p/gio-tool-mime.c.o gio/gio.p/gio-tool-mkdir.c.o gio/gio.p/gio-tool-monitor.c.o gio/gio.p/gio-tool-mount.c.o gio/gio.p/gio-tool-move.c.o gio/gio.p/gio-tool-open.c.o gio/gio.p/gio-tool-rename.c.o gio/gio.p/gio-tool-remove.c.o gio/gio.p/gio-tool-save.c.o gio/gio.p/gio-tool-set.c.o gio/gio.p/gio-tool-trash.c.o gio/gio.p/gio-tool-tree.c.o -L/opt/local/lib -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -Wl,-framework,CoreFoundation -Wl,-framework,Carbon -Wl,-framework,Foundation -Wl,-framework,AppKit -Wl,-headerpad_max_install_names -lresolv -bind_at_load -arch ppc -pipe -Os -Wno-deprecated-declarations -arch ppc -Wl,-rpath,@loader_path/ -Wl,-rpath,@loader_path/../glib -Wl,-rpath,@loader_path/../gobject -Wl,-rpath,@loader_path/../gmodule gio/libgio-2.0.0.dylib gmodule/libgmodule-2.0.0.dylib glib/libglib-2.0.0.dylib gobject/libgobject-2.0.0.dylib -lintl
[664/1023] /usr/bin/gcc-4.2  -o gio/gresource gio/gresource.p/gresource-tool.c.o -L/opt/local/lib -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -Wl,-framework,CoreFoundation -Wl,-framework,Carbon -Wl,-framework,Foundation -Wl,-framework,AppKit -Wl,-headerpad_max_install_names -lresolv -bind_at_load -arch ppc -pipe -Os -Wno-deprecated-declarations -arch ppc -Wl,-rpath,@loader_path/ -Wl,-rpath,@loader_path/../glib -Wl,-rpath,@loader_path/../gobject -Wl,-rpath,@loader_path/../gmodule gio/libgio-2.0.0.dylib gmodule/libgmodule-2.0.0.dylib glib/libglib-2.0.0.dylib gobject/libgobject-2.0.0.dylib -lintl
[665/1023] /usr/bin/gcc-4.2 -Igio/gsettings.p -Igio -I../glib-2.62.6/gio -Igmodule -I../glib-2.62.6/gmodule -I. -I../glib-2.62.6 -Iglib -I../glib-2.62.6/glib -Igobject -I../glib-2.62.6/gobject -I/opt/local/include -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc '-DG_LOG_DOMAIN="GLib-GIO"' -DGIO_COMPILATION '-DGIO_MODULE_DIR="/opt/local/lib/gio/modules"' -fvisibility=hidden -MD -MQ gio/gsettings.p/gsettings-tool.c.o -MF gio/gsettings.p/gsettings-tool.c.o.d -o gio/gsettings.p/gsettings-tool.c.o -c ../glib-2.62.6/gio/gsettings-tool.c
[666/1023] /usr/bin/gcc-4.2 -Igio/glib-compile-schemas.p -Igio -I../glib-2.62.6/gio -Igmodule -I../glib-2.62.6/gmodule -I. -I../glib-2.62.6 -Iglib -I../glib-2.62.6/glib -Igobject -I../glib-2.62.6/gobject -I/opt/local/include -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc -MD -MQ gio/glib-compile-schemas.p/glib-compile-schemas.c.o -MF gio/glib-compile-schemas.p/glib-compile-schemas.c.o.d -o gio/glib-compile-schemas.p/glib-compile-schemas.c.o -c ../glib-2.62.6/gio/glib-compile-schemas.c
[667/1023] /usr/bin/gcc-4.2  -o gio/gio-querymodules gio/gio-querymodules.p/gio-querymodules.c.o gio/gio-querymodules.p/giomodule-priv.c.o -L/opt/local/lib -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -Wl,-framework,CoreFoundation -Wl,-framework,Carbon -Wl,-framework,Foundation -Wl,-framework,AppKit -Wl,-headerpad_max_install_names -lresolv -bind_at_load -arch ppc -pipe -Os -Wno-deprecated-declarations -arch ppc -Wl,-rpath,@loader_path/ -Wl,-rpath,@loader_path/../glib -Wl,-rpath,@loader_path/../gobject -Wl,-rpath,@loader_path/../gmodule gio/libgio-2.0.0.dylib gmodule/libgmodule-2.0.0.dylib glib/libglib-2.0.0.dylib gobject/libgobject-2.0.0.dylib -lintl
[668/1023] /usr/bin/gcc-4.2  -o gio/glib-compile-schemas gio/glib-compile-schemas.p/gvdb_gvdb-builder.c.o gio/glib-compile-schemas.p/glib-compile-schemas.c.o -L/opt/local/lib -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -Wl,-framework,CoreFoundation -Wl,-framework,Carbon -Wl,-framework,Foundation -Wl,-framework,AppKit -Wl,-headerpad_max_install_names -lresolv -bind_at_load -arch ppc -pipe -Os -Wno-deprecated-declarations -arch ppc -Wl,-rpath,@loader_path/ -Wl,-rpath,@loader_path/../glib -Wl,-rpath,@loader_path/../gobject -Wl,-rpath,@loader_path/../gmodule gio/libgio-2.0.0.dylib gmodule/libgmodule-2.0.0.dylib glib/libglib-2.0.0.dylib gobject/libgobject-2.0.0.dylib -lintl
[669/1023] /usr/bin/gcc-4.2  -o gio/gsettings gio/gsettings.p/gsettings-tool.c.o -L/opt/local/lib -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -Wl,-framework,CoreFoundation -Wl,-framework,Carbon -Wl,-framework,Foundation -Wl,-framework,AppKit -Wl,-headerpad_max_install_names -lresolv -bind_at_load -arch ppc -pipe -Os -Wno-deprecated-declarations -arch ppc -Wl,-rpath,@loader_path/ -Wl,-rpath,@loader_path/../glib -Wl,-rpath,@loader_path/../gobject -Wl,-rpath,@loader_path/../gmodule gio/libgio-2.0.0.dylib gmodule/libgmodule-2.0.0.dylib glib/libglib-2.0.0.dylib gobject/libgobject-2.0.0.dylib -lintl
[670/1023] /usr/bin/gcc-4.2 -Igio/glib-compile-resources.p -Igio -I../glib-2.62.6/gio -Igmodule -I../glib-2.62.6/gmodule -I. -I../glib-2.62.6 -Iglib -I../glib-2.62.6/glib -Igobject -I../glib-2.62.6/gobject -I/opt/local/include -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc '-DG_LOG_DOMAIN="GLib-GIO"' -DGIO_COMPILATION '-DGIO_MODULE_DIR="/opt/local/lib/gio/modules"' -fvisibility=hidden -MD -MQ gio/glib-compile-resources.p/glib-compile-resources.c.o -MF gio/glib-compile-resources.p/glib-compile-resources.c.o.d -o gio/glib-compile-resources.p/glib-compile-resources.c.o -c ../glib-2.62.6/gio/glib-compile-resources.c
../glib-2.62.6/gio/glib-compile-resources.c: In function ‘parse_resource_file’:
../glib-2.62.6/gio/glib-compile-resources.c:596: warning: dereferencing type-punned pointer will break strict-aliasing rules
../glib-2.62.6/gio/glib-compile-resources.c:596: warning: dereferencing type-punned pointer will break strict-aliasing rules
../glib-2.62.6/gio/glib-compile-resources.c: In function ‘main’:
../glib-2.62.6/gio/glib-compile-resources.c:1065: warning: dereferencing type-punned pointer will break strict-aliasing rules
[671/1023] /usr/bin/gcc-4.2  -o gio/glib-compile-resources gio/glib-compile-resources.p/gvdb_gvdb-builder.c.o gio/glib-compile-resources.p/glib-compile-resources.c.o -L/opt/local/lib -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -Wl,-framework,CoreFoundation -Wl,-framework,Carbon -Wl,-framework,Foundation -Wl,-framework,AppKit -Wl,-headerpad_max_install_names -lresolv -bind_at_load -arch ppc -pipe -Os -Wno-deprecated-declarations -arch ppc -Wl,-rpath,@loader_path/ -Wl,-rpath,@loader_path/../glib -Wl,-rpath,@loader_path/../gobject -Wl,-rpath,@loader_path/../gmodule gio/libgio-2.0.0.dylib gmodule/libgmodule-2.0.0.dylib glib/libglib-2.0.0.dylib gobject/libgobject-2.0.0.dylib -lintl
[672/1023] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build/gio/glib-compile-resources --target=gio/tests/test_resources2.c --sourcedir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/glib-2.62.6/gio/tests --generate --c-name _g_test2 --manual-register ../glib-2.62.6/gio/tests/test3.gresource.xml
[673/1023] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build/gio/glib-compile-resources --target=gio/tests/plugin-resources.c --sourcedir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/glib-2.62.6/gio/tests --generate-source --c-name _g_plugin ../glib-2.62.6/gio/tests/test4.gresource.xml
[674/1023] /usr/bin/gcc-4.2 -Igio/tests/gdbus-overflow.p -Igio/tests -I../glib-2.62.6/gio/tests -I. -I../glib-2.62.6 -Iglib -I../glib-2.62.6/glib -Igmodule -I../glib-2.62.6/gmodule -Igobject -I../glib-2.62.6/gobject -Igio -I../glib-2.62.6/gio -I/opt/local/include -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc '-DG_LOG_DOMAIN="GLib-GIO"' '-DTEST_SERVICES="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build/gio/tests/services"' '-DGLIB_MKENUMS="gobject/glib-mkenums"' '-DGLIB_COMPILE_SCHEMAS="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build/gio/glib-compile-schemas"' -UG_DISABLE_ASSERT -MD -MQ gio/tests/gdbus-overflow.p/gdbus-overflow.c.o -MF gio/tests/gdbus-overflow.p/gdbus-overflow.c.o.d -o gio/tests/gdbus-overflow.p/gdbus-overflow.c.o -c ../glib-2.62.6/gio/tests/gdbus-overflow.c
[675/1023] /usr/bin/gcc-4.2 -Igio/tests/libresourceplugin.dylib.p -Igio/tests -I../glib-2.62.6/gio/tests -I. -I../glib-2.62.6 -Iglib -I../glib-2.62.6/glib -Igmodule -I../glib-2.62.6/gmodule -Igobject -I../glib-2.62.6/gobject -Igio -I../glib-2.62.6/gio -I/opt/local/include -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc -MD -MQ gio/tests/libresourceplugin.dylib.p/meson-generated_.._plugin-resources.c.o -MF gio/tests/libresourceplugin.dylib.p/meson-generated_.._plugin-resources.c.o.d -o gio/tests/libresourceplugin.dylib.p/meson-generated_.._plugin-resources.c.o -c gio/tests/plugin-resources.c
[676/1023] /usr/bin/gcc-4.2  -o gio/tests/gdbus-overflow gio/tests/gdbus-overflow.p/gdbus-overflow.c.o -L/opt/local/lib -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -Wl,-framework,CoreFoundation -Wl,-framework,Carbon -Wl,-framework,Foundation -Wl,-framework,AppKit -Wl,-headerpad_max_install_names -lresolv -bind_at_load -arch ppc -pipe -Os -Wno-deprecated-declarations -arch ppc -Wl,-rpath,@loader_path/../../glib -Wl,-rpath,@loader_path/../../gmodule -Wl,-rpath,@loader_path/../../gobject -Wl,-rpath,@loader_path/.. glib/libglib-2.0.0.dylib gmodule/libgmodule-2.0.0.dylib gobject/libgobject-2.0.0.dylib gio/libgio-2.0.0.dylib -lintl
[677/1023] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build/gio/glib-compile-resources --target=gio/tests/test.gresource --sourcedir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/glib-2.62.6/gio/tests --sourcedir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build/gio/tests ../glib-2.62.6/gio/tests/test.gresource.xml
FAILED: gio/tests/test.gresource 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build/gio/glib-compile-resources --target=gio/tests/test.gresource --sourcedir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/glib-2.62.6/gio/tests --sourcedir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build/gio/tests ../glib-2.62.6/gio/tests/test.gresource.xml
dyld: Symbol not found: _UCNV_TO_U_CALLBACK_STOP_67
  Referenced from: /opt/local/lib/libxml2.2.dylib
  Expected in: dynamic lookup

../glib-2.62.6/gio/tests/test.gresource.xml: Child process killed by signal 5.
[678/1023] /usr/bin/gcc-4.2 -Igio/tests/libresourceplugin.dylib.p -Igio/tests -I../glib-2.62.6/gio/tests -I. -I../glib-2.62.6 -Iglib -I../glib-2.62.6/glib -Igmodule -I../glib-2.62.6/gmodule -Igobject -I../glib-2.62.6/gobject -Igio -I../glib-2.62.6/gio -I/opt/local/include -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc -MD -MQ gio/tests/libresourceplugin.dylib.p/resourceplugin.c.o -MF gio/tests/libresourceplugin.dylib.p/resourceplugin.c.o.d -o gio/tests/libresourceplugin.dylib.p/resourceplugin.c.o -c ../glib-2.62.6/gio/tests/resourceplugin.c
[679/1023] /usr/bin/gcc-4.2 -Igio/gdbus.p -Igio -I../glib-2.62.6/gio -Igmodule -I../glib-2.62.6/gmodule -I. -I../glib-2.62.6 -Iglib -I../glib-2.62.6/glib -Igobject -I../glib-2.62.6/gobject -I/opt/local/include -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc '-DG_LOG_DOMAIN="GLib-GIO"' -DGIO_COMPILATION '-DGIO_MODULE_DIR="/opt/local/lib/gio/modules"' -fvisibility=hidden -MD -MQ gio/gdbus.p/gdbus-tool.c.o -MF gio/gdbus.p/gdbus-tool.c.o.d -o gio/gdbus.p/gdbus-tool.c.o -c ../glib-2.62.6/gio/gdbus-tool.c
[680/1023] /usr/bin/gcc-4.2 -Igio/tests/gdbus-object-manager-example/libgdbus-example-objectmanager.dylib.p -Igio/tests/gdbus-object-manager-example -I../glib-2.62.6/gio/tests/gdbus-object-manager-example -I. -I../glib-2.62.6 -Iglib -I../glib-2.62.6/glib -Igmodule -I../glib-2.62.6/gmodule -Igobject -I../glib-2.62.6/gobject -Igio -I../glib-2.62.6/gio -I/opt/local/include -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc '-DG_LOG_DOMAIN="GLib-GIO"' '-DTEST_SERVICES="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build/gio/tests/services"' '-DGLIB_MKENUMS="gobject/glib-mkenums"' '-DGLIB_COMPILE_SCHEMAS="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build/gio/glib-compile-schemas"' -UG_DISABLE_ASSERT -MD -MQ gio/tests/gdbus-object-manager-example/libgdbus-example-objectmanager.dylib.p/meson-generated_.._objectmanager-gen.c.o -MF gio/tests/gdbus-object-manager-example/libgdbus-example-objectmanager.dylib.p/meson-generated_.._objectmanager-gen.c.o.d -o gio/tests/gdbus-object-manager-example/libgdbus-example-objectmanager.dylib.p/meson-generated_.._objectmanager-gen.c.o -c gio/tests/gdbus-object-manager-example/objectmanager-gen.c
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_devel_glib2/glib2/work/build" && /opt/local/bin/ninja -j4 --verbose -v 
Exit code: 1
Error: Failed to build glib2: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port glib2 failed

UPD. It builds for ppc, but only after libxml2+universal is deactivated and ppc-only variant is activated.

Change History (1)

comment:1 Changed 3 years ago by barracuda156

Description: modified (diff)
Summary: glib2 fails for ppc64 and ppc+ppc64glib2 fails for PowerPC (ppc, ppc64 and universal)
Note: See TracTickets for help on using tickets.