Opened 3 years ago

Last modified 3 years ago

#64527 new defect

gdk-pixbuf2 does't build for ppc on 10.6.8 (Rosetta): cannot find linker (meson build system issue)

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: powerpc, snowleopard, rosetta Cc:
Port: gdk-pixbuf2

Description

Same problem as here: https://trac.macports.org/ticket/64525

Source dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gdk-pixbuf2/gdk-pixbuf2/work/gdk-pixbuf-2.42.2
Build dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gdk-pixbuf2/gdk-pixbuf2/work/build
Build type: native build
WARNING: Unknown options: "jasper, x11"
The value of new options can be set with:
meson setup <builddir> --reconfigure -Dnew_option=new_value ...
Project name: gdk-pixbuf
Project version: 2.42.2

meson.build:1:0: ERROR: Unable to detect linker for compiler "/usr/bin/gcc-4.2 -Wl,--version -pipe -Os -arch ppc -I/opt/local/include"
stdout: 
stderr: collect2: ld terminated with signal 6 [Abort trap]


A full log can be found at /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gdk-pixbuf2/gdk-pixbuf2/work/build/meson-logs/meson-log.txt
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gdk-pixbuf2/gdk-pixbuf2/work/gdk-pixbuf-2.42.2" && /opt/local/bin/meson --prefix=/opt/local -Dx11=true -Ddocs=true -Djasper=true /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gdk-pixbuf2/gdk-pixbuf2/work/gdk-pixbuf-2.42.2 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gdk-pixbuf2/gdk-pixbuf2/work/build 
Exit code: 1
Error: Failed to configure gdk-pixbuf2: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gdk-pixbuf2/gdk-pixbuf2/work/build/meson-logs/meson-log.txt
Error: Failed to configure gdk-pixbuf2: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gdk-pixbuf2/gdk-pixbuf2/main.log for details.

Same solution: configure.compiler=macports-gcc-7 build_arch="ppc" makes it build successfully.

Sergey-Fedorovs-Mac-mini:~ svacchanda$ port -v installed gdk-pixbuf2
The following ports are currently installed:
  gdk-pixbuf2 @2.42.2_2+x11 (active) requested_variants='' platform='darwin 10' archs='ppc' date='2022-01-26T16:15:41+0800'

Looks like meson build system is essentially broken in case of 10.6.8 Rosetta.

Change History (1)

comment:1 Changed 3 years ago by barracuda156

Summary: gdk-pixbuf2 does't build for ppc on 10.6.8 (Rosetta): cannot find linkergdk-pixbuf2 does't build for ppc on 10.6.8 (Rosetta): cannot find linker (meson build system issue)
Note: See TracTickets for help on using tickets.