#68803 closed defect (duplicate)

OpenBLAS-0.3.25_2: duplicate LC_RPATH

Reported by: mcmara (Jack McMara) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: OpenBLAS

Description

System:

$ uname -a
Darwin wvrtc-mbp-gm5-maxar.local 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct  9 21:28:45 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T6020 arm64

$ xcodebuild -version 
Xcode 15.0.1
Build version 15A507

$ xcode-select -p
/Applications/Xcode.app/Contents/Developer

Output:

$ sudo port clean OpenBLAS 
--->  Cleaning OpenBLAS

$ sudo port install OpenBLAS 
--->  Computing dependencies for OpenBLAS
--->  Fetching archive for OpenBLAS
--->  Attempting to fetch OpenBLAS-0.3.25_2+gcc13+lapack.darwin_23.arm64.tbz2 from https://packages.macports.org/OpenBLAS
--->  Attempting to fetch OpenBLAS-0.3.25_2+gcc13+lapack.darwin_23.arm64.tbz2 from https://nue.de.packages.macports.org/OpenBLAS
--->  Attempting to fetch OpenBLAS-0.3.25_2+gcc13+lapack.darwin_23.arm64.tbz2 from http://mirror.fcix.net/macports/packages/OpenBLAS
--->  Fetching distfiles for OpenBLAS
--->  Verifying checksums for OpenBLAS
--->  Extracting OpenBLAS
--->  Applying patches to OpenBLAS
--->  Configuring OpenBLAS
--->  Building OpenBLAS                                  
Error: Failed to build OpenBLAS: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port OpenBLAS failed

It seems failing on the linker stage. Relevant lines from the log are:

...
: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\
_OpenBLAS/OpenBLAS/work/build/lib/libopenblas.0.3.dylib'
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[2]: *** [utest/openblas_utest] Error 1
...

Log attached.

Attachments (1)

main.log (8.9 MB) - added by mcmara (Jack McMara) 10 months ago.

Change History (3)

Changed 10 months ago by mcmara (Jack McMara)

Attachment: main.log added

comment:1 Changed 10 months ago by mcmara (Jack McMara)

The just-arrived OpenBLAS update 0.3.25_3 resolved this issue (for my system).

comment:2 Changed 10 months ago by jmroot (Joshua Root)

Port: OpenBLAS added
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.