[MacPorts] #68225: OpenBLAS @0.3.24_0: hanging when building

MacPorts noreply at macports.org
Wed Sep 27 19:21:30 UTC 2023


#68225: OpenBLAS @0.3.24_0: hanging when building
---------------------------+---------------------------
  Reporter:  kickingvegas  |      Owner:  NicosPavlov
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  ventura arm64
      Port:  OpenBLAS      |
---------------------------+---------------------------

Comment (by cjones051073):

 Kirill - I think there is more going on here than just issues specific to
 OpenBLAS, and as such I am not convinced just blacklisting compilers as
 you propose is the real fix here.

 I have been seeing very similar hang ups myself, that seemed to coincide
 with the Xcode update to 15 that I recently picked up on my MacOS 13 arm64
 machine.

 For instance, I am seeing ports like libcifpp just hang up during
 configure, when using certain clang compilers.

 {{{
 Larissa ~/Projects/MacPorts/ports > sudo port -v configure libcifpp
 configure.compiler=macports-clang-17
 --->  Computing dependencies for libcifpp.
 --->  Fetching distfiles for libcifpp
 --->  Verifying checksums for libcifpp
 --->  Checksumming libcifpp-5.1.2.tar.gz
 --->  Extracting libcifpp
 --->  Extracting libcifpp-5.1.2.tar.gz
 Executing:  cd
 "/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_science_libcifpp/libcifpp/work"
 && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/libcifpp/libcifpp-5.1.2.tar.gz' |
 /usr/bin/tar -xf -
 --->  Configuring libcifpp
 Executing:  cd
 "/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_science_libcifpp/libcifpp/work/build"
 && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles"
 -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local"
 -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib"
 -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC"
 -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC"
 -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW
 -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON
 -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST
 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make
 -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules"
 -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules"
 -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON
 -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DBUILD_SHARED_LIBS=ON
 -DCIFPP_INSTALL_UPDATE_SCRIPT=OFF -DCIFPP_DOWNLOAD_CCD=ON
 -DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_OSX_DEPLOYMENT_TARGET="13.0"
 -DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk"
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_science_libcifpp/libcifpp/work/libcifpp-5.1.2
 -- The CXX compiler identification is Clang 17.0.1
 -- Detecting CXX compiler ABI info
 -- Detecting CXX compiler ABI info - done
 -- Check for working CXX compiler: /opt/local/bin/clang++-mp-17 - skipped
 -- Detecting CXX compile features
 -- Detecting CXX compile features - done
 Not trying to recreate symop_table_data.hpp since CCP4 is not defined
 -- Performing Test GXX_LIBSTDCPP
 -- Performing Test GXX_LIBSTDCPP - Failed
 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
 -- Found Threads: TRUE
 -- Found ZLIB: /opt/local/lib/libz.dylib (found version "1.3.#define
 ZLIB_VERSION "1.3"")
 -- Found Eigen3: /opt/local/include/eigen3 (Required is at least version
 "2.91.0")
 -- Looking for C++ include filesystem
 -- Looking for C++ include filesystem - found
 -- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED
 -- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED - Success
 -- Looking for C++ include atomic
 -- Looking for C++ include atomic - found
 -- Performing Test _CXX_ATOMIC_BUILTIN
 -- Performing Test _CXX_ATOMIC_BUILTIN - Success
 -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
 -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
 -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
 -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
 -- Performing Test COMPILER_HAS_DEPRECATED_ATTR
 -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
 <hangup>
 }}}

 I don't really believe the issue here is the compiler's themselves (which
 is why I am not convinced with your blacklisting PR above) as the issue is
 affecting clang versions and ports that have previously worked just fine,
 for years in some cases.

 I really do suspect more the Xcode update here so before we go making
 changes like the above I would first like to see if anyone can reproduce
 the issues on machines running older OSes (and Intel machines) that are
 using Xcode 14 or older. I personally only have access to a new machine
 running macOS13(arm64) these days, so cannot do this myself (as I cannot
 run an y longer my collection of older OS VMs). So we need to hear from
 others who can do this check.

-- 
Ticket URL: <https://trac.macports.org/ticket/68225#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list