[MacPorts] #64525: shared-mime-info fails to build for ppc on 10.6.8 (Rosetta) with default config

MacPorts noreply at macports.org
Wed Jan 26 08:07:09 UTC 2022


#64525: shared-mime-info fails to build for ppc on 10.6.8 (Rosetta) with default
config
-------------------------------------------+------------------------------
 Reporter:  barracuda156                   |      Owner:  (none)
     Type:  defect                         |     Status:  new
 Priority:  Normal                         |  Milestone:
Component:  ports                          |    Version:  2.7.1
 Keywords:  powerpc, snowleopard, rosetta  |       Port:  shared-mime-info
-------------------------------------------+------------------------------
 Here is the failure:


 {{{
 The Meson build system
 Version: 0.59.1
 Source dir: /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_devel_shared-mime-info/shared-mime-info/work
 /shared-mime-info-2.1
 Build dir: /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_devel_shared-mime-info/shared-mime-
 info/work/build
 Build type: native build
 Project name: shared-mime-info
 Project version: 2.1

 meson.build:2: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_PPCSnowLeopardPorts_devel_shared-mime-info/shared-mime-
 info/work/build/meson-logs/meson-log.txt
 Command failed:  cd "/opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_devel_shared-mime-info/shared-mime-info/work
 /shared-mime-info-2.1" && /opt/local/bin/meson --prefix=/opt/local
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_shared-mime-
 info/shared-mime-info/work/shared-mime-info-2.1
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_shared-mime-
 info/shared-mime-info/work/build
 Exit code: 1
 Error: Failed to configure shared-mime-info: consult
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_shared-mime-
 info/shared-mime-info/work/build/meson-logs/meson-log.txt
 }}}

 However build succeeds with:

 {{{
 sudo port -v install shared-mime-info configure.compiler=macports-gcc-7
 build_arch="ppc"
 }}}

 Probably port file should be amended accordingly.


 {{{
 Sergey-Fedorovs-Mac-mini:~ svacchanda$ port -v installed shared-mime-info
 The following ports are currently installed:
   shared-mime-info @2.1_0 (active) requested_variants='' platform='darwin
 10' archs='ppc' date='2022-01-26T16:03:11+0800'

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64525>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list