[MacPorts] #68904: lapack @3.11: ld: duplicate LC_RPATH '/opt/local/lib/libgcc' (was: lapack 3.11 does not build on Sonoma 14.2 ARM Apple M1)

MacPorts noreply at macports.org
Fri Dec 15 06:03:37 UTC 2023


#68904: lapack @3.11: ld: duplicate LC_RPATH '/opt/local/lib/libgcc'
------------------------+--------------------------
  Reporter:  krlong014  |      Owner:  (none)
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.1
Resolution:  duplicate  |   Keywords:  sonoma arm64
      Port:  lapack     |
------------------------+--------------------------
Changes (by ryandesign):

 * keywords:   => sonoma arm64
 * status:  new => closed
 * resolution:   => duplicate


Old description:

> I got an error when building lapack port after clean installation. \\
>

> After seeing the failure, I did the following: \\
>
> sudo port -f uninstall installed\\
> sudo port clean lapack\\
> sudo port install lapack\\
>
> Then all dependencies built correctly until the error:\\
> Error: Failed to build lapack: command execution failed\\
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_lapack/lapack/main.log
> for details.\\
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a
> bug.\\
> Error: Processing of port lapack failed\\
>
> I have attached the log file.

New description:

 I got an error when building lapack port after clean installation.


 After seeing the failure, I did the following:

 {{{
 sudo port -f uninstall installed
 sudo port clean lapack
 sudo port install lapack
 }}}

 Then all dependencies built correctly until the error:

 {{{
 Error: Failed to build lapack: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_lapack/lapack/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port lapack failed
 }}}

 I have attached the log file.

--

Comment:

 The error in the log is:

 {{{
 :info:build ld: duplicate LC_RPATH '/opt/local/lib/libgcc' in
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_lapack/lapack/work/build/lib/libblas.3.11.0.dylib'
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[2]: *** [lib/libcblas.3.11.0.dylib] Error 1
 }}}

 Zillions of other open tickets about that issue with various ports.

 Here's the one for lapack: #68686

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


More information about the macports-tickets mailing list