Failure to compile latest master?

3 views
Skip to first unread message

Elton Smith

unread,
Feb 4, 2026, 9:46:08 AMFeb 4
to GlueX Software Help, Elton Smith
Dear Software Help,

I am trying unsuccessfully to build the latest hd_recon master. I cloned the latest version and still get compilation errors. I must have something wrong in my configuration but I cannot see what. I did notice that the production of the .xml configuration file does not have an entry for the ‘evio’ package, so I used the latest release. Possibly this is a problem, but I don’t know which release should be used.

Attached are copies of the .xml configuration and my environment variables. The relevant commands in my .cshrc file to source the environment are

> source /group/halld/Software/build_scripts/gluex_env_boot_jlab.csh
> source /work/halld2/home/elton/git/setup_gluex.csh


Here is a transcript of the failed build on the farm

farm2401:src>

ifarm2401:src>pwd

/w/halld-scshelf2101/halld2/home/elton/git/halld_recon/src

ifarm2401:src>scons -c

scons: Reading SConscript files ...

scons: done reading SConscript files.

scons: Cleaning targets ...

Removed .Linux_Alma9-x86_64-gcc11.5.0/libraries/DANA/DANARootErrorHandler.o

Removed .Linux_Alma9-x86_64-gcc11.5.0/libraries/DANA/DFactoryGenerator.o

Removed .Linux_Alma9-x86_64-gcc11.5.0/programs/Analysis/hd_ana/hd_ana.o

scons: done cleaning targets.

ifarm2401:src>

ifarm2401:src>

ifarm2401:src>

ifarm2401:src>scons -j4 install

scons: Reading SConscript files ...

sbms : Making setenv.csh in /w/halld-scshelf2101/halld2/home/elton/git/halld_recon/Linux_Alma9-x86_64-gcc11.5.0

sbms : Making setenv.sh in /w/halld-scshelf2101/halld2/home/elton/git/halld_recon/Linux_Alma9-x86_64-gcc11.5.0

scons: done reading SConscript files.

scons: Building targets ...

[  0%] Compiling  [programs/Analysis/hd_ana/hd_ana.cc]

[  0%] Compiling  [libraries/DANA/DANARootErrorHandler.cc]

[  4%] Compiling  [libraries/DANA/DApplication.cc]

[  5%] Compiling  [libraries/DANA/DFactoryGenerator.cc]

In file included from libraries/DAQ/JEventSourceGenerator_EVIO.h:14,

                 from libraries/DANA/DApplication.cc:22:

libraries/DAQ/JEventSource_EVIO.h:34:10: fatal error: evioUtil.hxx: No such file or directory

   34 | #include <evioUtil.hxx>

      |          ^~~~~~~~~~~~~~

compilation terminated.

scons: *** [.Linux_Alma9-x86_64-gcc11.5.0/libraries/DANA/DApplication.o] Error 1

scons: building terminated because of errors.

ifarm2401:src>

ifarm2401:src>

ifarm2401:src>






Elton Smith




elton_2026-02-02.xml
printenv.list

Alexander Austregesilo

unread,
Feb 4, 2026, 9:57:21 AMFeb 4
to Elton Smith, gluex-s...@googlegroups.com

Hi Elton,

We removed the dependency from the EVIO package a while ago, since it was not compatible with other upgrades and we have been using our own parser for years.

You can just unset the variable "EVIOROOT" and the build system should not try to compile it.


Alternatively, you can use the helper script "my_halld_build_jlab" to clone and build a fresh version of halld_recon on the ifarm:

/group/halld/Software/build_scripts/my_halld_build_jlab -n NTHREADS halld_recon [halld_sim, hdgeant4,...]


I hope this helps,

Alex

--
You received this message because you are subscribed to the Google Groups "GlueX Software Help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gluex-softwar...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gluex-software/8B6845D8-14EE-4877-85C4-97C00DDA4BD8%40jlab.org.
-- 
Alexander Austregesilo

Staff Scientist - Experimental Nuclear Physics
Thomas Jefferson National Accelerator Facility
Newport News, VA
aaus...@jlab.org
(757) 269-6982

Elton Smith

unread,
Feb 4, 2026, 10:53:56 AMFeb 4
to Alexander Austregesilo, Elton Smith, gluex-s...@googlegroups.com
Hi Alex,

Thanks for the quick response. I had to unset all variables related to evio and I have now been able to build halld_recon and halld_sim.

Thanks!


Elton Smith



Reply all
Reply to author
Forward
0 new messages