[MacPorts] #72332: gcc10-bootstrap @10.5.0: build fail on native ppc64 Leopard

MacPorts noreply at macports.org
Sat Apr 12 10:52:23 UTC 2025


#72332: gcc10-bootstrap @10.5.0: build fail on native ppc64 Leopard
------------------------------+---------------------------
  Reporter:  Demine0          |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.10.5
Resolution:                   |   Keywords:  ppc64 leopard
      Port:  gcc10-bootstrap  |
------------------------------+---------------------------
Description changed by Demine0:

Old description:

> An error occurred during compilation when trying to install
> gcc10-bootstrap
> {{{
> :info:build ranlib: file: .libs/libgmp.a(obprintf.o) has no symbols
> :info:build ranlib: file: .libs/libgmp.a(obvprintf.o) has no symbols
> :info:build ranlib: file: .libs/libgmp.a(obprntffuns.o) has no symbols
> :info:build ranlib: file: .libs/libgmp.a(repl-vsnprintf.o) has no symbols
> :info:build libtool: link: ranlib .libs/libgmp.a
> :info:build ranlib: file: .libs/libgmp.a(obprintf.o) has no symbols
> :info:build ranlib: file: .libs/libgmp.a(obvprintf.o) has no symbols
> :info:build ranlib: file: .libs/libgmp.a(obprntffuns.o) has no symbols
> :info:build ranlib: file: .libs/libgmp.a(repl-vsnprintf.o) has no symbols
> :info:build libtool: link: rm -fr .libs/libgmp.lax
> :info:build libtool: link: ( cd ".libs" && rm -f "libgmp.la" && ln -s
> "../libgmp.la" "libgmp.la" )
> :info:build make[5]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work
> /build-ppc/gmp'
> :info:build make[4]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work
> /build-ppc/gmp'
> :info:build make[3]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work
> /build-ppc/gmp'
> :info:build make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work
> /build-ppc'
> :info:build make[1]: *** [stage1-bubble] Error 2
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work
> /build-ppc'
> :info:build make: *** [bootstrap-lean] Error 2
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work
> /build-ppc'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work
> /build-ppc" && /usr/bin/make -j2 -w bootstrap-lean
> :info:build Exit code: 2
> :error:build Failed to build gcc10-bootstrap: command execution failed
> :debug:build Error code: NONE
> :debug:build Backtrace: command execution failed
> :debug:build     while executing
> :debug:build "$procedure $targetname"
> :error:build See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/main.log
> for details.
> }}}

New description:

 While trying to install gcc10-bootstrap, I encountered a compilation
 error. Adding or removing the +universal variant didn't help. From what I
 can tell, there's a good chance that gcc10-bootstrap is being built
 specifically for ppc, not ppc64.
 {{{
 :info:build ranlib: file: .libs/libgmp.a(obprintf.o) has no symbols
 :info:build ranlib: file: .libs/libgmp.a(obvprintf.o) has no symbols
 :info:build ranlib: file: .libs/libgmp.a(obprntffuns.o) has no symbols
 :info:build ranlib: file: .libs/libgmp.a(repl-vsnprintf.o) has no symbols
 :info:build libtool: link: ranlib .libs/libgmp.a
 :info:build ranlib: file: .libs/libgmp.a(obprintf.o) has no symbols
 :info:build ranlib: file: .libs/libgmp.a(obvprintf.o) has no symbols
 :info:build ranlib: file: .libs/libgmp.a(obprntffuns.o) has no symbols
 :info:build ranlib: file: .libs/libgmp.a(repl-vsnprintf.o) has no symbols
 :info:build libtool: link: rm -fr .libs/libgmp.lax
 :info:build libtool: link: ( cd ".libs" && rm -f "libgmp.la" && ln -s
 "../libgmp.la" "libgmp.la" )
 :info:build make[5]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work
 /build-ppc/gmp'
 :info:build make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work
 /build-ppc/gmp'
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work
 /build-ppc/gmp'
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work
 /build-ppc'
 :info:build make[1]: *** [stage1-bubble] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work
 /build-ppc'
 :info:build make: *** [bootstrap-lean] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work
 /build-ppc'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work
 /build-ppc" && /usr/bin/make -j2 -w bootstrap-lean
 :info:build Exit code: 2
 :error:build Failed to build gcc10-bootstrap: command execution failed
 :debug:build Error code: NONE
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/main.log
 for details.
 }}}

--

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


More information about the macports-tickets mailing list