[MacPorts] #61269: gdk-pixbuf2 @2.40.0 does not build on PPC Tiger, Mac OS X 10.4.11, because
MacPorts
noreply at macports.org
Sun Oct 4 07:58:55 UTC 2020
#61269: gdk-pixbuf2 @2.40.0 does not build on PPC Tiger, Mac OS X 10.4.11, because
-----------------------+-------------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Keywords: tiger ppc | Port: gdk-pixbuf2
-----------------------+-------------------------
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, at 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, at 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
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61269>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list