Opened 4 years ago
Closed 4 years ago
#61269 closed defect (fixed)
gdk-pixbuf2 @2.40.0 does not build on PPC Tiger, Mac OS X 10.4.11, because
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | ballapete (Peter "Pete" Dyballa) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.3 |
Keywords: | tiger powerpc legacy-os | Cc: | devans@…, rlhamil |
Port: | gdk-pixbuf2 |
Description
Could be there are two errors, the known one with illegal -rpath
and a new one with nm
:
[29/178] /opt/local/bin/gcc-apple-4.2 -Igdk-pixbuf/libpixbufloader-png.so.p -Igdk-pixbuf -I../gdk-pixbuf-2.40.0/gdk-pixbuf -I. -I../gdk-pixbuf-2.40.0 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pipe -Wall -Winvalid-pch -std=c99 -O2 -g -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DHAVE_CONFIG_H=1 -Os -arch ppc -D_REENTRANT -Wpointer-arith -Wformat=2 -Wstrict-prototypes -Wnested-externs -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wcast-align -Wmissing-noreturn -Wmissing-format-attribute -fno-strict-aliasing -Wno-uninitialized -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=empty-body -fvisibility=hidden -DG_LOG_STRUCTURED=1 '-DG_LOG_DOMAIN="GdkPixbuf"' -DGDK_PIXBUF_COMPILATION '-DGDK_PIXBUF_PREFIX="/opt/local"' '-DGDK_PIXBUF_LOCALEDIR="/opt/local/share/locale"' '-DGDK_PIXBUF_LIBDIR="/opt/local/lib"' '-DGDK_PIXBUF_BINARY_VERSION="2.10.0"' -DGDK_PIXBUF_ENABLE_BACKEND '-DPIXBUF_LIBDIR="/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders"' '-DBUILT_MODULES_DIR="/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_gdk-pixbuf2/gdk-pixbuf2/work/build/gdk-pixbuf"' -MD -MQ gdk-pixbuf/libpixbufloader-png.so.p/io-png.c.o -MF gdk-pixbuf/libpixbufloader-png.so.p/io-png.c.o.d -o gdk-pixbuf/libpixbufloader-png.so.p/io-png.c.o -c ../gdk-pixbuf-2.40.0/gdk-pixbuf/io-png.c ../gdk-pixbuf-2.40.0/gdk-pixbuf/io-png.c: In function 'fill_info': ../gdk-pixbuf-2.40.0/gdk-pixbuf/io-png.c:1238: warning: initialization discards qualifiers from pointer target type ../gdk-pixbuf-2.40.0/gdk-pixbuf/io-png.c:1250: warning: assignment discards qualifiers from pointer target type ../gdk-pixbuf-2.40.0/gdk-pixbuf/io-png.c:1252: warning: assignment discards qualifiers from pointer target type ../gdk-pixbuf-2.40.0/gdk-pixbuf/io-png.c:1256: warning: assignment discards qualifiers from pointer target type ../gdk-pixbuf-2.40.0/gdk-pixbuf/io-png.c: In function 'png_error_callback': ../gdk-pixbuf-2.40.0/gdk-pixbuf/io-png.c:824: warning: function might be possible candidate for attribute 'noreturn' ../gdk-pixbuf-2.40.0/gdk-pixbuf/io-png.c: In function 'png_simple_error_callback': ../gdk-pixbuf-2.40.0/gdk-pixbuf/io-png.c:179: warning: function might be possible candidate for attribute 'noreturn' [30/178] /opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/meson --internal symbolextractor /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_gdk-pixbuf2/gdk-pixbuf2/work/build gdk-pixbuf/libgdk_pixbuf-2.0.0.dylib gdk-pixbuf/libgdk_pixbuf-2.0.0.dylib gdk-pixbuf/libgdk_pixbuf-2.0.0.dylib.p/libgdk_pixbuf-2.0.0.dylib.symbols WARNING: 'nm' does not work. Relinking will always happen on source changes. error: nm: invalid argument -- Usage: nm [-agnopruUmxjlfAP[s segname sectname] [-] [-t format] [[-arch <arch_flag>] ...] [file ...] [31/178] /opt/local/bin/gcc-apple-4.2 -o gdk-pixbuf/libpixbufloader-png.so gdk-pixbuf/libpixbufloader-png.so.p/io-png.c.o -L/opt/local/lib -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,dynamic_lookup -bundle -Wl,-undefined,dynamic_lookup -pipe -Os -arch ppc -Wl,-headerpad_max_install_names -lintl -arch ppc gdk-pixbuf/libgdk_pixbuf-2.0.0.dylib -L/opt/local/lib -lpng16 -ljpeg -L/opt/local/lib -ltiff -ljasper -lm -Wl,-framework -Wl,CoreFoundation -L/opt/local/lib -lglib-2.0 -lintl -Wl,-framework -Wl,CoreFoundation -L/opt/local/lib -lgobject-2.0 -lglib-2.0 -lintl -Wl,-framework -Wl,CoreFoundation -L/opt/local/lib -lgmodule-2.0 -lglib-2.0 -lintl -Wl,-framework -Wl,CoreFoundation -L/opt/local/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -Wl,-rpath,@loader_path/ FAILED: gdk-pixbuf/libpixbufloader-png.so /opt/local/bin/gcc-apple-4.2 -o gdk-pixbuf/libpixbufloader-png.so gdk-pixbuf/libpixbufloader-png.so.p/io-png.c.o -L/opt/local/lib -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,dynamic_lookup -bundle -Wl,-undefined,dynamic_lookup -pipe -Os -arch ppc -Wl,-headerpad_max_install_names -lintl -arch ppc gdk-pixbuf/libgdk_pixbuf-2.0.0.dylib -L/opt/local/lib -lpng16 -ljpeg -L/opt/local/lib -ltiff -ljasper -lm -Wl,-framework -Wl,CoreFoundation -L/opt/local/lib -lglib-2.0 -lintl -Wl,-framework -Wl,CoreFoundation -L/opt/local/lib -lgobject-2.0 -lglib-2.0 -lintl -Wl,-framework -Wl,CoreFoundation -L/opt/local/lib -lgmodule-2.0 -lglib-2.0 -lintl -Wl,-framework -Wl,CoreFoundation -L/opt/local/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -Wl,-rpath,@loader_path/ ld: -rpath can only be used when targeting Mac OS X 10.5 or later collect2: ld returned 1 exit status [32/178] /opt/local/bin/g-ir-scanner --no-libtool --namespace=GdkPixbuf --nsversion=2.0 --warn-all --output gdk-pixbuf/GdkPixbuf-2.0.gir --c-include=gdk-pixbuf/gdk-pixbuf.h --quiet -DGDK_PIXBUF_COMPILATION -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_gdk-pixbuf2/gdk-pixbuf2/work/gdk-pixbuf-2.40.0/gdk-pixbuf -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_gdk-pixbuf2/gdk-pixbuf2/work/build/gdk-pixbuf -I./. -I../gdk-pixbuf-2.40.0/. -I./gdk-pixbuf/pixops -I../gdk-pixbuf-2.40.0/gdk-pixbuf/pixops --filelist=/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_gdk-pixbuf2/gdk-pixbuf2/work/build/gdk-pixbuf/libgdk_pixbuf-2.0.0.dylib.p/GdkPixbuf_2.0_gir_filelist --include=GModule-2.0 --include=Gio-2.0 --symbol-prefix=gdk --identifier-prefix=Gdk --pkg-export=gdk-pixbuf-2.0 --cflags-begin -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DHAVE_CONFIG_H=1 -I./. -I../gdk-pixbuf-2.40.0/. -I./gdk-pixbuf/pixops -I../gdk-pixbuf-2.40.0/gdk-pixbuf/pixops -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -D_REENTRANT -I/opt/local/include/gobject-introspection-1.0 -I/opt/local/include --cflags-end --add-include-path=/opt/local/share/gir-1.0 --library gdk_pixbuf-2.0 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_gdk-pixbuf2/gdk-pixbuf2/work/build/gdk-pixbuf -L/opt/local/lib --extra-library=m -L/opt/local/lib --extra-library=glib-2.0 --extra-library=intl --extra-library=gobject-2.0 --extra-library=gmodule-2.0 --extra-library=gio-2.0 --extra-library=girepository-1.0 --sources-top-dirs /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_gdk-pixbuf2/gdk-pixbuf2/work/gdk-pixbuf-2.40.0/subprojects/ --sources-top-dirs /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_gdk-pixbuf2/gdk-pixbuf2/work/build/subprojects/ ninja: build stopped: subcommand failed. Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_gdk-pixbuf2/gdk-pixbuf2/work/build" && /opt/local/bin/ninja -v
Attachments (1)
Change History (9)
Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
comment:1 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
Owner: | set to ballapete |
---|---|
Status: | new → assigned |
comment:2 Changed 4 years ago by mf2k (Frank Schima)
Keywords: | powerpc legacy-os added; ppc removed |
---|
comment:3 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
With an updated and adapted version of Meson
the build succeeded, meson test
shows only few and possibly expected failures (some of the test images are definitely not OK). For all, build, installation, and test, it is necessary to set DYLD_LIBRARY_PATH
.
comment:4 Changed 4 years ago by rlhamil
I got what looks like the same error trying to build on Snow Leopard (10.6.8) +universal+x11
comment:5 Changed 4 years ago by rlhamil
Cc: | rlhamil added |
---|
comment:6 Changed 4 years ago by kencu (Ken)
gobject-introspection was recently broken and more recently fixed. If you update your portfiles and pull in the new gobject-introspection you should be fine now.
comment:7 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
Meanwhile gobject-introspection @1.60.2_6
and gdk-pixbuf2 @2.42.2_2
are installed…
comment:8 Changed 4 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
thanks for report
Note: See
TracTickets for help on using
tickets.
Main.log from PPC Tiger