[MacPorts] #64527: gdk-pixbuf2 does't build for ppc on 10.6.8 (Rosetta): cannot find linker
MacPorts
noreply at macports.org
Wed Jan 26 08:16:50 UTC 2022
#64527: gdk-pixbuf2 does't build for ppc on 10.6.8 (Rosetta): cannot find linker
-------------------------------------------+-------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: powerpc, snowleopard, rosetta | Port: gdk-pixbuf2
-------------------------------------------+-------------------------
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.
--
Ticket URL: <https://trac.macports.org/ticket/64527>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list