[MacPorts] #72025: lapack @3.12.1 build error: execv: Argument list too long
MacPorts
noreply at macports.org
Tue Feb 11 20:40:05 UTC 2025
#72025: lapack @3.12.1 build error: execv: Argument list too long
---------------------------+--------------------------
Reporter: barracuda156 | Owner: Dave-Allured
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: lapack |
---------------------------+--------------------------
Comment (by Dave-Allured):
Fails on this step (from 10.9 log):
{{{
Linking C shared library ../lib/liblapacke.dylib
cd
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_lapack/lapack/work/build/LAPACKE
&& /opt/local/bin/cmake -E cmake_link_script
CMakeFiles/lapacke.dir/link.txt --verbose=ON
clang: error: unable to execute command: posix_spawn failed: Argument list
too long
}}}
The actual broken link command seems to be hidden inside cmake script in
every log file, therefore can't show here.
Same failure on MacPorts builders for 10.8_x86, 10.9_x86. Curiously works
for 10.7, also 10.10 and all greater.
As discussed in Lapack 1105, this is an expected place to fail when
gathering a large number of object files with full MacPorts build
prefixes, all in a single link command. It looks like this is due to the
command line length limit on older OS's, as well as other factors.
Possible solutions are referenced in Lapack 1105.
--
Ticket URL: <https://trac.macports.org/ticket/72025#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list