[MacPorts] #66911: python310 @3.10.10 [Errno 2] No such file or directory: '/opt/MacPorts/include/cblas_openblas.h'
MacPorts
noreply at macports.org
Mon Feb 13 21:03:17 UTC 2023
#66911: python310 @3.10.10 [Errno 2] No such file or directory:
'/opt/MacPorts/include/cblas_openblas.h'
-------------------------+-----------------------
Reporter: cave-canem | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: Mavericks
Port: python310 |
-------------------------+-----------------------
Description changed by cave-canem:
Old description:
> {{{
> port installed OpenBLAS
> The following ports are currently installed:
> OpenBLAS @0.3.21_2+gcc12+lapack+native}}}
> }}}
>
> {{{
> ls -l /opt/MacPorts/include/cblas_openblas.h
> lrwxr-xr-x 1 root wheel 13 Feb 13 18:23
> /opt/MacPorts/include/cblas_openblas.h -> cblas/cblas.h
> }}}
>
> {{{
> ...
> opt/MacPorts/bin/clang -L/opt/MacPorts/lib
> -Wl,-headerpad_max_install_names -arch x86_64 -flto -Wl,-export_dynamic
> -g -Wl,-stack_size,1000000 -framework CoreFoundation
> Python.framework/Versions/3.10/Python -o Programs/_testembed
> Programs/_testembed.o -lintl -ldl -framework CoreFoundation
> DYLD_FRAMEWORK_PATH=/opt/MacPorts/var/macports/build/_opt_macports-
> ports_lang_python310/python310/work/Python-3.10.10 ./python.exe -E -S -m
> sysconfig --generate-posix-vars ;\
> if test $? -ne 0 ; then \
> echo "generate-posix-vars failed" ; \
> rm -f ./pybuilddir.txt ; \
> exit 1 ; \
> fi
> DYLD_FRAMEWORK_PATH=/opt/MacPorts/var/macports/build/_opt_macports-
> ports_lang_python310/python310/work/Python-3.10.10
> CC='/opt/MacPorts/bin/clang' LDSHARED='/opt/MacPorts/bin/clang -bundle
> -undefined dynamic_lookup -L/opt/MacPorts/lib
> -Wl,-headerpad_max_install_names -arch x86_64 -flto -Wl,-export_dynamic
> -g ' OPT='-DNDEBUG -g -fwrapv -O3 -Wall'
> _TCLTK_INCLUDES='-I/opt/MacPorts/include'
> _TCLTK_LIBS='-L/opt/MacPorts/lib -ltk8.6 -ltkstub8.6 -ltcl8.6
> -ltclstub8.6' ./python.exe -E ./setup.py --no-user-cfg build
> running build
> running build_ext
> error: [Errno 2] No such file or directory:
> '/opt/MacPorts/include/cblas_openblas.h'
> make: *** [Makefile:636: sharedmods] Error 1
> make: Leaving directory '/opt/MacPorts/var/macports/build/_opt_macports-
> ports_lang_python310/python310/work/Python-3.10.10'
> Command failed: cd "/opt/MacPorts/var/macports/build/_opt_macports-
> ports_lang_python310/python310/work/Python-3.10.10" && /usr/bin/make -j4
> -w all
> Exit code: 2
> Error: Failed to build python310: command execution failed
> DEBUG: Error code: CHILDSTATUS 77113 2
> DEBUG: Backtrace: command execution failed
> while executing
> "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
> invoked from within
> "command_exec -callback portprogress::target_progress_callback build"
> (procedure "portbuild::build_main" line 8)
> invoked from within
> "$procedure $targetname"
> Error: See /opt/MacPorts/var/macports/logs/_opt_macports-
> ports_lang_python310/python310/main.log for details.
> }}}
>
>
> '''Detailed log in attachment'''
New description:
{{{
The following ports are currently installed:
OpenBLAS-devel @20221224-5a9cd877_1+gcc12+lapack+native (active)
}}}
{{{
ls -l /opt/MacPorts/include/cblas_openblas.h
lrwxr-xr-x 1 root wheel 13 Feb 13 18:23
/opt/MacPorts/include/cblas_openblas.h -> cblas/cblas.h
}}}
{{{
...
opt/MacPorts/bin/clang -L/opt/MacPorts/lib
-Wl,-headerpad_max_install_names -arch x86_64 -flto -Wl,-export_dynamic
-g -Wl,-stack_size,1000000 -framework CoreFoundation
Python.framework/Versions/3.10/Python -o Programs/_testembed
Programs/_testembed.o -lintl -ldl -framework CoreFoundation
DYLD_FRAMEWORK_PATH=/opt/MacPorts/var/macports/build/_opt_macports-
ports_lang_python310/python310/work/Python-3.10.10 ./python.exe -E -S -m
sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
echo "generate-posix-vars failed" ; \
rm -f ./pybuilddir.txt ; \
exit 1 ; \
fi
DYLD_FRAMEWORK_PATH=/opt/MacPorts/var/macports/build/_opt_macports-
ports_lang_python310/python310/work/Python-3.10.10
CC='/opt/MacPorts/bin/clang' LDSHARED='/opt/MacPorts/bin/clang -bundle
-undefined dynamic_lookup -L/opt/MacPorts/lib
-Wl,-headerpad_max_install_names -arch x86_64 -flto -Wl,-export_dynamic
-g ' OPT='-DNDEBUG -g -fwrapv -O3 -Wall'
_TCLTK_INCLUDES='-I/opt/MacPorts/include' _TCLTK_LIBS='-L/opt/MacPorts/lib
-ltk8.6 -ltkstub8.6 -ltcl8.6 -ltclstub8.6' ./python.exe -E ./setup.py
--no-user-cfg build
running build
running build_ext
error: [Errno 2] No such file or directory:
'/opt/MacPorts/include/cblas_openblas.h'
make: *** [Makefile:636: sharedmods] Error 1
make: Leaving directory '/opt/MacPorts/var/macports/build/_opt_macports-
ports_lang_python310/python310/work/Python-3.10.10'
Command failed: cd "/opt/MacPorts/var/macports/build/_opt_macports-
ports_lang_python310/python310/work/Python-3.10.10" && /usr/bin/make -j4
-w all
Exit code: 2
Error: Failed to build python310: command execution failed
DEBUG: Error code: CHILDSTATUS 77113 2
DEBUG: Backtrace: command execution failed
while executing
"system {*}$notty {*}$callback {*}$nice $fullcmdstring"
invoked from within
"command_exec -callback portprogress::target_progress_callback build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
Error: See /opt/MacPorts/var/macports/logs/_opt_macports-
ports_lang_python310/python310/main.log for details.
}}}
'''Detailed log in attachment'''
--
--
Ticket URL: <https://trac.macports.org/ticket/66911#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list