[MacPorts] #64264: glib2 fails for PowerPC (ppc, ppc64 and universal)

MacPorts noreply at macports.org
Fri Dec 24 10:54:25 UTC 2021


#64264: glib2 fails for PowerPC (ppc, ppc64 and universal)
---------------------------+-------------------------------------
  Reporter:  barracuda156  |      Owner:  ryandesign
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  PowerPC, Leopard, ppc64
      Port:  glib2         |
---------------------------+-------------------------------------

Comment (by barracuda156):

 Replying to [comment:7 ryandesign]:
 > Replying to [comment:4 barracuda156]:
 > > {{{
 > > 36-225:~ svacchanda$ port -v installed icu libxml2
 > > The following ports are currently installed:
 > >   icu @67.1_4 (active) requested_variants='-universal'
 platform='darwin 9' archs='ppc' date='2021-12-22T08:24:11+0800'
 > >   libxml2 @2.9.12_1 requested_variants='-universal' platform='darwin
 9' archs='ppc' date='2021-12-22T12:25:12+0800'
 > >   libxml2 @2.9.12_1+universal (active) requested_variants='+universal'
 platform='darwin 9' archs='ppc ppc64' date='2021-12-22T08:28:30+0800'
 > > }}}
 >
 > Please retry building glib2 for ppc after activating `libxml2
 @2.9.12_1`. You cannot use `libxml2 @2.9.12_1+universal` because it
 depends on icu being installed universal, which it isn't.

 I have deactivated icu, and then trying to install it does not ask for
 llvm. However icu fails to configure for ppc64:


 {{{
 --->  Configuring icu for architecture ppc64
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu
 /source-ppc64" && ./configure --prefix=/opt/local --disable-layoutex
 --disable-samples --enable-static
 checking for ICU version numbers... release 67.1, library 67.1, unicode
 version 13.0
 checking build system type... powerpc-apple-darwin9.8.0
 checking host system type... powerpc-apple-darwin9.8.0
 checking whether to build debug libraries... no
 checking whether to build release libraries... yes
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... configure: error: in
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu
 /source-ppc64':
 configure: error: cannot run C compiled programs.
 If you meant to cross compile, use `--host'.
 See `config.log' for more details
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu
 /source-ppc64" && ./configure --prefix=/opt/local --disable-layoutex
 --disable-samples --enable-static
 Exit code: 1
 Error: Failed to configure icu: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu
 /source-ppc64/config.log
 Error: Failed to configure icu: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port icu failed

 }}}

 I reported the issue earlier: https://trac.macports.org/ticket/64260

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


More information about the macports-tickets mailing list