[MacPorts] #64264: glib2 fails for ppc64 and ppc+ppc64

MacPorts noreply at macports.org
Wed Dec 22 03:26:05 UTC 2021


#64264: glib2 fails for ppc64 and ppc+ppc64
-------------------------------------+--------------------
 Reporter:  barracuda156             |      Owner:  (none)
     Type:  defect                   |     Status:  new
 Priority:  Normal                   |  Milestone:
Component:  ports                    |    Version:  2.7.1
 Keywords:  PowerPC, Leopard, ppc64  |       Port:  glib2
-------------------------------------+--------------------
 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

 }}}

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


More information about the macports-tickets mailing list