[MacPorts] #66242: python311 @3.11.0 +lto +optimizations fails to build with broken symlink in include path
MacPorts
noreply at macports.org
Sun Feb 12 20:18:49 UTC 2023
#66242: python311 @3.11.0 +lto +optimizations fails to build with broken symlink in
include path
----------------------------------+----------------------
Reporter: bakergilx | Owner: jmroot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Resolution: | Keywords: upstream
Port: python311 python310 |
----------------------------------+----------------------
Comment (by JDLH):
Has similar or duplicate report #66892. That report mentions the error I
saw, which is:
{{{
:info:build error: [Errno 2] No such file or directory:
'/opt/local/include/lapacke_utils.h'
}}}
The proximate problem seems to be that the `python310` compilation refers
to a broken symlink to a library:
{{{
% ls -l /opt/local/include/lapacke_utils.h
/opt/local/include/cblas/lapacke_utils.h
ls: /opt/local/include/cblas/lapacke_utils.h: No such file or directory
lrwxr-xr-x 1 root wheel 21 4 Feb 15:55
/opt/local/include/lapacke_utils.h -> cblas/lapacke_utils.h
}}}
It looks like the port `OpenBLAS` supplies the broken link:
{{{
% port installed \*blas
The following ports are currently installed:
OpenBLAS @0.3.21_2+gcc12+lapack+native (active)
% port contents OpenBLAS | grep lapack
/opt/local/include/lapack.h
/opt/local/include/lapacke.h
/opt/local/include/lapacke_config.h
/opt/local/include/lapacke_mangling.h
/opt/local/include/lapacke_utils.h
/opt/local/include/openblas/lapack.h
/opt/local/include/openblas/lapacke.h
/opt/local/include/openblas/lapacke_config.h
/opt/local/include/openblas/lapacke_mangling.h
/opt/local/include/openblas/lapacke_utils.h
}}}
I see no listing for a port `cblas`, but there is a port `clblas`. I do
not have it installed.
--
Ticket URL: <https://trac.macports.org/ticket/66242#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list