[MacPorts] #71982: root6 6.34.02: python312 support not considered during build
MacPorts
noreply at macports.org
Fri Jan 31 14:22:56 UTC 2025
#71982: root6 6.34.02: python312 support not considered during build
------------------------------+--------------------
Reporter: tommasodiotalevi | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: root6
------------------------------+--------------------
The port is building with no errors. However, the specific python version
support is not working. Choosing +python312 (which is selected by
default), is ignored and python313 is finally chosen.
Inspecting the configuration (in verbose mode), output the following:
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/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 -Dgnuinstall=ON -Drpath=ON
-DCMAKE_INSTALL_PREFIX="/opt/local/libexec/root6"
-DCMAKE_INSTALL_SYSCONFDIR="/opt/local/libexec/root6/etc/root"
-DCMAKE_INSTALL_NAME_DIR="/opt/local/libexec/root6/lib/root" -Dfortran=ON
-Dbuiltin_davix=OFF -Dbuiltin_freetype=ON -Dbuiltin_glew=ON
-Dbuiltin_pcre=OFF -Dbuiltin_zlib=OFF -Dbuiltin_lzma=OFF -Dbuiltin_tbb=OFF
-Ddavix=ON -Dfftw3=OFF -Dkrb5=OFF -Dmysql=OFF -Dsqlite=OFF -Dodbc=OFF
-Dopengl=ON -Dpythia6=OFF -Dpythia8=OFF -Droofit=ON -Dssl=ON -Dxml=ON
-Dpyroot=ON -Dfitsio=OFF -Dpgsql=OFF -Ddcache=OFF -Dchirp=OFF -Dhdfs=OFF
-Druby=OFF -Dtmva=ON -Dqt=OFF -Dqtgsi=OFF -Dgviz=ON -Dsoversion=ON
-Dcxx14=OFF -Dlibcxx=ON -Dxrootd=ON -Dbuiltin_ftgl=ON -Dbuiltin_gsl=ON
-Dmathmore=ON -Dgenvector=ON -Dunuran=ON -Dgdml=ON -Dhttp=ON -Dvc=OFF
-Dastiff=ON -Dgeocad=OFF -Dr=OFF -Droot7=ON -Dwebgui=ON
-Dbuiltin_veccore=OFF -DPNG_LIBRARY=/opt/local/lib/libpng.dylib
-DPNG_PNG_INCLUDE_DIR=/opt/local/include -Druntime_cxxmodules=OFF
-DPYTHON_INCLUDE_DIR="/opt/local/Library/Frameworks/Python.framework/Versions/3.12/Headers"
-DPYTHON_EXECUTABLE="/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12"
-DPYTHON_LIBRARY="/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/libpython3.12.dylib"
-DXROOTD_INCLUDE_DIR="/opt/local/include/xrootd"
-DGRAPHVIZ_INCLUDE_DIR="/opt/local/include"
-DLIBXML2_INCLUDE_DIR="/opt/local/include/libxml2"
-DLIBXML2_LIBRARIES="/opt/local/lib/libxml2.dylib"
-DLIBXML2_LIBRARY="/opt/local/lib/libxml2.dylib"
-DLIBXML2_XMLLINT_EXECUTABLE="/opt/local/bin/xmllint" -Dcocoa=ON -Dx11=OFF
-DOPENSSL_ROOT_DIR=/opt/local/libexec/openssl3
-DOPENSSL_INCLUDE_DIR=/opt/local/libexec/openssl3/include
-DWITH_SSL=/opt/local/libexec/openssl3 -DCMAKE_OSX_ARCHITECTURES="arm64"
-DCMAKE_CXX_STANDARD=17 -DCMAKE_OSX_DEPLOYMENT_TARGET="15.0"
-DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/root-6-34-02
-- The C compiler identification is AppleClang 16.0.0.16000026
-- The CXX compiler identification is AppleClang 16.0.0.16000026
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /opt/local/bin/git (found version "2.48.0")
-- Building ROOT version 6.34.02
-- Looking for a Fortran compiler
-- Looking for a Fortran compiler - /opt/local/bin/gfortran-mp-14
-- The Fortran compiler identification is GNU 14.2.0
-- Checking whether Fortran compiler has -isysroot
-- Checking whether Fortran compiler has -isysroot - yes
-- Checking whether Fortran compiler supports OSX deployment target flag
-- Checking whether Fortran compiler supports OSX deployment target flag -
yes
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /opt/local/bin/gfortran-mp-14 -
skipped
-- Looking for a CUDA compiler
-- Looking for a CUDA compiler - NOTFOUND
-- The default C++ standard in use by the detected compiler
(/usr/bin/clang++) is lower than C++17. Setting C++17 as the minimum
standard.
-- Performing Test HAS_LIBCXX11
-- Performing Test HAS_LIBCXX11 - Success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found a macOS system
-- Found an AArch64 system
-- Performing Test GLIBCXX_USE_CXX11_ABI
-- Performing Test GLIBCXX_USE_CXX11_ABI - Failed
-- ROOT default compression algorithm: zlib
-- Checking internet connectivity
-- Checking internet connectivity - found
-- Looking for ZLib
-- Found ZLIB: /opt/local/lib/libz.dylib (found version "1.3.1")
-- Looking for nlohmann/json.hpp
-- Found nlohmann/json.hpp in /opt/local/include;/opt/local/include (found
version 3.11.3)
-- Looking for Unuran
-- Could NOT find Unuran (missing: UNURAN_LIBRARY UNURAN_INCLUDE_DIR)
-- Unuran not found. Switching on builtin_unuran option
-- Building freetype version 2.12.1 included in ROOT itself
-- Looking for PCRE
-- Found PCRE2: /opt/local/include (found version "10.44")
-- Looking for LZMA
-- Looking for lzma_auto_decoder in /opt/local/lib/liblzma.dylib
-- Looking for lzma_auto_decoder in /opt/local/lib/liblzma.dylib - found
-- Looking for lzma_easy_encoder in /opt/local/lib/liblzma.dylib
-- Looking for lzma_easy_encoder in /opt/local/lib/liblzma.dylib - found
-- Looking for lzma_lzma_preset in /opt/local/lib/liblzma.dylib
-- Looking for lzma_lzma_preset in /opt/local/lib/liblzma.dylib - found
-- Found LibLZMA: /opt/local/lib/liblzma.dylib (found version "5.6.4")
-- Looking for xxHash
-- Found xxHash: /opt/local/lib/libxxhash.dylib (found suitable version
"0.8.3", minimum required is "0.8")
-- Looking for ZSTD
-- Found ZSTD: /opt/local/lib/libzstd.dylib
-- Looking for LZ4
-- Found LZ4: /opt/local/lib/liblz4.dylib (found version "1.10.0")
-- Found GIF: /opt/local/lib/libgif.dylib (found version "4.2.3")
-- Found TIFF: /opt/local/lib/libtiff.dylib (found version "4.7.0")
-- Found PNG: /opt/local/lib/libpng.dylib (found version "1.6.45")
-- Found JPEG: /opt/local/lib/libjpeg.dylib (found version "80")
-- Looking for GSL
-- Downloading and building GSL version 2.5
-- Looking for Python
-- Could NOT find Python3 (missing: Python3_NumPy_INCLUDE_DIRS NumPy)
(found suitable version "3.13.1", minimum required is "3.8")
...
(py312-numpy is installed)
Best,
Tommaso
--
Ticket URL: <https://trac.macports.org/ticket/71982>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list