wlav / cppyy

Other
384 stars 38 forks source link

Compile-from-source failure, drawing on 3.0.0 from PyPI #198

Closed jpivarski closed 7 months ago

jpivarski commented 8 months ago

Hi, sorry to report this! I tried installing from source using the instructions in

https://cppyy.readthedocs.io/en/latest/installation.html#install-from-source

I'm in a new conda environment with no ROOT in my environment. These are the packages:

# packages in environment at /home/jpivarski/mambaforge/envs/cppyy:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
awkward                   2.4.6              pyhd8ed1ab_0    conda-forge
awkward-cpp               24              py310hd41b1e2_0    conda-forge
binutils                  2.40                 hdd6e379_0    conda-forge
binutils_impl_linux-64    2.40                 hf600244_0    conda-forge
binutils_linux-64         2.40                 hbdbef99_2    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.20.1               hd590300_1    conda-forge
c-compiler                1.6.0                hd590300_0    conda-forge
ca-certificates           2023.7.22            hbcca054_0    conda-forge
cffi                      1.16.0          py310h2fee648_0    conda-forge
cmake                     3.27.6               hcfe8598_0    conda-forge
cxx-compiler              1.6.0                h00ab1b0_0    conda-forge
gcc                       12.3.0               h8d2909c_2    conda-forge
gcc_impl_linux-64         12.3.0               he2b93b0_2    conda-forge
gcc_linux-64              12.3.0               h76fc315_2    conda-forge
gxx                       12.3.0               h8d2909c_2    conda-forge
gxx_impl_linux-64         12.3.0               he2b93b0_2    conda-forge
gxx_linux-64              12.3.0               h8a814eb_2    conda-forge
importlib-metadata        6.8.0              pyha770c72_0    conda-forge
importlib_metadata        6.8.0                hd8ed1ab_0    conda-forge
kernel-headers_linux-64   2.6.32              he073ed8_16    conda-forge
keyutils                  1.6.1                h166bdaf_0    conda-forge
krb5                      1.21.2               h659d440_0    conda-forge
ld_impl_linux-64          2.40                 h41732ed_0    conda-forge
libblas                   3.9.0           19_linux64_openblas    conda-forge
libcblas                  3.9.0           19_linux64_openblas    conda-forge
libcurl                   8.4.0                hca28451_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libexpat                  2.5.0                hcb278e6_1    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-devel_linux-64     12.3.0               h8bca6fd_2    conda-forge
libgcc-ng                 13.2.0               h807b86a_2    conda-forge
libgfortran-ng            13.2.0               h69a702a_2    conda-forge
libgfortran5              13.2.0               ha4646dd_2    conda-forge
libgomp                   13.2.0               h807b86a_2    conda-forge
liblapack                 3.9.0           19_linux64_openblas    conda-forge
libllvm14                 14.0.6               hcd5def8_4    conda-forge
libnghttp2                1.52.0               h61bc06f_0    conda-forge
libnsl                    2.0.1                hd590300_0    conda-forge
libopenblas               0.3.24          pthreads_h413a1c8_0    conda-forge
libsanitizer              12.3.0               h0f45ef3_2    conda-forge
libsqlite                 3.43.2               h2797004_0    conda-forge
libssh2                   1.11.0               h0841786_0    conda-forge
libstdcxx-devel_linux-64  12.3.0               h8bca6fd_2    conda-forge
libstdcxx-ng              13.2.0               h7e041cc_2    conda-forge
libuuid                   2.38.1               h0b41bf4_0    conda-forge
libuv                     1.46.0               hd590300_0    conda-forge
libzlib                   1.2.13               hd590300_5    conda-forge
llvmlite                  0.40.1          py310h1b8f574_0    conda-forge
lz4                       4.3.2           py310h350c4a5_1    conda-forge
lz4-c                     1.9.4                hcb278e6_0    conda-forge
make                      4.3                  hd18ef5c_1    conda-forge
ncurses                   6.4                  hcb278e6_0    conda-forge
numba                     0.57.1          py310h0f6aa51_0    conda-forge
numpy                     1.24.4          py310ha4c1d20_0    conda-forge
openssl                   3.1.4                hd590300_0    conda-forge
packaging                 23.2               pyhd8ed1ab_0    conda-forge
pip                       23.3.1             pyhd8ed1ab_0    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
python                    3.10.12         hd12c33a_0_cpython    conda-forge
python-xxhash             3.4.1           py310h2372a71_0    conda-forge
python_abi                3.10                    4_cp310    conda-forge
readline                  8.2                  h8228510_1    conda-forge
rhash                     1.4.4                hd590300_0    conda-forge
setuptools                68.2.2             pyhd8ed1ab_0    conda-forge
sysroot_linux-64          2.12                he073ed8_16    conda-forge
tk                        8.6.13               h2797004_0    conda-forge
typing-extensions         4.8.0                hd8ed1ab_0    conda-forge
typing_extensions         4.8.0              pyha770c72_0    conda-forge
tzdata                    2023c                h71feb2d_0    conda-forge
uproot                    5.1.2                ha770c72_0    conda-forge
uproot-base               5.1.2              pyhd8ed1ab_0    conda-forge
vector                    1.1.1.post1        pyhd8ed1ab_0    conda-forge
wheel                     0.41.2             pyhd8ed1ab_0    conda-forge
xxhash                    0.8.2                hd590300_0    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge
zipp                      3.17.0             pyhd8ed1ab_0    conda-forge
zstandard                 0.21.0          py310h1275a96_1    conda-forge
zstd                      1.5.5                hfc55251_0    conda-forge

(All of my compilers come from conda.)

Here's the output from the pip-install from source:

% STDCXX=17 MAKE_NPROCS=32 pip install --verbose cppyy --no-binary=cppyy-cling
Using pip 23.3.1 from /home/jpivarski/mambaforge/envs/cppyy/lib/python3.10/site-packages/pip (python 3.10)
Collecting cppyy
  Using cached cppyy-3.0.0.tar.gz (27 kB)
  Running command pip subprocess to install build dependencies
  Collecting setuptools
    Using cached setuptools-68.2.2-py3-none-any.whl.metadata (6.3 kB)
  Collecting wheel
    Using cached wheel-0.41.2-py3-none-any.whl.metadata (2.2 kB)
  Using cached setuptools-68.2.2-py3-none-any.whl (807 kB)
  Using cached wheel-0.41.2-py3-none-any.whl (64 kB)
  Installing collected packages: wheel, setuptools
  Successfully installed setuptools-68.2.2 wheel-0.41.2
  Installing build dependencies ... done
  Running command Getting requirements to build wheel
  Getting requirements to build wheel ... done
  Running command pip subprocess to install backend dependencies
  Collecting cppyy-backend==1.14.11
    Using cached cppyy-backend-1.14.11.tar.gz (34 kB)
    Installing build dependencies: started
    Installing build dependencies: still running...
    Installing build dependencies: still running...
    Installing build dependencies: still running...
    Installing build dependencies: still running...
    Installing build dependencies: still running...
    Installing build dependencies: still running...
    Installing build dependencies: still running...
    Installing build dependencies: still running...
    Installing build dependencies: still running...
    Installing build dependencies: still running...
    Installing build dependencies: still running...
    Installing build dependencies: still running...
    Installing build dependencies: still running...
    Installing build dependencies: still running...
    Installing build dependencies: still running...
    Installing build dependencies: still running...
    Installing build dependencies: finished with status 'error'
    error: subprocess-exited-with-error

    × pip subprocess to install build dependencies did not run successfully.
    │ exit code: 1
    ╰─> [3687 lines of output]
        Collecting cppyy-cling==6.28.0
          Using cached cppyy-cling-6.28.0.tar.gz (56.9 MB)
          Installing build dependencies: started
          Installing build dependencies: finished with status 'done'
          Getting requirements to build wheel: started
          Getting requirements to build wheel: finished with status 'done'
          Preparing metadata (pyproject.toml): started
          Preparing metadata (pyproject.toml): finished with status 'done'
        Collecting setuptools
          Using cached setuptools-68.2.2-py3-none-any.whl.metadata (6.3 kB)
        Collecting wheel
          Using cached wheel-0.41.2-py3-none-any.whl.metadata (2.2 kB)
        Using cached setuptools-68.2.2-py3-none-any.whl (807 kB)
        Using cached wheel-0.41.2-py3-none-any.whl (64 kB)
        Building wheels for collected packages: cppyy-cling
          Building wheel for cppyy-cling (pyproject.toml): started
          Building wheel for cppyy-cling (pyproject.toml): still running...
          Building wheel for cppyy-cling (pyproject.toml): still running...
          Building wheel for cppyy-cling (pyproject.toml): still running...
          Building wheel for cppyy-cling (pyproject.toml): still running...
          Building wheel for cppyy-cling (pyproject.toml): still running...
          Building wheel for cppyy-cling (pyproject.toml): still running...
          Building wheel for cppyy-cling (pyproject.toml): still running...
          Building wheel for cppyy-cling (pyproject.toml): still running...
          Building wheel for cppyy-cling (pyproject.toml): still running...
          Building wheel for cppyy-cling (pyproject.toml): still running...
          Building wheel for cppyy-cling (pyproject.toml): still running...
          Building wheel for cppyy-cling (pyproject.toml): still running...
          Building wheel for cppyy-cling (pyproject.toml): still running...
          Building wheel for cppyy-cling (pyproject.toml): still running...
          Building wheel for cppyy-cling (pyproject.toml): still running...
          Building wheel for cppyy-cling (pyproject.toml): still running...
          Building wheel for cppyy-cling (pyproject.toml): finished with status 'error'
          error: subprocess-exited-with-error

          × Building wheel for cppyy-cling (pyproject.toml) did not run successfully.
          │ exit code: 1
          ╰─> [3643 lines of output]
              running bdist_wheel
              running build
              running build_py
              creating build
              creating build/lib
              creating build/lib/cppyy_backend
              copying python/cppyy_backend/_version.py -> build/lib/cppyy_backend
              copying python/cppyy_backend/bindings_utils.py -> build/lib/cppyy_backend
              copying python/cppyy_backend/_cling_config.py -> build/lib/cppyy_backend
              copying python/cppyy_backend/_rootcling.py -> build/lib/cppyy_backend
              copying python/cppyy_backend/_get_cppflags.py -> build/lib/cppyy_backend
              copying python/cppyy_backend/_cppyy_generator.py -> build/lib/cppyy_backend
              copying python/cppyy_backend/loader.py -> build/lib/cppyy_backend
              copying python/cppyy_backend/_genreflex.py -> build/lib/cppyy_backend
              copying python/cppyy_backend/__init__.py -> build/lib/cppyy_backend
              creating build/lib/cppyy_backend/cmake
              copying python/cppyy_backend/cmake/FindLibClang.cmake -> build/lib/cppyy_backend/cmake
              copying python/cppyy_backend/cmake/FindCppyy.cmake -> build/lib/cppyy_backend/cmake
              creating build/lib/cppyy_backend/pkg_templates
              copying python/cppyy_backend/pkg_templates/__init__.py.in -> build/lib/cppyy_backend/pkg_templates
              copying python/cppyy_backend/pkg_templates/setup.cfg.in -> build/lib/cppyy_backend/pkg_templates
              copying python/cppyy_backend/pkg_templates/test_bindings.py.in -> build/lib/cppyy_backend/pkg_templates
              copying python/cppyy_backend/pkg_templates/setup.py.in -> build/lib/cppyy_backend/pkg_templates
              copying python/cppyy_backend/pkg_templates/MANIFEST.in.in -> build/lib/cppyy_backend/pkg_templates
              copying python/cppyy_backend/pkg_templates/initializor.py -> build/lib/cppyy_backend/pkg_templates
              Now building cppyy-cling
              Creating build directory /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir ...
              Running cmake for cppyy-cling: cmake /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src -Wno-dev -DCMAKE_CXX_STANDARD=17 -DLLVM_ENABLE_TERMINFO=0 -DLLVM_ENABLE_ASSERTIONS=0 -Dminimal=ON -Dbuiltin_cling=ON -Druntime_cxxmodules=OFF -Dbuiltin_zlib=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/install/cppyy_backend
              -- The C compiler identification is GNU 12.3.0
              -- The CXX compiler identification is GNU 12.3.0
              -- Detecting C compiler ABI info
              -- Detecting C compiler ABI info - done
              -- Check for working C compiler: /home/jpivarski/mambaforge/envs/cppyy/bin/x86_64-conda-linux-gnu-cc - 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: /home/jpivarski/mambaforge/envs/cppyy/bin/x86_64-conda-linux-gnu-c++ - skipped
              -- Detecting CXX compile features
              -- Detecting CXX compile features - done
              -- Found Git: /usr/bin/git (found version "2.34.1")
              -- Looking for Python
              -- Found Python3: /home/jpivarski/mambaforge/envs/cppyy/bin/python3.10 (found version "3.10.12") found components: Interpreter Development NumPy Development.Module Development.Embed
              -- Could NOT find Python2 (missing: Python2_EXECUTABLE Python2_INCLUDE_DIRS Python2_LIBRARIES Python2_NumPy_INCLUDE_DIRS Interpreter Development NumPy Development.Module Development.Embed)
                  Reason given by package:
                      Interpreter: Wrong major version for the interpreter "/home/jpivarski/mambaforge/envs/cppyy/bin/python"

              -- ROOT default compression algorithm: zlib
              -- Found GCC. Major version 12, minor version 3
              -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
              -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
              -- Looking for pthread_create in pthreads
              -- Looking for pthread_create in pthreads - not found
              -- Looking for pthread_create in pthread
              -- Looking for pthread_create in pthread - found
              -- Found Threads: TRUE
              -- Found a 64bit system
              -- Found GNU compiler collection
              -- Performing Test GLIBCXX_USE_CXX11_ABI
              -- Performing Test GLIBCXX_USE_CXX11_ABI - Success
              -- Build Platform: linux
              -- Build Compiler: GNU 12.3.0
              -- Build Processor: x86_64
              -- Build Architecture: linuxx8664gcc
              -- Build Type: 'RelWithDebInfo' (flags = '-O2 -g -DNDEBUG')
              -- Compiler Flags: -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/jpivarski/mambaforge/envs/cppyy/include -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/jpivarski/mambaforge/include -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/jpivarski/mambaforge/include -std=c++17 -Wno-implicit-fallthrough -Wno-noexcept-type -pipe  -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -pthread -O2 -g -DNDEBUG
              -- Binutils as version: 2.40
              -- Performing Test SSE_FLAG
              -- Performing Test SSE_FLAG - Success
              -- Performing Test SSE_COMPILATION
              -- Performing Test SSE_COMPILATION - Failed
              -- Performing Test SSE_RUN
              -- Performing Test SSE_RUN - Failed
              -- Performing Test AVX2_FLAG
              -- Performing Test AVX2_FLAG - Success
              -- Performing Test AVX2_COMPILATION
              -- Performing Test AVX2_COMPILATION - Failed
              -- Performing Test AVX2_RUN
              -- Performing Test AVX2_RUN - Failed
              -- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB
              -- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
              -- Building LLVM in 'Release' mode.
              -- The ASM compiler identification is GNU
              -- Found assembler: /home/jpivarski/mambaforge/envs/cppyy/bin/x86_64-conda-linux-gnu-cc
              -- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.13")
              -- Looking for backtrace
              -- Looking for backtrace - found
              -- backtrace facility detected in default set of libraries
              -- Found Backtrace: /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/sysroot/usr/include
              -- Native target architecture is X86
              -- Threads disabled.
              -- Doxygen disabled.
              -- Go bindings disabled.
              -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
              -- OCaml bindings disabled.
              -- Could NOT find Python module pygments
              -- Could NOT find Python module pygments.lexers.c_cpp
              -- Could NOT find Python module yaml
              -- LLVM host triple: x86_64-unknown-linux-gnu
              -- LLVM default target triple: x86_64-unknown-linux-gnu
              -- Building with -fPIC
              -- Found Python3: /home/jpivarski/mambaforge/envs/cppyy/bin/python3.10 (found suitable version "3.10.12", minimum required is "3.0") found components: Interpreter
              -- Linker detection: GNU ld
              -- Targeting X86
              -- Targeting NVPTX
              -- Clang version: 13.0.0
              -- Not building amdgpu-arch: hsa-runtime64 not found
              -- Cling version (from VERSION file): ROOT_1.0~dev
              -- Cling will look for C++ headers in '/home/jpivarski/mambaforge/envs/cppyy/bin/../lib/gcc/../../x86_64-conda-linux-gnu/include/c++/12.3.0:/home/jpivarski/mambaforge/envs/cppyy/bin/../lib/gcc/../../x86_64-conda-linux-gnu/include/c++/12.3.0/x86_64-conda-linux-gnu:/home/jpivarski/mambaforge/envs/cppyy/bin/../lib/gcc/../../x86_64-conda-linux-gnu/include/c++/12.3.0/backward' at runtime.
              -- And then fallback to: 'x86_64-conda-linux-gnu-c++'
              -- Performing Test CXX_HAS_Wno_maybe_uninitialized
              -- Performing Test CXX_HAS_Wno_maybe_uninitialized - Success
              -- Performing Test __result
              -- Performing Test __result - Success
              -- Performing Test CXX_HAS_fno_rtti
              -- Performing Test CXX_HAS_fno_rtti - Success
              -- Performing Test found_setresuid
              -- Performing Test found_setresuid - Success
              -- Performing Test found_stdstringview
              -- Performing Test found_stdstringview - Success
              -- Performing Test found_stod_stringview
              -- Performing Test found_stod_stringview - Failed
              -- Performing Test found_opplusequal_stringview
              -- Performing Test found_opplusequal_stringview - Success
              -- Performing Test found_stdapply
              -- Performing Test found_stdapply - Success
              -- Performing Test found_stdinvoke
              -- Performing Test found_stdinvoke - Success
              -- Performing Test found_stdindexsequence
              -- Performing Test found_stdindexsequence - Success
              -- Performing Test found_attribute_always_inline
              -- Performing Test found_attribute_always_inline - Success
              -- Performing Test has_found_attribute_noinline
              -- Performing Test has_found_attribute_noinline - Success
              Running /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/build/unix/compiledata.sh
              Making /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/compiledata.h
              -- Configuring done (10.9s)
              -- Generating done (1.0s)
              -- Build files have been written to: /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir
              Now building cppyy-cling and dependencies ...
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TBufferFile.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Generating include/module.modulemap
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/clib/inc/strlcpy.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/clib/inc/snprintf.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/clingutils/inc/TClingRuntime.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TBufferIO.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/cont/inc/TArray.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/foundation/inc/ROOT/RMakeUnique.hxx to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/meta/inc/RootMetaSelection.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TCollectionProxyFactory.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TContainerConverters.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Building C object builtins/zlib/CMakeFiles/ZLIB.dir/adler32.c.o
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/textinput/inc/Getline.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Building C object builtins/zlib/CMakeFiles/ZLIB.dir/compress.c.o
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TDirectoryFile.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/thread/inc/PosixThreadInc.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Building C object builtins/zlib/CMakeFiles/ZLIB.dir/crc32.c.o
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TEmulatedCollectionProxy.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/foundation/inc/ROOT/RSpan.hxx to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/cont/inc/TArrayC.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/clingutils/inc/root_std_complex.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/cont/inc/TBits.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/foundation/inc/ESTLType.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/meta/inc/TBaseClass.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/zip/inc/Compression.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/meta/inc/TClass.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Building CXX object interpreter/llvm/src/tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/ASTTableGen.cpp.o
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/thread/inc/ROOT/TReentrantRWLock.hxx to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/unix/inc/TUnixSystem.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Building CXX object interpreter/llvm/src/tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/ClangASTNodesEmitter.cpp.o
              [  0%] Built target copymodulemap
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/base/inc/Bswapcpy.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/base/inc/Bytes.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/cont/inc/TClassTable.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/meta/inc/TClassRef.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Building CXX object interpreter/llvm/src/lib/Demangle/CMakeFiles/LLVMDemangle.dir/Demangle.cpp.o
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/meta/inc/TClassGenerator.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  0%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/foundation/inc/ROOT/RStringView.hxx to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  1%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/base/inc/Byteswap.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  1%] Built target move_header_core_textinput
              [  1%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TEmulatedMapProxy.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  1%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/zip/inc/RZip.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  1%] Building C object builtins/zlib/CMakeFiles/ZLIB.dir/deflate.c.o
              [  1%] Built target move_header_core_clib
              [  1%] Built target move_header_core_clingutils
              [  1%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/thread/inc/ROOT/TSpinMutex.hxx to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  1%] Building CXX object interpreter/llvm/src/lib/Demangle/CMakeFiles/LLVMDemangle.dir/ItaniumDemangle.cpp.o
              [  1%] Building C object builtins/zlib/CMakeFiles/ZLIB.dir/gzclose.c.o
              [  1%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/thread/inc/TCondition.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  1%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/foundation/inc/ROOT/RWrap_libcpp_string_view.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  1%] Built target move_header_core_unix
              [  1%] Building CXX object interpreter/llvm/src/utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
              [  1%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/cont/inc/TCollection.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  1%] Building C object builtins/zlib/CMakeFiles/ZLIB.dir/gzlib.c.o
              [  1%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/core/base/inc/DllImport.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  1%] Copying header /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TFile.h to /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include
              [  1%] Building CXX object interpreter/llvm/src/utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o
              [  1%] Building CXX object interpreter/llvm/src/tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/ClangASTPropertiesEmitter.cpp.o
...
              [ 98%] Building CXX object io/io/CMakeFiles/RIOLegacy.dir/src/TDirectoryFile.cxx.o
              [ 98%] Building CXX object io/io/CMakeFiles/RIOLegacy.dir/src/TFree.cxx.o
              [ 98%] Building CXX object io/io/CMakeFiles/RIOLegacy.dir/src/TFile.cxx.o
              [ 98%] Building CXX object io/io/CMakeFiles/RIOLegacy.dir/src/TGenCollectionStreamer.cxx.o
              [ 98%] Building CXX object io/io/CMakeFiles/RIOLegacy.dir/src/TKey.cxx.o
              [ 98%] Building CXX object io/io/CMakeFiles/RIOLegacy.dir/src/TGenCollectionProxy.cxx.o
              [ 98%] Building CXX object io/io/CMakeFiles/RIOLegacy.dir/src/TMemFile.cxx.o
              [ 98%] Building CXX object io/io/CMakeFiles/RIOLegacy.dir/src/TStreamerInfo.cxx.o
              [ 98%] Building CXX object io/io/CMakeFiles/RIOLegacy.dir/src/TStreamerInfoActions.cxx.o
              [ 98%] Building CXX object io/io/CMakeFiles/RIOLegacy.dir/src/TStreamerInfoReadBuffer.cxx.o
              [ 98%] Building CXX object io/io/CMakeFiles/RIOLegacy.dir/src/TStreamerInfoWriteBuffer.cxx.o
              In file included from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TFile.h:27,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TFree.cxx:14:
              /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TMap.h:141:30: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
                141 |                  public std::iterator<std::bidirectional_iterator_tag,
                    |                              ^~~~~~~~
              In file included from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/string:45,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TGenericClassInfo.h:15,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/Rtypes.h:179,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TObject.h:16,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TFree.h:23,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TFree.cxx:12:
              /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here
                127 |     struct _GLIBCXX17_DEPRECATED iterator
                    |                                  ^~~~~~~~
              In file included from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TFile.h:27,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TBufferFile.cxx:24:
              /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TMap.h:141:30: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
                141 |                  public std::iterator<std::bidirectional_iterator_tag,
                    |                              ^~~~~~~~
              In file included from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/string:45,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TBufferFile.cxx:22:
              /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here
                127 |     struct _GLIBCXX17_DEPRECATED iterator
                    |                                  ^~~~~~~~
              In file included from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TFile.h:27,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TStreamerInfo.cxx:36:
              /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TMap.h:141:30: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
                141 |                  public std::iterator<std::bidirectional_iterator_tag,
                    |                              ^~~~~~~~
              In file included from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/string:45,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TGenericClassInfo.h:15,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/Rtypes.h:179,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TObject.h:16,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TNamed.h:24,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TVirtualStreamerInfo.h:23,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TStreamerInfo.h:16,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TStreamerInfo.cxx:35:
              /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here
                127 |     struct _GLIBCXX17_DEPRECATED iterator
                    |                                  ^~~~~~~~
              In file included from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TFile.h:27,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TMemFile.h:15,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TMemFile.cxx:21:
              /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TMap.h:141:30: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
                141 |                  public std::iterator<std::bidirectional_iterator_tag,
                    |                              ^~~~~~~~
              In file included from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/string:45,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TGenericClassInfo.h:15,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/Rtypes.h:179,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TObject.h:16,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TNamed.h:24,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TDictionary.h:41,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TDataType.h:25,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TBuffer.h:24,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TBufferIO.h:23,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TBufferFile.h:24,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TMemFile.cxx:20:
              /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here
                127 |     struct _GLIBCXX17_DEPRECATED iterator
                    |                                  ^~~~~~~~
              In file included from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TFile.h:27,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TBufferIO.cxx:24:
              /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TMap.h:141:30: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
                141 |                  public std::iterator<std::bidirectional_iterator_tag,
                    |                              ^~~~~~~~
              In file included from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/string:45,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TGenericClassInfo.h:15,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/Rtypes.h:179,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TObject.h:16,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TNamed.h:24,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TDictionary.h:41,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TDataType.h:25,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TBuffer.h:24,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TBufferIO.h:23,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TBufferIO.cxx:20:
              /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here
                127 |     struct _GLIBCXX17_DEPRECATED iterator
                    |                                  ^~~~~~~~
              In file included from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TFile.h:27,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TKey.cxx:54:
              /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TMap.h:141:30: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
                141 |                  public std::iterator<std::bidirectional_iterator_tag,
                    |                              ^~~~~~~~
              In file included from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/string:45,
                               from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/locale_classes.h:40,
                               from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/ios_base.h:41,
                               from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/ios:42,
                               from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/istream:38,
                               from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/fstream:38,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/Riostream.h:24,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TKey.cxx:50:
              /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here
                127 |     struct _GLIBCXX17_DEPRECATED iterator
                    |                                  ^~~~~~~~
              In file included from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TFile.h:27,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TFile.cxx:104:
              /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TMap.h:141:30: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
                141 |                  public std::iterator<std::bidirectional_iterator_tag,
                    |                              ^~~~~~~~
              In file included from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/string:45,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TGenericClassInfo.h:15,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/Rtypes.h:179,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/Bytes.h:35,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TFile.cxx:93:
              /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here
                127 |     struct _GLIBCXX17_DEPRECATED iterator
                    |                                  ^~~~~~~~
              In file included from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TFile.h:27,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TStreamerInfoWriteBuffer.cxx:20:
              /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TMap.h:141:30: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
                141 |                  public std::iterator<std::bidirectional_iterator_tag,
                    |                              ^~~~~~~~
              In file included from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/string:45,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TGenericClassInfo.h:15,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/Rtypes.h:179,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TObject.h:16,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TNamed.h:24,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TDictionary.h:41,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TDataType.h:25,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TBuffer.h:24,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TStreamerInfoWriteBuffer.cxx:12:
              /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here
                127 |     struct _GLIBCXX17_DEPRECATED iterator
                    |                                  ^~~~~~~~
              In file included from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TFile.h:27,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TStreamerInfoActions.cxx:26:
              /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TMap.h:141:30: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
                141 |                  public std::iterator<std::bidirectional_iterator_tag,
                    |                              ^~~~~~~~
              In file included from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/string:45,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TGenericClassInfo.h:15,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/Rtypes.h:179,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TObject.h:16,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TNamed.h:24,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TVirtualStreamerInfo.h:23,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TStreamerInfo.h:16,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TStreamerInfoActions.cxx:12:
              /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here
                127 |     struct _GLIBCXX17_DEPRECATED iterator
                    |                                  ^~~~~~~~
              In file included from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TFile.h:27,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TDirectoryFile.cxx:29:
              /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TMap.h:141:30: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
                141 |                  public std::iterator<std::bidirectional_iterator_tag,
                    |                              ^~~~~~~~
              In file included from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/string:45,
                               from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/locale_classes.h:40,
                               from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/ios_base.h:41,
                               from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/ios:42,
                               from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/istream:38,
                               from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/fstream:38,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/Riostream.h:24,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TDirectoryFile.cxx:26:
              /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here
                127 |     struct _GLIBCXX17_DEPRECATED iterator
                    |                                  ^~~~~~~~
              In file included from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/inc/TFile.h:27,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TStreamerInfoReadBuffer.cxx:13:
              /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TMap.h:141:30: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
                141 |                  public std::iterator<std::bidirectional_iterator_tag,
                    |                              ^~~~~~~~
              In file included from /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/string:45,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TGenericClassInfo.h:15,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/Rtypes.h:179,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TObject.h:16,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TNamed.h:24,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TDictionary.h:41,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TDataType.h:25,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/builddir/include/TBuffer.h:24,
                               from /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TStreamerInfoReadBuffer.cxx:12:
              /home/jpivarski/mambaforge/envs/cppyy/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here
                127 |     struct _GLIBCXX17_DEPRECATED iterator
                    |                                  ^~~~~~~~
              /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TStreamerInfo.cxx: In member function 'virtual void CppyyLegacy::TStreamerInfo::BuildCheck(CppyyLegacy::TFile*)':
              /tmp/pip-install-bf10qyyw/cppyy-cling_fd76e220e9664993b42743ee9fceff10/src/io/io/src/TStreamerInfo.cxx:924:29: warning: 'this' pointer is null [-Wnonnull]
                924 |                      Warning("BuildCheck", "\n\
                    |                      ~~~~~~~^~~~~~~~~~~~~~~~~~~
                925 |    The StreamerInfo from %s does not match existing one (%s:%d)\n\
                    |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                926 |    The existing one has not been used yet and will be discarded.\n\
                    |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                927 |    Reading should work properly, however writing object of\n\
                    |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                928 |    type %s will not work properly.  Most likely the version number\n\
                    |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                929 |    of the class was not properly updated [See ClassDef(%s,%d)].",
                    |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                930 |                              file->GetName(), GetName(), fClassVersion, GetName(), GetName(), fClassVersion);
                    |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              [ 98%] Built target Cling
              [ 98%] Linking CXX shared library ../../lib/libRIOLegacy.so
              [ 98%] Built target RIOLegacy
              [ 98%] Building CXX object main/CMakeFiles/rootcling.dir/src/rootcling.cxx.o
              [ 98%] Linking CXX executable ../bin/rootcling
              [ 98%] Built target rootcling
              [100%] Generating etc/allDict.cxx.pch

              Generating PCH for core core/thread io/io

              ./bin/rootcling: symbol lookup error: /home/jpivarski/mambaforge/lib/libCling.so: undefined symbol: _ZTIN10TClassEdit24TInterpreterLookupHelperE
              gmake[2]: *** [CMakeFiles/onepcm.dir/build.make:79: etc/allDict.cxx.pch] Error 127
              gmake[1]: *** [CMakeFiles/Makefile2:5862: CMakeFiles/onepcm.dir/all] Error 2
              gmake: *** [Makefile:156: all] Error 2
              error: Failed to build cppyy-cling
              [end of output]

          note: This error originates from a subprocess, and is likely not a problem with pip.
          ERROR: Failed building wheel for cppyy-cling
        Failed to build cppyy-cling
        ERROR: Could not build wheels for cppyy-cling, which is required to install pyproject.toml-based projects
        [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  error: subprocess-exited-with-error

  × pip subprocess to install backend dependencies did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /home/jpivarski/mambaforge/envs/cppyy/bin/python3.10 /home/jpivarski/mambaforge/envs/cppyy/lib/python3.10/site-packages/pip/__pip-runner__.py install --ignore-installed --no-user --prefix /tmp/pip-build-env-tjcehnil/normal --no-warn-script-location --no-binary cppyy-cling --only-binary :none: -i https://pypi.org/simple -- cppyy-backend==1.14.11 cppyy-cling==6.28.0
  cwd: [inherit]
  Installing backend dependencies ... error
error: subprocess-exited-with-error

× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Incidentally, the symbol that it can't find from libCling.so is TClassEdit::TInterpreterLookupHelper, though that's probably just the first in what it's looking for.

@vgvassilev thinks it could have something to do with rtti.

wlav commented 8 months ago

I'm in a new conda environment with no ROOT in my environment.

Then where does this lib /home/jpivarski/mambaforge/lib/libCling.so come from? Seems to be located outside any environment (which would be under $HOME/mambaforge/envs). As well, libCling during the build should live in the build directory and under cppyy_backend after install. It should not appear under mambaforge\lib.

I also really don't understand the error. It seems to suggest that libCling.so is looking for TInterpreterLookupHelper, which doesn't make any sense as the latter lives in libCoreLegacy.so. What does:

$ ldd /home/jpivarski/mambaforge/lib/libCling.so

and:

$ nm /home/jpivarski/mambaforge/lib/libCling.so |& grep _ZTIN10TClassEdit24TInterpreterLookupHelperE

show?

As for the gcc12 warnings; I'm working on them atm.; there's a simple fix in ROOT.

wlav commented 8 months ago

Also to add, nothing in cppyy is going to look for TClassEdit::TInterpreterLookupHelper. If anything, it would look for CppyyLegacy::TClassEdit::TInterpreterLookupHelper: the ROOT code left over in cppyy-cling was modified to live in namespace CppyyLegacy instead of the global one to prevent clashes with user code as ROOT code is otherwise exposed through the PCH for the benefit of rootcling.

wlav commented 8 months ago

gcc12 warnings have been mostly fixed in repo.

wlav commented 7 months ago

The gcc12 issues should all be good now with release 3.1.0. Feel free to reopen if you find otherwise.

jpivarski commented 7 months ago

cppyy 3.1.0: Fantastic! I'll check it out. (Sorry that I haven't gotten back to this, but when I do, I'll do a second test on a virtual machine that has never had ROOT on it.)

jpivarski commented 7 months ago

I confirm that cppyy 3.1.2 installs without any trouble in a new conda environment. I made this environment with

mamba create --name cppyy python=3.10 awkward uproot vector numba compilers cmake make

to control which compilers are visible in the environment—a suite from conda-forge and not from system paths. (cmake probably isn't needed, but it's a weird fact that compilers installs a suite from GCC but not ld unless you also add the make package. Without make, the environment sees cc etc. from the conda environment and ld from /usr/bin, and they conflict.)

So that's great!