[MacPorts] #67384: gcc10-bootstrap @10.4.0 again broken on Rosetta due to attempting to build ppc64

MacPorts noreply at macports.org
Mon May 8 02:43:42 UTC 2023


#67384: gcc10-bootstrap @10.4.0 again broken on Rosetta due to attempting to build
ppc64
------------------------------+-------------------------------------------
  Reporter:  barracuda156     |      Owner:  catap
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.8.1
Resolution:                   |   Keywords:  powerpc, snowleopard, rosetta
      Port:  gcc10-bootstrap  |
------------------------------+-------------------------------------------

Comment (by barracuda156):

 Replying to [comment:6 catap]:
 > I've added into `macports.conf` the block to the end:
 > {{{
 > universal_archs
 > build_arch              ppc
 > cxx_stdlib              libstdc++
 > buildfromsource         always
 > }}}
 > and it literally switched off universal build, which disabled `multilib`
 and `multiarch` and allows to build it.
 >
 > Also, at build log I see that it uses `build` folder, not `build-ppc`
 that means that it doesn't build universal build but configure string
 contains `--enable-targets=powerpc-apple-darwin10,i386-apple-
 darwin10,x86_64-apple-darwin10` which is added by lines:
 > {{{
 >     set universal_targets ""
 >     foreach arch ${universal_archs_supported} {
 >         set universal_targets
 "${universal_targets},$merger_host(${arch})"
 >     }
 >
 >     ui_debug "Selected targets: ${universal_targets}"
 >
 >     if { [string length ${universal_targets}] > 0 } {
 >         configure.args-append \
 >             --enable-targets=[string replace ${universal_targets} 0 0]
 >     }
 > }}}
 > inside that `if`. That shuldn't be possible. Thus, I haven't see inside
 log a line `Selected targets`.
 >
 > All of this puzzling me.

 I have checked now, I have this is macports.conf on 10.6.8:
 {{{
 build_arch                      ppc
 universal_archs         ppc i386 x86_64
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67384#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list