[MacPorts] #72054: texlive-bin @2024.70613_1: build failure when gmp is installed for the wrong architecture in /usr/local (was: texlive-bin @2024.70613_1: ld: symbol(s) not found for architecture arm64)

MacPorts noreply at macports.org
Fri Feb 14 20:20:55 UTC 2025


#72054: texlive-bin @2024.70613_1: build failure when gmp is installed for the
wrong architecture in /usr/local
--------------------------+---------------------------
  Reporter:  david888p    |      Owner:  drkp
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.10.5
Resolution:               |   Keywords:  arm64 sequoia
      Port:  texlive-bin  |
--------------------------+---------------------------
Changes (by ryandesign):

 * cc: dports@…, drkp (removed)
 * status:  new => assigned
 * owner:  (none) => drkp


Old description:

> Upgraded to latest Sequoia [15.3.1], upgraded to latest MacPorts
> [2.10.5], manually removed Xcode app and /Library/Developer directories,
> reinstalled Xcode [16.2 (16C5032a)] & command line tools.\\
>
> port clean texlive-bin\\
> port install texlive-bin
>

> --log extract--\\
> :info:build /usr/bin/clang ....\\
> :info:build ld: warning: ignoring file '/usr/local/lib/libgmp.10.dylib':
> found architecture 'x86_64', required architecture 'arm64'\\
> :info:build 1 warning generated.\\
> :info:build mv -f luatexdir/lua/.deps/libluatex_a-lstrlibext.Tpo ....\\
> :info:build Undefined symbols for architecture arm64:\\
> .
> .
> .\\
> :info:build ld: symbol(s) not found for architecture arm64\\
> :info:build clang: error: linker command failed with exit code 1 (use -v
> to see invocation)\\
> .
> .
> .\\
> :error:build See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_tex_texlive-bin/texlive-bin/main.log
> for details.

New description:

 Upgraded to latest Sequoia [15.3.1], upgraded to latest MacPorts [2.10.5],
 manually removed Xcode app and /Library/Developer directories, reinstalled
 Xcode [16.2 (16C5032a)] & command line tools.

 {{{
 port clean texlive-bin
 port install texlive-bin
 }}}

 --log extract--
 {{{
 :info:build /usr/bin/clang ....
 :info:build ld: warning: ignoring file '/usr/local/lib/libgmp.10.dylib':
 found architecture 'x86_64', required architecture 'arm64'
 :info:build 1 warning generated.
 :info:build mv -f luatexdir/lua/.deps/libluatex_a-lstrlibext.Tpo ....
 :info:build Undefined symbols for architecture arm64:
 .
 .
 .
 :info:build ld: symbol(s) not found for architecture arm64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 .
 .
 .
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_tex_texlive-bin/texlive-bin/main.log
 for details.
 }}}

--

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


More information about the macports-tickets mailing list