[MacPorts] #66964: python310 @3.10.10 +lto+optimizations: Can not find OpenBLAS-provided header file

MacPorts noreply at macports.org
Mon Feb 20 15:41:23 UTC 2023


#66964: python310 @3.10.10 +lto+optimizations: Can not find OpenBLAS-provided
header file
---------------------------------------+-----------------------
 Reporter:  amagela                    |      Owner:  (none)
     Type:  defect                     |     Status:  new
 Priority:  Normal                     |  Milestone:
Component:  ports                      |    Version:  2.8.1
 Keywords:  python,python310,openblas  |       Port:  python310
---------------------------------------+-----------------------
 Greetings:

 I am unable to build Python 3.10 port (with lto and optimizations turned
 on). It looks like the OpenBLAS port provides the file it cannot find
 (lapacke_utils.h) however it is a symlink rather than a file and, if I had
 to guess, it wants a normal file (or something else is wrong). Relevant
 output is below. Thank you for any support you can provide.

 {{{
 $ sudo port provides /opt/local/include/lapacke_utils.h
 /opt/local/include/lapacke_utils.h is provided by: OpenBLAS
 $ ls -l /opt/local/include/lapacke_utils.h
 lrwxr-xr-x 1 root 21 Feb  6 11:23 /opt/local/include/lapacke_utils.h ->
 cblas/lapacke_utils.h
 }}}

 {{{
 --->  Computing dependencies for python310
 --->  Fetching archive for python310
 --->  Attempting to fetch
 python310-3.10.10_0+lto+optimizations.darwin_22.arm64.tbz2 from
 https://packages.macports.org/python310
 --->  Attempting to fetch
 python310-3.10.10_0+lto+optimizations.darwin_22.arm64.tbz2 from
 https://nue.de.packages.macports.org/python310
 --->  Attempting to fetch
 python310-3.10.10_0+lto+optimizations.darwin_22.arm64.tbz2 from
 http://atl.us.packages.macports.org/python310
 --->  Fetching distfiles for python310
 --->  Attempting to fetch Python-3.10.10.tar.xz from
 https://www.python.org/ftp/python/3.10.10/
 --->  Verifying checksums for python310
 --->  Extracting python310
 --->  Applying patches to python310
 --->  Configuring python310
 --->  Building python310
 Error: Failed to build python310: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 }}}

 {{{
 :info:build
 DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/Python-3.10.10
 CC='/usr/bin/clang' LDSHARED='/usr/bin/clang -bundle -undefined
 dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
 -arch arm64  -flto -Wl,-export_dynamic -g -fprofile-instr-generate'
 OPT='-DNDEBUG -g -fwrapv -O3 -Wall'
 _TCLTK_INCLUDES='-I/opt/local/include' _TCLTK_LIBS='-L/opt/local/lib
 -ltk8.6 -ltkstub8.6 -ltcl8.6 -ltclstub8.6'     ./python.exe -E ./setup.py
 --no-user-cfg  build
 :info:build running build
 :info:build running build_ext
 :info:build error: [Errno 2] No such file or directory:
 '/opt/local/include/lapacke_utils.h'
 :info:build make[3]: *** [sharedmods] Error 1
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/Python-3.10.10'
 :info:build make[2]: *** [build_all_generate_profile] Error 2
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/Python-3.10.10'
 :info:build make[1]: *** [profile-gen-stamp] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/Python-3.10.10'
 :info:build make: *** [profile-run-stamp] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/Python-3.10.10'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/Python-3.10.10"
 && /usr/bin/make -j10 -w all
 :info:build Exit code: 2
 :error:build Failed to build python310: command execution failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66964>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list