Skip to content

AthenaPoolCnvSvc: add additional ROOT dependency for CentOS9

Add additional dependency to ROOT Net component.

This missing dependency leads to linking problems in the new CentOS9 nightly builds (ATLINFR-4547) as visible in the latest nightly build logs at https://atlas-jenkins.cern.ch/view/Install%20(Brinick)/job/master--dev4LCG_Athena_x86_64-centos9-gcc11-opt/44/consoleFull (tunnel through the CERN firewall, there is no BigPanda summary yet for the CentOS9 nightlies)

/bin/ld: CMakeFiles/AthenaPoolCnvSvcLib.dir/src/AthenaRootSharedWriterSvc.cxx.o: in function `AthenaRootSharedWriterSvc::share(int, bool)':
/build/atnight/localbuilds/nightlies/master--dev4LCG/athena/Database/AthenaPOOL/AthenaPoolCnvSvc/src/AthenaRootSharedWriterSvc.cxx:210: undefined reference to `TMonitor::Select(long)'
/bin/ld: /build/atnight/localbuilds/nightlies/master--dev4LCG/athena/Database/AthenaPOOL/AthenaPoolCnvSvc/src/AthenaRootSharedWriterSvc.cxx:213: undefined reference to `TServerSocket::Class()'
/bin/ld: /build/atnight/localbuilds/nightlies/master--dev4LCG/athena/Database/AthenaPOOL/AthenaPoolCnvSvc/src/AthenaRootSharedWriterSvc.cxx:238: undefined reference to `TMonitor::GetActive(long) const'
/bin/ld: CMakeFiles/AthenaPoolCnvSvcLib.dir/src/AthenaRootSharedWriterSvc.cxx.o: in function `AthenaRootSharedWriterSvc::initialize()':
/build/atnight/localbuilds/nightlies/master--dev4LCG/athena/Database/AthenaPOOL/AthenaPoolCnvSvc/src/AthenaRootSharedWriterSvc.cxx:180: undefined reference to `TServerSocket::TServerSocket(int, bool, int, int)'
/bin/ld: /build/atnight/localbuilds/nightlies/master--dev4LCG/athena/Database/AthenaPOOL/AthenaPoolCnvSvc/src/AthenaRootSharedWriterSvc.cxx:185: undefined reference to `TServerSocket::GetLocalPort()'
/bin/ld: /build/atnight/localbuilds/nightlies/master--dev4LCG/athena/Database/AthenaPOOL/AthenaPoolCnvSvc/src/AthenaRootSharedWriterSvc.cxx:191: undefined reference to `TMonitor::TMonitor(bool)'
/bin/ld: /build/atnight/localbuilds/nightlies/master--dev4LCG/athena/Database/AthenaPOOL/AthenaPoolCnvSvc/src/AthenaRootSharedWriterSvc.cxx:192: undefined reference to `TMonitor::Add(TSocket*, int)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [Database/AthenaPOOL/AthenaPoolCnvSvc/CMakeFiles/AthenaPoolCnvSvcLib.dir/build.make:326: x86_64-centos9-gcc11-opt/lib/libAthenaPoolCnvSvcLib.so] Error 1

Tagging @gemmeren, @amete, @nstyles for info and in case they have feedback.

Merge request reports