Opened 3 years ago

Closed 3 years ago

#60163 closed defect (fixed)

gdk-pixbuf2 @2.40.0 fails to build on PPC Mac OS X 10.4.11, Tiger, because of "ld: -rpath can only be used when targeting Mac OS X 10.5 or later"

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: tiger ppc Cc: devans@…
Port: gdk-pixbuf2

Description

[5/178] Linking static target gdk-pixbuf/pixops/libpixops.a.
[6/178] Linking target gdk-pixbuf/pixops/timescale.
FAILED: gdk-pixbuf/pixops/timescale 
/opt/local/bin/gcc-apple-4.2  -o gdk-pixbuf/pixops/timescale 'gdk-pixbuf/pixops/a255f19@@timescale@exe/timescale.c.o' -L/opt/local/lib -Wl,-dead_strip_dylibs -Wl,-undefined,error -Wl,-headerpad_max_install_names -pipe -Os -arch ppc -Wl,-headerpad_max_install_names -lintl -arch ppc gdk-pixbuf/pixops/libpixops.a -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,-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,-headerpad_max_install_names -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
[7/178] Generating gdk-pixbuf-enum-types.h with a meson_exe.py 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_graphics_gdk-pixbuf2/gdk-pixbuf2/work/build" && /opt/local/bin/ninja 

Attachments (1)

main.log (29.4 KB) - added by ballapete (Peter "Pete" Dyballa) 3 years ago.
Main.log from PPC Tiger

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from PPC Tiger

comment:1 Changed 3 years ago by kencu (Ken)

options here are to change all of the various builds to not use rpaths, which is getting increasingly impractical, ...or to find a way for Tiger to absorb the flag.

Tiger doesn't have the dyld support to use rpaths. but the flag could be translated into something Tiger can use, probably with a shell script wrapper, that might work for the majority of cases.

comment:2 Changed 3 years ago by ballapete (Peter "Pete" Dyballa)

comment:3 Changed 3 years ago by dbevans (David B. Evans)

Owner: set to dbevans
Resolution: fixed
Status: newclosed

In fd9b5584d6469ca54e4bd2c4bddd07044648f7b3/macports-ports (master):

gdk-pixbuf2: rebuild after @rpath fix to gobject-introspection

See PR https://github.com/macports/macports-ports/pull/6544
Closes #60163

Note: See TracTickets for help on using tickets.