[MacPorts] #68507: OpenBLAS: some recent change in Macports broken finding OpenBLAS with Clang builds for some ports

MacPorts noreply at macports.org
Thu Oct 19 07:08:11 UTC 2023


#68507: OpenBLAS: some recent change in Macports broken finding OpenBLAS with Clang
builds for some ports
--------------------------+-------------------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:                |       Port:  OpenBLAS, madness
--------------------------+-------------------------------
 Something very recently has broken `OpenBLAS` finding with clang builds
 for some port(s). See: https://github.com/macports/macports-
 ports/pull/20901

 I tried to upgrade `madness`, which worked fine locally for me and worked
 on every system earlier for months:
 https://ports.macports.org/port/madness/details (well, okay, 10.6 Intel
 failed, it seems).
 Upgrade failed with:
 {{{
   -- Found Gperftools:
 /opt/local/lib/libtcmalloc.dylib;/opt/local/lib/libprofiler.dylib  found
 components: tcmalloc profiler
   CMake Warning at
 /opt/local/share/cmake-3.24/Modules/FindBoost.cmake:1384 (message):
     New Boost version may have incorrect or missing dependencies and
 imported
     targets
   Call Stack (most recent call first):
     /opt/local/share/cmake-3.24/Modules/FindBoost.cmake:1507
 (_Boost_COMPONENT_DEPENDENCIES)
     /opt/local/share/cmake-3.24/Modules/FindBoost.cmake:2118
 (_Boost_MISSING_DEPENDENCIES)
     external/boost.cmake:3 (find_package)
     CMakeLists.txt:641 (include)


   -- Found Boost: /opt/local/libexec/boost/1.81/include (found suitable
 version "1.81.0", minimum required is "1.4") found components: math_tr1
   -- Looking for sgemm_
   -- Looking for sgemm_ - not found
   -- Looking for sgemm_
   -- Looking for sgemm_ - not found
   -- Looking for sgemm_
   -- Looking for sgemm_ - not found
   -- Looking for sgemm
   -- Looking for sgemm - not found
   -- Looking for sgemm
   -- Looking for sgemm - not found
   -- Looking for sgemm
   -- Looking for sgemm - not found
   -- Looking for sgemm__
   -- Looking for sgemm__ - not found
   -- Looking for sgemm__
   -- Looking for sgemm__ - not found
   -- Looking for sgemm__
   -- Looking for sgemm__ - not found
   -- Looking for SGEMM
   -- Looking for SGEMM - not found
   -- Looking for SGEMM
   -- Looking for SGEMM - not found
   -- Looking for SGEMM
   -- Looking for SGEMM - not found
   -- Looking for SGEMM_
   -- Looking for SGEMM_ - not found
   -- Looking for SGEMM_
   -- Looking for SGEMM_ - not found
   -- Looking for SGEMM_
   -- Looking for SGEMM_ - not found
   CMake Error at external/lapack.cmake:83 (message):
     Unable to link against BLAS function.  Specify the BLAS library in
     LAPACK_LIBRARIES.
   Call Stack (most recent call first):
     CMakeLists.txt:643 (include)


   -- Configuring incomplete, errors occurred!
 }}}

 Initially I attributed that to a recent commit to upstream:
 https://github.com/m-a-d-n-e-s-s/madness/issues/504

 However, when I tried revbumping our existing version of `madness`, it
 failed identically. It also fails now on Sonoma for me locally. Building
 with GCC on 10.6 PowerPC works fine.

 I have no idea what goes wrong. Could someone help here?

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


More information about the macports-tickets mailing list