Skip to content

Add mesa-libGL-devel to centos7-atlasos

Joshua Falco Beirer requested to merge jbeirer/docker:master-mesa-libGL into master

Hi @akraszna,

compiling athena 22.0.58 within the centos7-atlasos:latest-gcc11 container on a CentOS8 machine fails with the following error:

Singularity> cmake ../athena/Projects/WorkDir/
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /cvmfs/sft.cern.ch/lcg/releases/gcc/11.2.0-ad950/x86_64-centos7/bin/gcc - 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: /cvmfs/sft.cern.ch/lcg/releases/gcc/11.2.0-ad950/x86_64-centos7/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Athena: /cvmfs/atlas.cern.ch/repo/sw/software/22.0/Athena/22.0.58/InstallArea/x86_64-centos7-gcc11-opt/cmake/AthenaConfig.cmake (version: 22.0.58)
-- Setting up LCG release "LCG_101_ATLAS_14" for platform: x86_64-centos7-gcc11-opt
-- Setting up LCG release using: /cvmfs/atlas.cern.ch/repo/sw/software/22.0/sw/lcg/releases/LCG_101_ATLAS_14/LCG_externals_x86_64-centos7-gcc11-opt.txt
-- Setting up LCG release using: /cvmfs/atlas.cern.ch/repo/sw/software/22.0/sw/lcg/releases/LCG_101_ATLAS_14/LCG_generators_x86_64-centos7-gcc11-opt.txt
-- found Acts version 15.0.1 commit b9469b891
-- Found nlohmann_json: /cvmfs/atlas.cern.ch/repo/sw/software/22.0/sw/lcg/releases/LCG_101_ATLAS_14/jsonmcpp/3.9.1/x86_64-centos7-gcc11-opt/lib64/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found suitable exact version "3.9.1")
-- loading components:
--   Core
--   PluginJson
--   Fatras
-- Found Freetype: /home/j/jbeirer/conda/lib/libfreetype.so (found version "2.10.4")
CMake Error at /home/j/jbeirer/conda/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:9 (message):
  Failed to find "GL/gl.h" in
  "/home/j/jbeirer/conda/include;/home/j/jbeirer/conda/x86_64-conda-linux-gnu/sysroot/usr/include;/home/j/jbeirer/conda/x86_64-conda-linux-gnu/sysroot/usr/include/libdrm;/home/j/jbeirer/conda/x86_64-conda-linux-gnu/sysroot/usr/include".
Call Stack (most recent call first):
  /home/j/jbeirer/conda/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:174 (include)
  /home/j/jbeirer/conda/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:89 (find_package)
  /home/j/jbeirer/conda/lib/cmake/Qt5OpenGL/Qt5OpenGLConfig.cmake:89 (find_package)
  /home/j/jbeirer/conda/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
  /cvmfs/atlas.cern.ch/repo/sw/software/22.0/Athena/22.0.58/InstallArea/x86_64-centos7-gcc11-opt/cmake/modules/LCGFunctions.cmake:1180 (find_package)
  /cvmfs/atlas.cern.ch/repo/sw/software/22.0/Athena/22.0.58/InstallArea/x86_64-centos7-gcc11-opt/cmake/modules/FindQt5.cmake:19 (lcg_wrap_find_module)
  /cvmfs/atlas.cern.ch/repo/sw/software/22.0/Athena/22.0.58/InstallArea/x86_64-centos7-gcc11-opt/cmake/PreConfig.cmake:34 (find_package)
  /cvmfs/atlas.cern.ch/repo/sw/software/22.0/Athena/22.0.58/InstallArea/x86_64-centos7-gcc11-opt/cmake/AthenaConfig.cmake:59 (include)
  CMakeLists.txt:51 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/j/jbeirer/G4Integration/athena/test-build/CMakeFiles/CMakeOutput.log".

This MR fixes the issue by adding the mesa-libGL-devel package, which apparently is not included in the base image.

Merge request reports