Skip to content

bump ROOT to 6.36 #147

@tomeichlersmith

Description

@tomeichlersmith

The ROOT 6.36 bump is getting complicated, so I'm making an issue for my notes.

Just changing the version number without changing anything else is working on x86_64 (AMD) but failing on the ARM build.

Output copied for posterity: bump-root-naive-6.36-ci-logs.tar.gz

ROOT Compilation Failure:

#18 113867.4 [ 76%] Built target Tree
#18 113867.7 [ 76%] Generating G__TreePlayer.cxx, ../../lib/TreePlayer.pcm
#18 113873.3 In file included from input_line_10:34:
#18 113873.3 /build/include/TMPWorkerTree.h:16:10: remark: building module 'MultiProc' as '/build/lib/MultiProc.pcm' [-Rmodule-build]
#18 113873.4 #include "TMPWorker.h"
#18 113873.4          ^
#18 113873.4 Error: Building module 'MultiProc' implicitly. If 'MultiProc' requires a 
#18 113873.4 dictionary please specify build dependency: 'G__TreePlayer.cxx' depends on 'MultiProc'.
#18 113873.4 Otherwise, specify '-mByproduct MultiProc' to disable this diagnostic.
#18 113902.7 gmake[2]: *** [tree/treeplayer/CMakeFiles/G__TreePlayer.dir/build.make:153: tree/treeplayer/G__TreePlayer.cxx] Error 1
#18 113902.7 gmake[1]: *** [CMakeFiles/Makefile2:41050: tree/treeplayer/CMakeFiles/G__TreePlayer.dir/all] Error 2
#18 113902.8 gmake: *** [Makefile:156: all] Error 2
#18 ERROR: process "/bin/sh -c mkdir src &&    ${__wget} [https://root.cern/download/root_v${ROOT_VERSION}.source.tar.gz](https://root.cern/download/root_v$%7BROOT_VERSION%7D.source.tar.gz) |     ${__untar} &&    cmake       -DCMAKE_BUILD_TYPE=Release       -DCMAKE_CXX_STANDARD=20       -DCMAKE_INSTALL_PREFIX=${__prefix}       -DCMAKE_INSTALL_LIBDIR=lib       -Dgnuinstall=ON       -Dgminimal=ON       -Dasimage=ON       -Dgeom=ON       -Dgdml=ON       -Dopengl=ON       -Dpyroot=ON       -Dxrootd=OFF       -Dmathmore=ON       -Dpythia8=ON       -B build       -S src     && cmake --build build --target install -j$NPROC &&    rm -rf build src &&    ldconfig" did not complete successfully: exit code: 2
------
 > [11/29] RUN mkdir src &&    wget -q -O - https://root.cern/download/root_v6.36.04.source.tar.gz |     tar -xz --strip-components=1 --directory src &&    cmake       -DCMAKE_BUILD_TYPE=Release       -DCMAKE_CXX_STANDARD=20       -DCMAKE_INSTALL_PREFIX=/usr/local       -DCMAKE_INSTALL_LIBDIR=lib       -Dgnuinstall=ON       -Dgminimal=ON       -Dasimage=ON       -Dgeom=ON       -Dgdml=ON       -Dopengl=ON       -Dpyroot=ON       -Dxrootd=OFF       -Dmathmore=ON       -Dpythia8=ON       -B build       -S src     && cmake --build build --target install -j1 &&    rm -rf build src &&    ldconfig:
input_line_10:34:
113873.3 /build/include/TMPWorkerTree.h:16:10: remark: building module 'MultiProc' as '/build/lib/MultiProc.pcm' [-Rmodule-build]
113873.4 #include "TMPWorker.h"
113873.4          ^
113873.4 Error: Building module 'MultiProc' implicitly. If 'MultiProc' requires a 
113873.4 dictionary please specify build dependency: 'G__TreePlayer.cxx' depends on 'MultiProc'.
113873.4 Otherwise, specify '-mByproduct MultiProc' to disable this diagnostic.
113902.7 gmake[2]: *** [tree/treeplayer/CMakeFiles/G__TreePlayer.dir/build.make:153: tree/treeplayer/G__TreePlayer.cxx] Error 1
113902.7 gmake[1]: *** [CMakeFiles/Makefile2:41050: tree/treeplayer/CMakeFiles/G__TreePlayer.dir/all] Error 2
113902.8 gmake: *** [Makefile:156: all] Error 2

The official ROOT docker container does not do an ARM build1 so I think I have to figure it out myself.

ROOT has the same CMake configuration as far as I can tell:

tom@iroh:~/Downloads/ci-logs$ grep 'Enabled support for' build-a*
build-amd64.txt:2025-10-14T12:07:19.3084607Z #18 37.84 -- Enabled support for:  asimage builtin_clang builtin_cling builtin_llvm builtin_xxhash gdml geom gnuinstall mathmore opengl pyroot pythia8 runtime_cxxmodules shared x11
build-arm64.txt:2025-10-16T17:12:56.4182890Z #18 489.1 -- Enabled support for:  asimage builtin_clang builtin_cling builtin_llvm builtin_xxhash gdml geom gnuinstall mathmore opengl pyroot pythia8 runtime_cxxmodules shared x11

so its not like we are accidentally building something in ARM that wasn't built in AMD.

Footnotes

  1. https://github.com/root-project/root-docker/blob/743afc099cf062e3600bafed231d798e43008c41/ubuntu2404/Dockerfile#L8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions