#68788 closed defect (fixed)

OpenBLAS @0.3.25_2: ld: duplicate LC_RPATH '/opt/local/lib/libgcc'

Reported by: astroyuanyuan Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: sonoma Cc: michaelld (Michael Dickens), catap (Kirill A. Korinsky), jpinedaf (Jaime Pineda), amagela (Anthony M. Agelastos)
Port: OpenBLAS

Description (last modified by jmroot (Joshua Root))

I tried to install OpenBLAS using "sudo port -v install openblas" but I got "Error: Processing of port openblas failed". Below please find the end of /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/main.log

:info:build ld: warning: duplicate -rpath '/opt/local/lib/libgcc' ignored
:info:build ld: warning: duplicate -rpath '/opt/local/lib' ignored
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/build'
:info:build [ 88%] Built target xlintstd
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/build" && /usr/bin/make -j10 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build Failed to build OpenBLAS: command execution failed
:debug:build Error code: CHILDSTATUS 38426 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build 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.

Attachments (1)

main.log.bz2 (102.4 KB) - added by jmroot (Joshua Root) 10 months ago.

Download all attachments as: .zip

Change History (7)

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

Cc: michaelld catap added
Description: modified (diff)
Owner: set to NicosPavlov
Port: OpenBLAS added
Status: newassigned

Please add the complete log as an attachment.

comment:2 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: sonoma added
Summary: Failed to build OpenBLAS on Sonoma 14.1.1OpenBLAS @0.3.25_2: ld: duplicate LC_RPATH '/opt/local/lib/libgcc'

The log says:

: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'

Changed 10 months ago by jmroot (Joshua Root)

Attachment: main.log.bz2 added

comment:3 Changed 10 months ago by catap (Kirill A. Korinsky)

Version 0, edited 10 months ago by catap (Kirill A. Korinsky) (next)

comment:4 Changed 10 months ago by jpinedaf (Jaime Pineda)

Cc: jpinedaf added

comment:5 Changed 10 months ago by amagela (Anthony M. Agelastos)

Cc: amagela added

comment:6 Changed 10 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In fc3a36100c00ba99e4b83fcf3284a3417b32999e/macports-ports (master):

OpenBLAS: follow up after switch to cmake

Closes: #68780
Closes: #68782
Closes: #68785
Closes: #68788

Note: See TracTickets for help on using tickets.