Using the latest version of Diracxx (2.0.2) induced the following error when trying to link hdgeant4 on ifarm1901:
g++ -std=c++11 -g -O4 -fPIC -W -Wall -pedantic -Wno-non-virtual-dtor -Wno-long-long -I/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/diracxx/Diracxx-2.0.2/include -DUSING_DIRACXX -L/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/diracxx/Diracxx-2.0.2/lib -lDirac -I/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/hdds/hdds-4.14.0^root62404 -I./src -I./src/G4fixes -I./src/G4debug -I/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/halld_recon/halld_recon-cpp-1.0/Linux_CentOS7.7-x86_64-gcc4.8.5/include -I/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/jana/jana_0.8.2^ccdb168/Linux_CentOS7.7-x86_64-gcc4.8.5/include -I/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/root/root-6.24.04/include -I/usr/include/python2.7 -I/usr/include/python2.7 -Wno-unused-parameter -Wno-unused-but-set-variable -DUSE_SSE2 -std=c++11 -DBYPASS_DRAWING_CLIPPED_VOLUMES -DLAYERED_GEOMETRY_PICKING_EXTENSIONS -DREDUCE_OPTIMIZATION_OF_CDC=1 -DG4VIS_BUILD_OPENGL_DRIVER -DG4VIS_BUILD_OPENGLX_DRIVER -DG4MULTITHREADED -DDIRCTRUTHEXTRA -DG4USE_STD11 -DG4OPTIMISE -DG4MULTITHREADED -Iinclude -I/u/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/geant4/geant4.10.04.p02/share/Geant4-10.4.2/geant4make/source/externals/clhep/include -I/usr/include -DG4LIB_USE_GDML -I/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/xerces-c/xerces-c-3.2.3/include -std=c++11 -DG4VERBOSE -DG4_STORE_TRAJECTORY -DG4UI_USE_TCSH -DG4UI_USE_XM -DG4UI_USE_QT -DG4UI_USE -DG4VIS_USE_ASCIITREE -DG4VIS_USE_DAWNFILE -DG4VIS_USE_GMOCRENFILE -DG4VIS_USE_HEPREPFILE -DG4VIS_USE_RAYTRACER -DG4VIS_USE_VRMLFILE -DG4VIS_USE_DAWN -DG4VIS_USE_OPENGLX -DG4VIS_USE_OPENGLXM -DG4VIS_USE_OPENGLQT -DG4VIS_USE_OPENGL -DG4VIS_USE_RAYTRACERX -DG4VIS_USE -I /usr/lib64/qt5/include -I/usr/lib64/qt5/include/Qt5 -I/include -I/usr/X11R6/include -I/usr/include/X11/extensions -I/usr/include/X11 -DG4INTY_USE_XT -DG4INTY_USE_QT -I/u/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/geant4/geant4.10.04.p02/include/Geant4 \
-o /u/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/hdgeant4/hdgeant4-2.32.0^cpp10/bin/Linux-g++/hdgeant4 -L/u/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/geant4/geant4.10.04.p02/lib64/Geant4-10.4.2/Linux-g++ -L/u/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/hdgeant4/hdgeant4-2.32.0^cpp10/tmp/Linux-g++/hdgeant4 -Wl,-rpath /u/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/hdgeant4/hdgeant4-2.32.0^cpp10/tmp/Linux-g++/hdgeant4 \
-lhdgeant4 -lG4fixes -lGLU -lG4Tree -lG4FR -lG4GMocren -lG4visHepRep -lG4RayTracer -lG4VRML -lG4OpenGL -lG4OpenGL -lG4gl2ps -lG4vis_management -lG4modeling -lG4interfaces -lG4persistency -lG4error_propagation -lG4readout -lG4physicslists -lG4run -lG4event -lG4tracking -lG4parmodels -lG4processes -lG4digits_hits -lG4track -lG4particles -lG4geometry -lG4materials -lG4graphics_reps -lG4analysis -lG4intercoms -lG4global -lG4clhep -lG4zlib -L/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/xerces-c/xerces-c-3.2.3/lib -lxerces-c -Wl,--whole-archive -L/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/halld_recon/halld_recon-cpp-1.0/Linux_CentOS7.7-x86_64-gcc4.8.5/lib -lHDGEOMETRY -lDANA -lANALYSIS -lBCAL -lCCAL -lCDC -lCERE -lTRD -lDIRC -lFCAL -lFDC -lFMWPC -lHDDM -lPAIR_SPECTROMETER -version="2.0.1" dirtag="root62404"/>lPID -lRF -lSTART_COUNTER -lTAGGER -lTOF -lTPOL -lTRACKING -lTRIGGER -lDAQ -lTTAB -lEVENTSTORE -lKINFITTER -lTAC -L/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/sqlitecpp/SQLiteCpp-3.1.1/lib64 -lSQLiteCpp -L/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/sqlite/sqlite-3.36.0/lib -Wl,-rpath=/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/sqlite/sqlite-3.36.0/lib -lsqlite3 -lxstream -lbz2 -lz -L/usr/lib64/mysql -lmysqlclient -L/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/jana/jana_0.8.2^ccdb168/Linux_CentOS7.7-x86_64-gcc4.8.5/lib -lJANA -L/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/ccdb/ccdb_1.06.08/lib -lccdb -L/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/evio/evio-4.4.6/Linux-x86_64/lib -levioxx -levio -L/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/root/root-6.24.04/lib -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -lGeom -lTMVA -lTreePlayer -ltbb -lpthread -ldl -Wl,--no-whole-archive -fPIC -I/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/hdds/hdds-4.14.0^root62404 -I/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/xerces-c/xerces-c-3.2.3/include -L/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/xerces-c/xerces-c-3.2.3/lib -lxerces-c -L/u/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/hdgeant4/hdgeant4-2.32.0^cpp10/tmp/Linux-g++/hdgeant4 -lhdds -lboost_python -L/usr/lib -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic -L/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/geant4/geant4.10.04.p02/lib64 -lG4clhep -lG4global -lG4geometry -lG4tracking -lG4physicslists -lG4Tree -lG4intercoms -lG4parmodels -lG4error_propagation -lG4gl2ps -lG4event -lG4vis_management -lG4VRML -lG4analysis -lG4modeling -lG4interfaces -lG4OpenGL -lG4visXXX -lG4GMocren -lG4persistency -lG4RayTracer -lG4materials -lG4particles -lG4zlib -lG4digits_hits -lG4track -lG4readout -lG4FR -lG4processes -lG4visHepRep -lG4run -lG4graphics_reps -lgfortran -L/usr/lib64 -ltirpc -L/usr/lib64 -lQt5Core -lQt5Gui -lQt5Widgets -lQt5PrintSupport -L/usr/lib64 -lQt5Core -lQt5Gui -lQt5Widgets -lQt5OpenGL -lQt5PrintSupport -L/lib64 -lGLU -lGL -lXm -lXpm -L/usr/X11R6/lib64 -lXmu -lXt -lXext -lX11 -lXi -lSM -lICE -L/usr/lib -lexpat -lm -lstdc++
/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/diracxx/Diracxx-2.0.2/lib/libDirac.so: undefined reference to `boost::python::detail::init_module(PyModuleDef&, void (*)())'
collect2: error: ld returned 1 exit status
make[2]: *** [/u/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/hdgeant4/hdgeant4-2.32.0^cpp10/bin/Linux-g++/hdgeant4] Error 1
make[2]: Leaving directory `/u/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/hdgeant4/hdgeant4-2.32.0^cpp10'
make[1]: *** [/u/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/hdgeant4/hdgeant4-2.32.0^cpp10/.make_done] Error 2
make[1]: Leaving directory `/u/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/hdgeant4'
make: *** [hdgeant4_make] Error 2
The solution was to drop back to version 2.0.1.
This behavior was seen on CentOS 7 (as is run on ifarm) when building non-CPP specific version sets. In particular the problem is there with version_5.2.2.xml, but not with version_5.2.1.xml. So the error is still out there. Recall that neither 5.2.1 nor 5.2.2 have been built at JLab.