lb-run not working for dd4hep platforms
lb-run
for dd4hep in lhcb-gaussino
does not work. This is also visible in LHCbPr tests. When I run:
lb-run --nightly lhcb-gaussino/latest --platform x86_64_v2-centos7-gcc11+dd4hep-opt Gaussino/master bash
I keep getting errors like:
WARNING:lb-run:Decided best container to use is None
WARNING:lb-run:trying old SetupProject (cannot find project DD4hepDDG4 1.19 for x86_64_v2-centos7-gcc11+dd4hep-opt in /cvmfs/lhcbdev.cern.ch/nightlies/lhcb-gaussino/latest:/workspace:/cvmfs/lhcbdev.cern.ch/lib/lcg/releases:/cvmfs/lhcb.cern.ch/lib/lcg/releases:/cvmfs/sft.c
ern.ch/lcg/releases:/cvmfs/lhcb.cern.ch/lib/lhcb:/cvmfs/lhcb.cern.ch/lib/lcg/releases:/cvmfs/lhcb.cern.ch/lib/lcg/app/releases:/cvmfs/lhcb.cern.ch/lib/lcg/external:/cvmfs/lhcb.cern.ch/lib/contrib:/workspace/venv/centos7/lib/python2.7/site-packages/LbDevTools/data/cmake:/c
vmfs/projects.cern.ch/intelsw/psxe/linux/x86_64/2019/vtune_amplifier:/workspace:/cvmfs/lhcb.cern.ch/lib/lhcb:/cvmfs/lhcb.cern.ch/lib/lcg/releases:/cvmfs/lhcb.cern.ch/lib/lcg/app/releases:/cvmfs/lhcb.cern.ch/lib/lcg/external:/cvmfs/lhcb.cern.ch/lib/contrib:/cvmfs/lhcb.cern
.ch/lib/var/lib/LbEnv/2541/stable/linux-64/lib/python3.9/site-packages/LbDevTools/data/cmake)
WARNING:SetupProject:both CMTCONFIG and BINARY_TAG set, using BINARY_TAG
ALWAYS:SetupProject:Configuring Gauss Futurev5 from /cvmfs/lhcbdev.cern.ch/nightlies/lhcb-gaussino/latest/Gauss_Futurev5
ERROR:SetupProject:#CMT---> Warning: package GaussSys * not found (requested by cmt_standalone)
ERROR:SetupProject:Could not produce the environment, check the arguments
As @clemenci suggested:
It's not the lack of a FindDD4hepDDG4.cmake, because lb-run would not use it. The problem is that somehow the find_package(DD4hepDDG4... in Gaussino tells lb-run (through manifext.xml in the InstallArea) that it has to look for a Gaudi/LHCb project called DD4hepDDG4, but, of course, that does not make sense.