O2 build problems with XRootD in centOS7

Hi all,

I am having some build errors with XRootD in centOS7
Could anyone provide me some solution or advice?

2023-07-10@19:23:37:DEBUG:O2:XRootD:0: ++ echo -ne ‘>>>>>> Found XRootD python bindings: ’
2023-07-10@19:23:37:DEBUG:O2:XRootD:0: >>>>>> Found XRootD python bindings: ++ LD_LIBRARY_PATH=/home/alice/Software/QC/DEVEL_v20230710/sw/INSTALLROOT/8db24e90b46bb154135156e8ea0aa597d3945fa1/slc7_x86-64/XRootD/v5.6.0-local1/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/Python-modules/1.0-local1/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/Python-modules/1.0-local1/share/python-modules/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/Python-modules-list/1.0-104/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/Python/v3.9.16-local1/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/libffi/v3.2.1-55/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/libffi/v3.2.1-55/lib64:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/sqlite/v3.15.0-66/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/curl/7.70.0-65/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/libpng/v1.6.34-146/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/CMake/v3.23.1-25/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/FreeType/v2.10.1-local1/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/AliEn-Runtime/v2-19-le-local1/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/UUID/v2.27.1-local1/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/ApMon-CPP/v2.2.8-alice5-40/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/libtirpc/libtirpc-1-1-4-42/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/AliEn-CAs/v1-47/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/libxml2/v2.9.3-80/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/OpenSSL/v1.1.1m-11/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/alibuild-recipe-tools/0.2.3-8/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/zlib/v1.2.8-108/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/GCC-Toolchain/v12.2.0-alice1-5/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/GCC-Toolchain/v12.2.0-alice1-5/lib64:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/autotools/v1.6.3-33/lib:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/defaults-release/v1-23/lib::/usr/lib64/openmpi3/lib/:/usr/lib64/openmpi3/lib/:/usr/lib64/openmpi3/lib/
2023-07-10@19:23:37:DEBUG:O2:XRootD:0: ++ PYTHONPATH=/home/alice/Software/QC/DEVEL_v20230710/sw/INSTALLROOT/8db24e90b46bb154135156e8ea0aa597d3945fa1/slc7_x86-64/XRootD/v5.6.0-local1/lib/python/site-packages:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/Python-modules/1.0-local1/share/python-modules/lib/python/site-packages:/home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/Python/v3.9.16-local1/lib/python/site-packages
2023-07-10@19:23:37:DEBUG:O2:XRootD:0: ++ /home/alice/Software/QC/DEVEL_v20230710/sw/slc7_x86-64/Python-modules/1.0-local1/share/python-modules/bin/python3 -c ‘from XRootD import client as xrd_client;print(f"{xrd_client.version}\n{xrd_client.file}");’
libgcc_s.so.1 must be installed for pthread_cancel to work
2023-07-10@19:23:39:DEBUG:O2:XRootD:0: /home/alice/Software/QC/DEVEL_v20230710/sw/SPECS/slc7_x86-64/XRootD/v5.6.0-local1/XRootD.sh: line 115: 15824 Aborted (core dumped) LD_LIBRARY_PATH=“$INSTALLROOT/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH” PYTHONPATH=“$INSTALLROOT/lib/python/site-packages${PYTHONPATH:+:}$PYTHONPATH” ${PYTHON_EXECUTABLE} -c ‘from XRootD import client as xrd_client;print(f"{xrd_client.version}\n{xrd_client.file}");’
2023-07-10@19:23:39:ERROR:O2:XRootD:0: Error while executing /home/alice/Software/QC/DEVEL_v20230710/sw/SPECS/slc7_x86-64/XRootD/v5.6.0-local1/build.sh on `localhost.localdomain’.
2023-07-10@19:23:39:ERROR:O2:XRootD:0: Log can be found in /home/alice/Software/QC/DEVEL_v20230710/sw/BUILD/XRootD-latest/log
2023-07-10@19:23:39:ERROR:O2:XRootD:0: Please upload it to CERNBox/Dropbox if you intend to request support.
2023-07-10@19:23:39:ERROR:O2:XRootD:0: Build directory is /home/alice/Software/QC/DEVEL_v20230710/sw/BUILD/XRootD-latest/XRootD.

Hi @jaehyun, an XRootD update was just merged: XRootD update to 5.6.0 by amadio · Pull Request #5075 · alisw/alidist · GitHub

Please could you update your alidist and try again?

okay thanks, then I have one more issue : “libgcc_s.so.1 must be installed for pthread_cancel to work”.

Could you suggest some solutions ?

Hi @jaehyun, in what package is that? Could you please attach the complete log file that aliBuild gives you?

It’s not the problem in the build, but a global error message. I will reopen topic.