Opened 5 months ago

Closed 5 months ago

#68904 closed defect (duplicate)

lapack @3.11: ld: duplicate LC_RPATH '/opt/local/lib/libgcc'

Reported by: krlong014 (Katharine Long) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: sonoma arm64 Cc:
Port: lapack

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Attachments (1)

main.log (1.5 MB) - added by krlong014 (Katharine Long) 5 months ago.
log file

Download all attachments as: .zip

Change History (4)

Changed 5 months ago by krlong014 (Katharine Long)

Attachment: main.log added

log file

comment:1 Changed 5 months ago by krlong014 (Katharine Long)

Description: modified (diff)

comment:2 Changed 5 months ago by krlong014 (Katharine Long)

Version: 2.8.02.8.1

comment:3 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: sonoma arm64 added
Resolution: duplicate
Status: newclosed
Summary: lapack 3.11 does not build on Sonoma 14.2 ARM Apple M1lapack @3.11: ld: duplicate LC_RPATH '/opt/local/lib/libgcc'

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

Note: See TracTickets for help on using tickets.