[MacPorts] #68402: OpenBLAS @0.3.24: failed to destroot (was: OpenBLAS: failed to destroot)
MacPorts
noreply at macports.org
Tue Oct 10 00:23:24 UTC 2023
#68402: OpenBLAS @0.3.24: failed to destroot
-----------------------+-------------------------
Reporter: karo11 | Owner: NicosPavlov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: sonoma
Port: OpenBLAS |
-----------------------+-------------------------
Changes (by ryandesign):
* keywords: => sonoma
Comment:
The error in the log is:
{{{
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool:
input file: .../libopenblas-r1.dylib is not a Mach-O file
}}}
I don't see anything obviously wrong where that dylib is created:
{{{
/Volumes/mbkaroSD2/opt/local/var/macports/build/_Volumes_mbkaroSD2_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/compwrap/fc/opt/local/bin
/gfortran-mp-13 -m64 -Os -O3 -m128bit-long-double -Wall -frecursive -fno-
optimize-sibling-calls -m64 -fPIC -msse3 -mssse3 -msse4.1 -O3 -m128bit-
long-double -Wall -frecursive -fno-optimize-sibling-calls -m64 -fPIC
-msse3 -mssse3 -msse4.1 -L/opt/local/lib -Wl,-headerpad_max_install_names
-Wl,-rpath,/opt/local/lib/libgcc
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
-all_load -headerpad_max_install_names -install_name
"/Volumes/mbkaroSD2/opt/local/var/macports/build/_Volumes_mbkaroSD2_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.3.24/exports/../libopenblas.1.dylib"
-dynamiclib -o ../libopenblas-r1.dylib ../libopenblas-r1.a
-Wl,-exported_symbols_list,osx.def
-L/Volumes/mbkaroSD2/opt/local/bin/../lib/gcc13/gcc/x86_64-apple-
darwin23/13.2.0 -L/Volumes/mbkaroSD2/opt/local/bin/../lib/gcc13/gcc
-L/opt/local/lib
-L/Volumes/mbkaroSD2/opt/local/bin/../lib/gcc13/gcc/x86_64-apple-
darwin23/13.2.0/../../.. -lgfortran -lquadmath -lSystem
ld: warning: duplicate -rpath '/opt/local/lib/libgcc' ignored
}}}
Warnings ''should'' be harmless so the problem is probably something else.
Can you find the file libopenblas-!r1.dylib in the work directory and tell
us what type of file it is?
{{{
find $(port work OpenBLAS) -name libopenblas-r1.dylib -print0 | xargs -0
file
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68402#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list