Open peremato opened 2 years ago
The JIRA ticket in SPI is https://sft.its.cern.ch/jira/browse/SPI-2021
I've had similar issues with the Snap build, where ACliC remembers its build environment which doesn't exist in the runtime environment. As a remedy I've taken to patching root/build/unix/compiledata.sh
, adding a segment which runs sed
and clears up the unwanted extra include directories. Maybe something similar could work in your use case as a workaround.
compiledata.sh
is not installed. The only one installed is compiledata.h
and this one has no reference to the build directories. It uses relative to $ROOTSYS
#define INCLUDEPATH "-I$ROOTSYS/include"
Describe the bug
With ROOT 6.24/06 on aarch64 we get additional locations for include files with
TSystem::GetIncludePath()
pointing to directories exiting only in the node where the build was done. The problem is that ACliC uses these locations in the invocation of the compiler and fails because they do not exists or wrong protections at the runtime.The first three elements are directly the contents of
$ROOT_INCLUDE_PATH
which in the that setup, which isTo Reproduce
On an ARM64 system with CVMFS
Expected behavior
On a Centos7 system (e.g. lxplus.cern.ch), then list is different.
Again the first 8 elements are directly related to
$ROOT_INCLUDE_PATH
.