-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Could NOT find Vdt error when using 6.32.02 docker image #16038
Copy link
Copy link
Closed
root-project/web
#1011Labels
Description
Check duplicate issues.
- Checked for duplicates
Description
When trying to build any image based on rootproject/root:6.32.02-ubuntu24.04 docker file and build any cmake application which references root, it fails with
9.604 CMake Error at /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
9.604 Could NOT find Vdt (missing: VDT_INCLUDE_DIR VDT_LIBRARY)
9.604 Call Stack (most recent call first):
9.604 /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
9.604 /opt/root/cmake/modules/FindVdt.cmake:63 (find_package_handle_standard_args)
9.604 /usr/share/cmake-3.28/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
9.604 /opt/root/cmake/ROOTConfig.cmake:167 (find_dependency)
9.604 CMakeLists.txt:363 (find_package)
I tried 3 different packages ACTS, PODIO, JANA2 - all failed with the same error during the configuration.
Reproducer
Reproducer, where ACTS is taken as an example
FROM rootproject/root:6.32.02-ubuntu24.04
# Number of build threads
ARG BUILD_THREADS=8
ARG DEBIAN_FRONTEND=noninteractive
RUN root-config --cflags
RUN apt-get update &&\
apt-get install -y python3-pip python3-dev sudo git cmake gdb ninja-build apt-utils bash ccache clang valgrind &&\
apt-get install -y dialog apt-utils&&\
apt-get install -y tzdata &&\
apt-get install -y libmsgsl-dev libftgl-dev libxml2-dev libldap2-dev libgsl0-dev libfftw3-dev libmysqlclient-dev libavahi-compat-libdnssd-dev libssl-dev python3-dev libcfitsio-dev xlibmesa-glu-dev libkrb5-dev gfortran graphviz-dev libpcre3-dev libglew-dev libxmu-dev libexpat-dev python3-jinja2 libtbb-dev libxerces-c-dev cmake libboost-filesystem-dev dpkg-dev libspdlog-dev libxext-dev qtbase5-dev libqt5opengl5-dev libx11-dev libboost-test-dev libocct-draw-dev libeigen3-dev libocct-data-exchange-dev python3-dev libocct-foundation-dev libfmt-dev libxft-dev libboost-program-options-dev libboost-dev binutils libxpm-dev curl libxerces-c3-dev occt-misc python3-yaml &&\
rm -rf /var/lib/apt/lists/*
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
RUN mkdir -p /container/app/acts/src/v35.2.0 &&\
git clone --depth 1 -b v35.2.0 https://github.com/acts-project/acts /container/app/acts/src/v35.2.0 &&\
mkdir -p /container/app/acts/build/v35.2.0 &&\
cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/container/app/acts/acts-v35.2.0 -DCMAKE_CXX_STANDARD=20 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DACTS_BUILD_PLUGIN_TGEO=ON -DACTS_BUILD_PLUGIN_DD4HEP=OFF -DACTS_BUILD_PLUGIN_JSON=ON -DACTS_BUILD_PLUGIN_ACTSVG=OFF /container/app/acts/src/v35.2.0&& cmake --build . -- -j 4&& cmake --build . --target install
RUN echo "done"
ROOT version
#7 [4/6] RUN root -b -q
#7 0.544 ------------------------------------------------------------------
#7 0.544 | Welcome to ROOT 6.32.02 https://root.cern |
#7 0.544 | (c) 1995-2024, The ROOT Team; conception: R. Brun, F. Rademakers |
#7 0.544 | Built for linuxx8664gcc on Jun 18 2024, 04:46:14 |
#7 0.544 | From tags/v6-32-02@v6-32-02 |
#7 0.544 | With c++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0 |
#7 0.544 | Try '.help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q' |
#7 0.544 ------------------------------------------------------------------
Installation method
Docker image rootproject/root:6.32.02-ubuntu24.04
Operating system
Linux
Additional context
Update: everything works on rootproject/root:6.28.00-ubuntu22.04
Reactions are currently unavailable