Check duplicate issues.
Description
Sometimes I get this error when rebuilding ROOT (configure step works fine):
10:42:13: Starting: "/usr/bin/cmake" --build /home/user/build/build-ROOT-Desktop-Debug --target all
ninja: error: 'XROOTD_CLIENT_LIBRARIES-NOTFOUND', needed by 'lib/libNetxNG.so', missing and no known rule to make it
10:42:13: The command "/usr/bin/cmake --build /home/user/build/build-ROOT-Desktop-Debug --target all" terminated with exit code 1.
Clicking on rebuilding or reconfiguring does not help.
xrootd is ON, builtin_xrootd is OFF
[cmake] -- Looking for XROOTD
[cmake] -- Enabled support for: asimage asimage_tiff asserts builtin_clang builtin_cling builtin_civetweb builtin_gsl builtin_llvm builtin_nlohmannjson builtin_openui5 builtin_vdt check_connection clad curl dataframe gdml geom http imt mathmore opengl pyroot roofit root7 runtime_cxxmodules shared spectrum ssl thisroot_scripts tmva tmva-cpu tmva-cudnn tpython use_gsl_cblas vdt webgui x11 xml xrootd
I am forced to set xrootd=OFF to continue building.
Reproducer
I am not sure how to reproduce it exactly.
ROOT version
master debug build
Installation method
Source
Operating system
Ubu22.04
Additional context
Maybe related to:
|
unset(XROOTD_${suffix} CACHE) |
If a prerequisite is missing, this should already fail at configure step, not when building, with cryptic error message. Or it should autodisable xrootd if requisite is missing.
fyi @amadio
Check duplicate issues.
Description
Sometimes I get this error when rebuilding ROOT (configure step works fine):
Clicking on rebuilding or reconfiguring does not help.
xrootd is ON, builtin_xrootd is OFF
I am forced to set
xrootd=OFFto continue building.Reproducer
I am not sure how to reproduce it exactly.
ROOT version
master debug build
Installation method
Source
Operating system
Ubu22.04
Additional context
Maybe related to:
root/cmake/modules/SearchInstalledSoftware.cmake
Line 714 in e333286
If a prerequisite is missing, this should already fail at configure step, not when building, with cryptic error message. Or it should autodisable xrootd if requisite is missing.
fyi @amadio