[MacPorts] #56932: at-spi2-core @2.28.0 fails to build on PPC Tiger, Mac OS X 10.4.11, because of issue with -rpath
MacPorts
noreply at macports.org
Mon Aug 6 19:21:13 UTC 2018
#56932: at-spi2-core @2.28.0 fails to build on PPC Tiger, Mac OS X 10.4.11, because
of issue with -rpath
-----------------------+--------------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.3
Keywords: tiger | Port: at-spi2-core
-----------------------+--------------------------
{{{
/opt/local/include/glib-2.0/gobject/gobject.h:725: warning: value computed
is not used
g-ir-scanner: link: /opt/local/bin/gcc-apple-4.2 -arch ppc -o
/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
.org_release_tarballs_ports_gnome_at-spi2-core/at-spi2-core/work/build
/tmp-introspectEtuyJ0/Atspi-2.0
/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
.org_release_tarballs_ports_gnome_at-spi2-core/at-spi2-core/work/build
/tmp-introspectEtuyJ0/Atspi-2.0.o -L. -latspi -ldbus-1 -lgobject-2.0
-lglib-2.0 -lintl -lX11 -lXtst -lXi -L/opt/local/lib -lgio-2.0
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -Wl,-framework
-Wl,CoreFoundation
[48/53] Compiling C object 'registryd/registryd@@at-spi2-registryd at exe
/event-source.c.o'.
[49/53] Compiling C object 'registryd/registryd@@at-
spi2-registryd at exe/ucs2keysym.c.o'.
In file included from /opt/local/include/glib-2.0/gobject/gbinding.h:29,
from /opt/local/include/glib-2.0/glib-object.h:23,
from ../at-spi2-core-2.28.0/registryd/registry.h:28,
from ../at-
spi2-core-2.28.0/registryd/deviceeventcontroller.h:34,
from ../at-spi2-core-2.28.0/registryd/ucs2keysym.c:35:
/opt/local/include/glib-2.0/gobject/gobject.h: In function 'g_set_object':
/opt/local/include/glib-2.0/gobject/gobject.h:725: warning: value computed
is not used
[50/53] Linking target registryd/at-spi2-registryd.
FAILED: registryd/at-spi2-registryd
/opt/local/bin/gcc-apple-4.2 -o registryd/at-spi2-registryd
'registryd/registryd@@at-spi2-registryd at exe/de-marshaller.c.o'
'registryd/registryd@@at-spi2-registryd at exe/registry-main.c.o'
'registryd/registryd@@at-spi2-registryd at exe/registry.c.o'
'registryd/registryd@@at-spi2-registryd at exe/introspection.c.o'
'registryd/registryd@@at-spi2-registryd at exe/deviceeventcontroller.c.o'
'registryd/registryd@@at-spi2-registryd at exe/reentrant-list.c.o'
'registryd/registryd@@at-spi2-registryd at exe/deviceeventcontroller-x11.c.o'
'registryd/registryd@@at-spi2-registryd at exe/display.c.o'
'registryd/registryd@@at-spi2-registryd at exe/event-source.c.o'
'registryd/registryd@@at-spi2-registryd at exe/ucs2keysym.c.o'
-L/opt/local/lib -Wl,-dead_strip_dylibs -pipe -Os -arch ppc
-Wl,-headerpad_max_install_names -arch ppc atspi/libatspi.0.dylib
/opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgobject-2.0.dylib
/opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib
-Wl,-framework -Wl,CoreFoundation /opt/local/lib/libdbus-1.dylib
-Wl,-framework -Wl,CoreFoundation -ldl /opt/local/lib/libX11.dylib
/opt/local/lib/libXtst.dylib /opt/local/lib/libXi.dylib
'-Wl,-rpath,$ORIGIN/../atspi'
ld: -rpath can only be used when targeting Mac OS X 10.5 or later
collect2: ld returned 1 exit status
[51/53] Generating Atspi-2.0.typelib with a custom command.
ninja: build stopped: subcommand failed.
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
.org_release_tarballs_ports_gnome_at-spi2-core/at-spi2-core/work/build" &&
/opt/local/bin/ninja
Exit code: 1
}}}
This case has some similarities with #56729, in which `${prefix}/lib
/gobject-introspection/giscanner/ccompiler.py` is the culprit. I commented
all lines with `-rpath` in this file in order to build `poppler`. So it
must be Ninja that is misconfigured to use `-rpath` on `Tiger`.
--
Ticket URL: <https://trac.macports.org/ticket/56932>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list