Skip to content

conda-forge build failure for 6.36 with CMake and CppInterop #19590

Closed

Description

@kratsg

Check duplicate issues.

  • Checked for duplicates

Description

This was reported by @vepadulano here.

Looking at the CMakeLists in question raises a bit of confusion but

foreach(transitive_lib ${transitive_libs})
get_target_property(lib_type ${transitive_lib} TYPE)
if("${lib_type}" STREQUAL "STATIC_LIBRARY")
list(APPEND static_transitive_libs ${transitive_lib})
else()
# Filter our libLLVM.so and friends.
continue()
has the following lines

          foreach(transitive_lib ${transitive_libs})
            get_target_property(lib_type ${transitive_lib} TYPE)
            if("${lib_type}" STREQUAL "STATIC_LIBRARY")
              list(APPEND static_transitive_libs ${transitive_lib})
            else()
              # Filter our libLLVM.so and friends.
              continue()

where transitive_libs contains the dl (non-target) string (which is appended from a few lines above)

  if(NOT WIN32 AND NOT EMSCRIPTEN)
    list(APPEND link_libs dl)
  endif()

Particularly, dl is not a target, so it finds its way into this get_target_property call when I think it needs to be wrapped/patched like

          foreach(transitive_lib ${transitive_libs})
            if(TARGET ${transitive_lib})
              get_target_property(lib_type ${transitive_lib} TYPE)
            endif()
            if("${lib_type}" STREQUAL "STATIC_LIBRARY")
              list(APPEND static_transitive_libs ${transitive_lib})
            else()
              # Filter our libLLVM.so and friends.
              continue()

so that the crash does not occur. I don't know how it gets in there though, in the first place.

Reproducer

Cannot give a clean reproducer immediately, but please refer to the logs

Log from conda-build
2025-08-07T12:44:11.0585960Z  │ │ + cmake $SRC_DIR/root-source -B $SRC_DIR/build-rootcling_stage1-xp -DCLING_CXX_PATH=$BUILD_PREFIX/bin/x86_64-conda-linux-gnu-c++ -Dminimal=ON -Dfail-on-missing=ON -Drpath=ON -DCMAKE_BUILD_TYPE=Release -DLLVM_CONFIG=$BUILD_PREFIX/bin/llvm-config -DLLVM_TABLEGEN_EXE=$BUILD_PREFIX/bin/llvm-tblgen -DCMAKE_CXX_STANDARD=20 -DROOT_CLING_TARGET=all -Dfound_urandom=ON -DCMAKE_C_COMPILER=$BUILD_PREFIX/bin/x86_64-conda-linux-gnu-cc -DCMAKE_CXX_COMPILER=$BUILD_PREFIX/bin/x86_64-conda-linux-gnu-c++ -Dbuiltin_llvm=OFF -Dbuiltin_clang=OFF '-DCMAKE_C_FLAGS= -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -I$BUILD_PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/root_base-6.36.02 -fdebug-prefix-map=$BUILD_PREFIX=/usr/local/src/conda-prefix -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -I$BUILD_PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/root_base-6.36.02 -fdebug-prefix-map=$BUILD_PREFIX=/usr/local/src/conda-prefix -fno-merge-constants -fplt' '-DCMAKE_CXX_FLAGS=-fvisibility-inlines-hidden -fmessage-length=0 -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -I$BUILD_PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/root_base-6.36.02 -fdebug-prefix-map=$BUILD_PREFIX=/usr/local/src/conda-prefix -fvisibility-inlines-hidden -fmessage-length=0 -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -I$BUILD_PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/root_base-6.36.02 -fdebug-prefix-map=$BUILD_PREFIX=/usr/local/src/conda-prefix -fno-merge-constants -D__ROOFIT_NOBANNER -fplt -Wl,--exclude-libs,libclangAnalysis.a -Wl,--exclude-libs,libclangAnalysisFlowSensitive.a -Wl,--exclude-libs,libclangAnalysisFlowSensitiveModels.a -Wl,--exclude-libs,libclangAPINotes.a -Wl,--exclude-libs,libclangApplyReplacements.a -Wl,--exclude-libs,libclangARCMigrate.a -Wl,--exclude-libs,libclangAST.a -Wl,--exclude-libs,libclangASTMatchers.a -Wl,--exclude-libs,libclangBasic.a -Wl,--exclude-libs,libclangChangeNamespace.a -Wl,--exclude-libs,libclangCodeGen.a -Wl,--exclude-libs,libclangCrossTU.a -Wl,--exclude-libs,libclangDaemon.a -Wl,--exclude-libs,libclangDaemonTweaks.a -Wl,--exclude-libs,libclangDependencyScanning.a -Wl,--exclude-libs,libclangDirectoryWatcher.a -Wl,--exclude-libs,libclangdMain.a -Wl,--exclude-libs,libclangDoc.a -Wl,--exclude-libs,libclangdRemoteIndex.a -Wl,--exclude-libs,libclangDriver.a -Wl,--exclude-libs,libclangdSupport.a -Wl,--exclude-libs,libclangDynamicASTMatchers.a -Wl,--exclude-libs,libclangEdit.a -Wl,--exclude-libs,libclangExtractAPI.a -Wl,--exclude-libs,libclangFormat.a -Wl,--exclude-libs,libclangFrontend.a -Wl,--exclude-libs,libclangFrontendTool.a -Wl,--exclude-libs,libclangHandleCXX.a -Wl,--exclude-libs,libclangHandleLLVM.a -Wl,--exclude-libs,libclangIncludeCleaner.a -Wl,--exclude-libs,libclangIncludeFixer.a -Wl,--exclude-libs,libclangIncludeFixerPlugin.a -Wl,--exclude-libs,libclangIndex.a -Wl,--exclude-libs,libclangIndexSerialization.a -Wl,--exclude-libs,libclangInterpreter.a -Wl,--exclude-libs,libclangLex.a -Wl,--exclude-libs,libclangMove.a -Wl,--exclude-libs,libclangParse.a -Wl,--exclude-libs,libclangPseudo.a -Wl,--exclude-libs,libclangPseudoCLI.a -Wl,--exclude-libs,libclangPseudoCXX.a -Wl,--exclude-libs,libclangPseudoGrammar.a -Wl,--exclude-libs,libclangQuery.a -Wl,--exclude-libs,libclangReorderFields.a -Wl,--exclude-libs,libclangRewrite.a -Wl,--exclude-libs,libclangRewriteFrontend.a -Wl,--exclude-libs,libclangSema.a -Wl,--exclude-libs,libclangSerialization.a -Wl,--exclude-libs,libclangStaticAnalyzerCheckers.a -Wl,--exclude-libs,libclangStaticAnalyzerCore.a -Wl,--exclude-libs,libclangStaticAnalyzerFrontend.a -Wl,--exclude-libs,libclangSupport.a -Wl,--exclude-libs,libclangTidy.a -Wl,--exclude-libs,libclangTidyAbseilModule.a -Wl,--exclude-libs,libclangTidyAlteraModule.a -Wl,--exclude-libs,libclangTidyAndroidModule.a -Wl,--exclude-libs,libclangTidyBoostModule.a -Wl,--exclude-libs,libclangTidyBugproneModule.a -Wl,--exclude-libs,libclangTidyCERTModule.a -Wl,--exclude-libs,libclangTidyConcurrencyModule.a -Wl,--exclude-libs,libclangTidyCppCoreGuidelinesModule.a -Wl,--exclude-libs,libclangTidyDarwinModule.a -Wl,--exclude-libs,libclangTidyFuchsiaModule.a -Wl,--exclude-libs,libclangTidyGoogleModule.a -Wl,--exclude-libs,libclangTidyHICPPModule.a -Wl,--exclude-libs,libclangTidyLinuxKernelModule.a -Wl,--exclude-libs,libclangTidyLLVMLibcModule.a -Wl,--exclude-libs,libclangTidyLLVMModule.a -Wl,--exclude-libs,libclangTidyMain.a -Wl,--exclude-libs,libclangTidyMiscModule.a -Wl,--exclude-libs,libclangTidyModernizeModule.a -Wl,--exclude-libs,libclangTidyMPIModule.a -Wl,--exclude-libs,libclangTidyObjCModule.a -Wl,--exclude-libs,libclangTidyOpenMPModule.a -Wl,--exclude-libs,libclangTidyPerformanceModule.a -Wl,--exclude-libs,libclangTidyPlugin.a -Wl,--exclude-libs,libclangTidyPortabilityModule.a -Wl,--exclude-libs,libclangTidyReadabilityModule.a -Wl,--exclude-libs,libclangTidyUtils.a -Wl,--exclude-libs,libclangTidyZirconModule.a -Wl,--exclude-libs,libclangTooling.a -Wl,--exclude-libs,libclangToolingASTDiff.a -Wl,--exclude-libs,libclangToolingCore.a -Wl,--exclude-libs,libclangToolingInclusions.a -Wl,--exclude-libs,libclangToolingInclusionsStdlib.a -Wl,--exclude-libs,libclangToolingRefactoring.a -Wl,--exclude-libs,libclangToolingSyntax.a -Wl,--exclude-libs,libclangTransformer.a -Wl,--exclude-libs,libLLVMAArch64AsmParser.a -Wl,--exclude-libs,libLLVMAArch64CodeGen.a -Wl,--exclude-libs,libLLVMAArch64Desc.a -Wl,--exclude-libs,libLLVMAArch64Disassembler.a -Wl,--exclude-libs,libLLVMAArch64Info.a -Wl,--exclude-libs,libLLVMAArch64Utils.a -Wl,--exclude-libs,libLLVMAggressiveInstCombine.a -Wl,--exclude-libs,libLLVMAMDGPUAsmParser.a -Wl,--exclude-libs,libLLVMAMDGPUCodeGen.a -Wl,--exclude-libs,libLLVMAMDGPUDesc.a -Wl,--exclude-libs,libLLVMAMDGPUDisassembler.a -Wl,--exclude-libs,libLLVMAMDGPUInfo.a -Wl,--exclude-libs,libLLVMAMDGPUTargetMCA.a -Wl,--exclude-libs,libLLVMAMDGPUUtils.a -Wl,--exclude-libs,libLLVMAnalysis.a -Wl,--exclude-libs,libLLVMARMAsmParser.a -Wl,--exclude-libs,libLLVMARMCodeGen.a -Wl,--exclude-libs,libLLVMARMDesc.a -Wl,--exclude-libs,libLLVMARMDisassembler.a -Wl,--exclude-libs,libLLVMARMInfo.a -Wl,--exclude-libs,libLLVMARMUtils.a -Wl,--exclude-libs,libLLVMAsmParser.a -Wl,--exclude-libs,libLLVMAsmPrinter.a -Wl,--exclude-libs,libLLVMAVRAsmParser.a -Wl,--exclude-libs,libLLVMAVRCodeGen.a -Wl,--exclude-libs,libLLVMAVRDesc.a -Wl,--exclude-libs,libLLVMAVRDisassembler.a -Wl,--exclude-libs,libLLVMAVRInfo.a -Wl,--exclude-libs,libLLVMBinaryFormat.a -Wl,--exclude-libs,libLLVMBitReader.a -Wl,--exclude-libs,libLLVMBitstreamReader.a -Wl,--exclude-libs,libLLVMBitWriter.a -Wl,--exclude-libs,libLLVMBPFAsmParser.a -Wl,--exclude-libs,libLLVMBPFCodeGen.a -Wl,--exclude-libs,libLLVMBPFDesc.a -Wl,--exclude-libs,libLLVMBPFDisassembler.a -Wl,--exclude-libs,libLLVMBPFInfo.a -Wl,--exclude-libs,libLLVMCFGuard.a -Wl,--exclude-libs,libLLVMCFIVerify.a -Wl,--exclude-libs,libLLVMCodeGen.a -Wl,--exclude-libs,libLLVMCodeGenTypes.a -Wl,--exclude-libs,libLLVMCore.a -Wl,--exclude-libs,libLLVMCoroutines.a -Wl,--exclude-libs,libLLVMCoverage.a -Wl,--exclude-libs,libLLVMDebugInfoBTF.a -Wl,--exclude-libs,libLLVMDebugInfoCodeView.a -Wl,--exclude-libs,libLLVMDebuginfod.a -Wl,--exclude-libs,libLLVMDebugInfoDWARF.a -Wl,--exclude-libs,libLLVMDebugInfoGSYM.a -Wl,--exclude-libs,libLLVMDebugInfoLogicalView.a -Wl,--exclude-libs,libLLVMDebugInfoMSF.a -Wl,--exclude-libs,libLLVMDebugInfoPDB.a -Wl,--exclude-libs,libLLVMDemangle.a -Wl,--exclude-libs,libLLVMDiff.a -Wl,--exclude-libs,libLLVMDlltoolDriver.a -Wl,--exclude-libs,libLLVMDWARFLinker.a -Wl,--exclude-libs,libLLVMDWARFLinkerClassic.a -Wl,--exclude-libs,libLLVMDWARFLinkerParallel.a -Wl,--exclude-libs,libLLVMDWP.a -Wl,--exclude-libs,libLLVMExecutionEngine.a -Wl,--exclude-libs,libLLVMExegesis.a -Wl,--exclude-libs,libLLVMExegesisAArch64.a -Wl,--exclude-libs,libLLVMExegesisMips.a -Wl,--exclude-libs,libLLVMExegesisPowerPC.a -Wl,--exclude-libs,libLLVMExegesisX86.a -Wl,--exclude-libs,libLLVMExtensions.a -Wl,--exclude-libs,libLLVMFileCheck.a -Wl,--exclude-libs,libLLVMFrontendDriver.a -Wl,--exclude-libs,libLLVMFrontendHLSL.a -Wl,--exclude-libs,libLLVMFrontendOffloading.a -Wl,--exclude-libs,libLLVMFrontendOpenACC.a -Wl,--exclude-libs,libLLVMFrontendOpenMP.a -Wl,--exclude-libs,libLLVMFuzzerCLI.a -Wl,--exclude-libs,libLLVMFuzzMutate.a -Wl,--exclude-libs,libLLVMGlobalISel.a -Wl,--exclude-libs,libLLVMHexagonAsmParser.a -Wl,--exclude-libs,libLLVMHexagonCodeGen.a -Wl,--exclude-libs,libLLVMHexagonDesc.a -Wl,--exclude-libs,libLLVMHexagonDisassembler.a -Wl,--exclude-libs,libLLVMHexagonInfo.a -Wl,--exclude-libs,libLLVMHipStdPar.a -Wl,--exclude-libs,libLLVMInstCombine.a -Wl,--exclude-libs,libLLVMInstrumentation.a -Wl,--exclude-libs,libLLVMInterfaceStub.a -Wl,--exclude-libs,libLLVMInterpreter.a -Wl,--exclude-libs,libLLVMipo.a -Wl,--exclude-libs,libLLVMIRPrinter.a -Wl,--exclude-libs,libLLVMIRReader.a -Wl,--exclude-libs,libLLVMJITLink.a -Wl,--exclude-libs,libLLVMLanaiAsmParser.a -Wl,--exclude-libs,libLLVMLanaiCodeGen.a -Wl,--exclude-libs,libLLVMLanaiDesc.a -Wl,--exclude-libs,libLLVMLanaiDisassembler.a -Wl,--exclude-libs,libLLVMLanaiInfo.a -Wl,--exclude-libs,libLLVMLibDriver.a -Wl,--exclude-libs,libLLVMLineEditor.a -Wl,--exclude-libs,libLLVMLinker.a -Wl,--exclude-libs,libLLVMLoongArchAsmParser.a -Wl,--exclude-libs,libLLVMLoongArchCodeGen.a -Wl,--exclude-libs,libLLVMLoongArchDesc.a -Wl,--exclude-libs,libLLVMLoongArchDisassembler.a -Wl,--exclude-libs,libLLVMLoongArchInfo.a -Wl,--exclude-libs,libLLVMLTO.a -Wl,--exclude-libs,libLLVMMC.a -Wl,--exclude-libs,libLLVMMCA.a -Wl,--exclude-libs,libLLVMMCDisassembler.a -Wl,--exclude-libs,libLLVMMCJIT.a -Wl,--exclude-libs,libLLVMMCParser.a -Wl,--exclude-libs,libLLVMMipsAsmParser.a -Wl,--exclude-libs,libLLVMMipsCodeGen.a -Wl,--exclude-libs,libLLVMMipsDesc.a -Wl,--exclude-libs,libLLVMMipsDisassembler.a -Wl,--exclude-libs,libLLVMMipsInfo.a -Wl,--exclude-libs,libLLVMMIRParser.a -Wl,--exclude-libs,libLLVMMSP430AsmParser.a -Wl,--exclude-libs,libLLVMMSP430CodeGen.a -Wl,--exclude-libs,libLLVMMSP430Desc.a -Wl,--exclude-libs,libLLVMMSP430Disassembler.a -Wl,--exclude-libs,libLLVMMSP430Info.a -Wl,--exclude-libs,libLLVMNVPTXCodeGen.a -Wl,--exclude-libs,libLLVMNVPTXDesc.a -Wl,--exclude-libs,libLLVMNVPTXInfo.a -Wl,--exclude-libs,libLLVMObjCARCOpts.a -Wl,--exclude-libs,libLLVMObjCopy.a -Wl,--exclude-libs,libLLVMObject.a -Wl,--exclude-libs,libLLVMObjectYAML.a -Wl,--exclude-libs,libLLVMOption.a -Wl,--exclude-libs,libLLVMOrcDebugging.a -Wl,--exclude-libs,libLLVMOrcJIT.a -Wl,--exclude-libs,libLLVMOrcShared.a -Wl,--exclude-libs,libLLVMOrcTargetProcess.a -Wl,--exclude-libs,libLLVMPasses.a -Wl,--exclude-libs,libLLVMPowerPCAsmParser.a -Wl,--exclude-libs,libLLVMPowerPCCodeGen.a -Wl,--exclude-libs,libLLVMPowerPCDesc.a -Wl,--exclude-libs,libLLVMPowerPCDisassembler.a -Wl,--exclude-libs,libLLVMPowerPCInfo.a -Wl,--exclude-libs,libLLVMProfileData.a -Wl,--exclude-libs,libLLVMRemarks.a -Wl,--exclude-libs,libLLVMRISCVAsmParser.a -Wl,--exclude-libs,libLLVMRISCVCodeGen.a -Wl,--exclude-libs,libLLVMRISCVDesc.a -Wl,--exclude-libs,libLLVMRISCVDisassembler.a -Wl,--exclude-libs,libLLVMRISCVInfo.a -Wl,--exclude-libs,libLLVMRISCVTargetMCA.a -Wl,--exclude-libs,libLLVMRuntimeDyld.a -Wl,--exclude-libs,libLLVMScalarOpts.a -Wl,--exclude-libs,libLLVMSelectionDAG.a -Wl,--exclude-libs,libLLVMSparcAsmParser.a -Wl,--exclude-libs,libLLVMSparcCodeGen.a -Wl,--exclude-libs,libLLVMSparcDesc.a -Wl,--exclude-libs,libLLVMSparcDisassembler.a -Wl,--exclude-libs,libLLVMSparcInfo.a -Wl,--exclude-libs,libLLVMSupport.a -Wl,--exclude-libs,libLLVMSymbolize.a -Wl,--exclude-libs,libLLVMSystemZAsmParser.a -Wl,--exclude-libs,libLLVMSystemZCodeGen.a -Wl,--exclude-libs,libLLVMSystemZDesc.a -Wl,--exclude-libs,libLLVMSystemZDisassembler.a -Wl,--exclude-libs,libLLVMSystemZInfo.a -Wl,--exclude-libs,libLLVMTableGen.a -Wl,--exclude-libs,libLLVMTableGenCommon.a -Wl,--exclude-libs,libLLVMTableGenGlobalISel.a -Wl,--exclude-libs,libLLVMTarget.a -Wl,--exclude-libs,libLLVMTargetParser.a -Wl,--exclude-libs,libLLVMTextAPI.a -Wl,--exclude-libs,libLLVMTextAPIBinaryReader.a -Wl,--exclude-libs,libLLVMTransformUtils.a -Wl,--exclude-libs,libLLVMVEAsmParser.a -Wl,--exclude-libs,libLLVMVECodeGen.a -Wl,--exclude-libs,libLLVMVectorize.a -Wl,--exclude-libs,libLLVMVEDesc.a -Wl,--exclude-libs,libLLVMVEDisassembler.a -Wl,--exclude-libs,libLLVMVEInfo.a -Wl,--exclude-libs,libLLVMWebAssemblyAsmParser.a -Wl,--exclude-libs,libLLVMWebAssemblyCodeGen.a -Wl,--exclude-libs,libLLVMWebAssemblyDesc.a -Wl,--exclude-libs,libLLVMWebAssemblyDisassembler.a -Wl,--exclude-libs,libLLVMWebAssemblyInfo.a -Wl,--exclude-libs,libLLVMWebAssemblyUtils.a -Wl,--exclude-libs,libLLVMWindowsDriver.a -Wl,--exclude-libs,libLLVMWindowsManifest.a -Wl,--exclude-libs,libLLVMX86AsmParser.a -Wl,--exclude-libs,libLLVMX86CodeGen.a -Wl,--exclude-libs,libLLVMX86Desc.a -Wl,--exclude-libs,libLLVMX86Disassembler.a -Wl,--exclude-libs,libLLVMX86Info.a -Wl,--exclude-libs,libLLVMX86TargetMCA.a -Wl,--exclude-libs,libLLVMXCoreCodeGen.a -Wl,--exclude-libs,libLLVMXCoreDesc.a -Wl,--exclude-libs,libLLVMXCoreDisassembler.a -Wl,--exclude-libs,libLLVMXCoreInfo.a -Wl,--exclude-libs,libLLVMXRay.a' '-DCMAKE_EXE_LINKER_FLAGS=-Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--allow-shlib-undefined -Wl,-rpath,$BUILD_PREFIX/lib -Wl,-rpath-link,$BUILD_PREFIX/lib -L$BUILD_PREFIX/lib -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--allow-shlib-undefined -Wl,-rpath,$BUILD_PREFIX/lib -Wl,-rpath-link,$BUILD_PREFIX/lib -L$BUILD_PREFIX/lib' '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--allow-shlib-undefined -Wl,-rpath,$BUILD_PREFIX/lib -Wl,-rpath-link,$BUILD_PREFIX/lib -L$BUILD_PREFIX/lib -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--allow-shlib-undefined -Wl,-rpath,$BUILD_PREFIX/lib -Wl,-rpath-link,$BUILD_PREFIX/lib -L$BUILD_PREFIX/lib' '-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--allow-shlib-undefined -Wl,-rpath,$BUILD_PREFIX/lib -Wl,-rpath-link,$BUILD_PREFIX/lib -L$BUILD_PREFIX/lib -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--allow-shlib-undefined -Wl,-rpath,$BUILD_PREFIX/lib -Wl,-rpath-link,$BUILD_PREFIX/lib -L$BUILD_PREFIX/lib' -Druntime_cxxmodules=OFF -GNinja -DCMAKE_AR=$BUILD_PREFIX/bin/x86_64-conda-linux-gnu-ar -DCMAKE_CXX_COMPILER_AR=$BUILD_PREFIX/bin/x86_64-conda-linux-gnu-gcc-ar -DCMAKE_C_COMPILER_AR=$BUILD_PREFIX/bin/x86_64-conda-linux-gnu-gcc-ar -DCMAKE_RANLIB=$BUILD_PREFIX/bin/x86_64-conda-linux-gnu-ranlib -DCMAKE_CXX_COMPILER_RANLIB=$BUILD_PREFIX/bin/x86_64-conda-linux-gnu-gcc-ranlib -DCMAKE_C_COMPILER_RANLIB=$BUILD_PREFIX/bin/x86_64-conda-linux-gnu-gcc-ranlib -DCMAKE_LINKER=$BUILD_PREFIX/bin/x86_64-conda-linux-gnu-ld -DCMAKE_STRIP=$BUILD_PREFIX/bin/x86_64-conda-linux-gnu-strip -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY '-DCMAKE_FIND_ROOT_PATH=$BUILD_PREFIX;$BUILD_PREFIX/x86_64-conda-linux-gnu/sysroot' -DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX -DCMAKE_INSTALL_LIBDIR=lib '-DCMAKE_PROGRAM_PATH=$BUILD_PREFIX/bin;$BUILD_PREFIX/bin' -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=ppc64le
2025-08-07T12:44:11.0671566Z  │ │ CMake Deprecation Warning at CMakeLists.txt:32 (cmake_policy):
2025-08-07T12:44:11.0673236Z  │ │   The OLD behavior for policy CMP0116 will be removed from a future version
2025-08-07T12:44:11.0673642Z  │ │   of CMake.
2025-08-07T12:44:11.0674042Z  │ │   The cmake-policies(7) manual explains that the OLD behaviors of all
2025-08-07T12:44:11.0674517Z  │ │   policies are deprecated and that a policy should be set to OLD only under
2025-08-07T12:44:11.0674986Z  │ │   specific short-term circumstances.  Projects should be ported to the NEW
2025-08-07T12:44:11.0675413Z  │ │   behavior and not rely on setting a policy to OLD.
2025-08-07T12:44:11.0675865Z  │ │ CMake Deprecation Warning at CMakeLists.txt:32 (cmake_policy):
2025-08-07T12:44:11.0676364Z  │ │   The OLD behavior for policy CMP0135 will be removed from a future version
2025-08-07T12:44:11.0682649Z  │ │   of CMake.
2025-08-07T12:44:11.0684190Z  │ │   The cmake-policies(7) manual explains that the OLD behaviors of all
2025-08-07T12:44:11.0684738Z  │ │   policies are deprecated and that a policy should be set to OLD only under
2025-08-07T12:44:11.0685228Z  │ │   specific short-term circumstances.  Projects should be ported to the NEW
2025-08-07T12:44:11.0685660Z  │ │   behavior and not rely on setting a policy to OLD.
2025-08-07T12:44:11.2399352Z  │ │ -- The C compiler identification is GNU 14.3.0
2025-08-07T12:44:11.4538522Z  │ │ -- The CXX compiler identification is GNU 14.3.0
2025-08-07T12:44:11.4691150Z  │ │ -- Detecting C compiler ABI info
2025-08-07T12:44:11.5407014Z  │ │ -- Detecting C compiler ABI info - done
2025-08-07T12:44:11.5657886Z  │ │ -- Check for working C compiler: $BUILD_PREFIX/bin/x86_64-conda-linux-gnu-cc - skipped
2025-08-07T12:44:11.5669329Z  │ │ -- Detecting C compile features
2025-08-07T12:44:11.5676207Z  │ │ -- Detecting C compile features - done
2025-08-07T12:44:11.5877331Z  │ │ -- Detecting CXX compiler ABI info
2025-08-07T12:44:11.6773536Z  │ │ -- Detecting CXX compiler ABI info - done
2025-08-07T12:44:11.7460369Z  │ │ -- Check for working CXX compiler: $BUILD_PREFIX/bin/x86_64-conda-linux-gnu-c++ - skipped
2025-08-07T12:44:11.7464452Z  │ │ -- Detecting CXX compile features
2025-08-07T12:44:11.7480447Z  │ │ -- Detecting CXX compile features - done
2025-08-07T12:44:11.7701613Z  │ │ -- Found Git: $BUILD_PREFIX/bin/git (found version "2.49.0")
2025-08-07T12:44:11.7722703Z  │ │ -- Building ROOT version 6.36.02
2025-08-07T12:44:11.7736870Z  │ │ -- Looking for a CUDA compiler
2025-08-07T12:44:11.7966645Z  │ │ -- Looking for a CUDA compiler - NOTFOUND
2025-08-07T12:44:11.7967693Z  │ │ -- Found GCC. Major version 14, minor version 3
2025-08-07T12:44:11.8122081Z  │ │ -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
2025-08-07T12:44:11.8946135Z  │ │ -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
2025-08-07T12:44:11.8961130Z  │ │ -- Found Threads: TRUE
2025-08-07T12:44:11.8972169Z  │ │ -- Performing Test GLIBCXX_USE_CXX11_ABI
2025-08-07T12:44:12.3073701Z  │ │ -- Performing Test GLIBCXX_USE_CXX11_ABI - Success
2025-08-07T12:44:12.3111065Z  │ │ -- ROOT default compression algorithm: zlib
2025-08-07T12:44:12.3268908Z  │ │ -- Looking for ZLib
2025-08-07T12:44:12.3550220Z  │ │ -- Found ZLIB: $BUILD_PREFIX/lib/libz.so (found version "1.3.1")
2025-08-07T12:44:12.3550945Z  │ │ -- Looking for nlohmann/json.hpp
2025-08-07T12:44:12.3625590Z  │ │ -- Found nlohmann_json: $PREFIX/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found suitable version "3.12.0", minimum required is "3.9")
2025-08-07T12:44:12.3630836Z  │ │ -- Looking for Freetype
2025-08-07T12:44:12.3914003Z  │ │ -- Found Freetype: $BUILD_PREFIX/lib/libfreetype.so (found version "2.13.3")
2025-08-07T12:44:12.3915726Z  │ │ -- Looking for PCRE
2025-08-07T12:44:12.4023826Z  │ │ -- Found PCRE2: $BUILD_PREFIX/include (found version "10.45")
2025-08-07T12:44:12.4025337Z  │ │ -- Looking for LZMA
2025-08-07T12:44:12.4152287Z  │ │ -- Looking for lzma_auto_decoder in $BUILD_PREFIX/lib/liblzma.so
2025-08-07T12:44:12.4845187Z  │ │ -- Looking for lzma_auto_decoder in $BUILD_PREFIX/lib/liblzma.so - found
2025-08-07T12:44:12.4846431Z  │ │ -- Looking for lzma_easy_encoder in $BUILD_PREFIX/lib/liblzma.so
2025-08-07T12:44:12.5496476Z  │ │ -- Looking for lzma_easy_encoder in $BUILD_PREFIX/lib/liblzma.so - found
2025-08-07T12:44:12.5497726Z  │ │ -- Looking for lzma_lzma_preset in $BUILD_PREFIX/lib/liblzma.so
2025-08-07T12:44:12.6144760Z  │ │ -- Looking for lzma_lzma_preset in $BUILD_PREFIX/lib/liblzma.so - found
2025-08-07T12:44:12.6158417Z  │ │ -- Found LibLZMA: $BUILD_PREFIX/lib/liblzma.so (found version "5.8.1")
2025-08-07T12:44:12.6159069Z  │ │ -- Looking for xxHash
2025-08-07T12:44:12.6320868Z  │ │ -- Found xxHash: $BUILD_PREFIX/lib/libxxhash.so (found suitable version "0.8.3", minimum required is "0.8")
2025-08-07T12:44:12.6321607Z  │ │ -- Looking for ZSTD
2025-08-07T12:44:12.6391638Z  │ │ -- Found ZSTD: $BUILD_PREFIX/lib/libzstd.so
2025-08-07T12:44:12.6392230Z  │ │ -- Looking for LZ4
2025-08-07T12:44:12.6496688Z  │ │ -- Found LZ4: $BUILD_PREFIX/lib/liblz4.so (found version "1.10.0")
2025-08-07T12:44:12.6497264Z  │ │ -- Looking for Python
2025-08-07T12:44:12.7086050Z  │ │ -- Found Python3: $BUILD_PREFIX/bin/python3.10 (found suitable version "3.10.18", minimum required is "3.8") found components: Interpreter
2025-08-07T12:44:12.7097818Z  │ │ -- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB
2025-08-07T12:44:12.9108446Z  │ │ -- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
2025-08-07T12:44:13.0434252Z  │ │ CMake Warning at interpreter/CMakeLists.txt:10 (message):
2025-08-07T12:44:13.0435417Z  │ │   Due to ROOT-specific patches you need a special version of clang.  You
2025-08-07T12:44:13.0439042Z  │ │   cannot use vanilla clang.
2025-08-07T12:44:13.1440133Z  │ │ -- Found zstd: $BUILD_PREFIX/lib/libzstd.so
2025-08-07T12:44:13.5787715Z  │ │ -- Found LibXml2: $BUILD_PREFIX/lib/libxml2.so (found version "2.13.8")
2025-08-07T12:44:13.6010434Z  │ │ -- Found LLVM 18.1.8 in $BUILD_PREFIX/lib/cmake/llvm
2025-08-07T12:44:13.6155722Z  │ │ -- Linker detection: GNU ld
2025-08-07T12:44:13.7918409Z  │ │ -- Building with -fPIC
2025-08-07T12:44:14.9119517Z  │ │ -- Using LLVM external library - 18.1.8
2025-08-07T12:44:14.9585909Z  │ │ -- Found Clang  in $BUILD_PREFIX/lib/cmake/clang
2025-08-07T12:44:14.9606949Z  │ │ -- Building Cling as part of ROOT
2025-08-07T12:44:15.2344701Z  │ │ -- Cling version (from VERSION file): ROOT_1.3~dev
2025-08-07T12:44:15.2695117Z  │ │ -- Cling will look for C++ headers in '$BUILD_PREFIX/bin/../lib/gcc/x86_64-conda-linux-gnu/14.3.0/include/c++:$BUILD_PREFIX/bin/../lib/gcc/x86_64-conda-linux-gnu/14.3.0/include/c++/x86_64-conda-linux-gnu:$BUILD_PREFIX/bin/../lib/gcc/x86_64-conda-linux-gnu/14.3.0/include/c++/backward' at runtime.
2025-08-07T12:44:15.2696809Z  │ │ -- And if not found, will invoke: '$BUILD_PREFIX/bin/x86_64-conda-linux-gnu-c++ ' for them.
2025-08-07T12:44:15.3141335Z  │ │ -- Building with -fPIC
2025-08-07T12:44:16.5939864Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.5941826Z  │ │   get_target_property() called with non-existent target "dl".
2025-08-07T12:44:16.5983912Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.5984606Z  │ │   get_target_property() called with non-existent target "dl".
2025-08-07T12:44:16.6036043Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6037126Z  │ │   get_target_property() called with non-existent target "-lpthread".
2025-08-07T12:44:16.6065912Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6069339Z  │ │   get_target_property() called with non-existent target
2025-08-07T12:44:16.6071316Z  │ │   "$<LINK_ONLY:LLVMObject>".
2025-08-07T12:44:16.6071956Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6072445Z  │ │   get_target_property() called with non-existent target
2025-08-07T12:44:16.6072818Z  │ │   "$<LINK_ONLY:LLVMOrcShared>".
2025-08-07T12:44:16.6073521Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6073999Z  │ │   get_target_property() called with non-existent target
2025-08-07T12:44:16.6074375Z  │ │   "$<LINK_ONLY:LLVMOrcTargetProcess>".
2025-08-07T12:44:16.6074865Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6075319Z  │ │   get_target_property() called with non-existent target
2025-08-07T12:44:16.6075666Z  │ │   "$<LINK_ONLY:LLVMSupport>".
2025-08-07T12:44:16.6076138Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6076588Z  │ │   get_target_property() called with non-existent target
2025-08-07T12:44:16.6076945Z  │ │   "$<LINK_ONLY:LLVMTargetParser>".
2025-08-07T12:44:16.6091053Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6116060Z  │ │   get_target_property() called with non-existent target "-lpthread".
2025-08-07T12:44:16.6122848Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6125370Z  │ │   get_target_property() called with non-existent target "rt".
2025-08-07T12:44:16.6126629Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6127229Z  │ │   get_target_property() called with non-existent target
2025-08-07T12:44:16.6127718Z  │ │   "$<LINK_ONLY:LLVMAnalysis>".
2025-08-07T12:44:16.6128302Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6129217Z  │ │   get_target_property() called with non-existent target
2025-08-07T12:44:16.6129722Z  │ │   "$<LINK_ONLY:LLVMBitReader>".
2025-08-07T12:44:16.6130330Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6130894Z  │ │   get_target_property() called with non-existent target
2025-08-07T12:44:16.6131596Z  │ │   "$<LINK_ONLY:LLVMBitWriter>".
2025-08-07T12:44:16.6132200Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6132771Z  │ │   get_target_property() called with non-existent target
2025-08-07T12:44:16.6133458Z  │ │   "$<LINK_ONLY:LLVMPasses>".
2025-08-07T12:44:16.6134060Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6134649Z  │ │   get_target_property() called with non-existent target "rt".
2025-08-07T12:44:16.6135280Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6135880Z  │ │   get_target_property() called with non-existent target "dl".
2025-08-07T12:44:16.6136499Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6137090Z  │ │   get_target_property() called with non-existent target "-lpthread".
2025-08-07T12:44:16.6148930Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6163153Z  │ │   get_target_property() called with non-existent target "m".
2025-08-07T12:44:16.6335756Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6352627Z  │ │   get_target_property() called with non-existent target "-lpthread".
2025-08-07T12:44:16.6361481Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6364568Z  │ │   get_target_property() called with non-existent target "rt".
2025-08-07T12:44:16.6365466Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6366099Z  │ │   get_target_property() called with non-existent target "-lpthread".
2025-08-07T12:44:16.6366731Z  │ │ CMake Error at interpreter/CppInterOp/lib/Interpreter/CMakeLists.txt:72 (get_target_property):
2025-08-07T12:44:16.6367340Z  │ │   get_target_property() called with non-existent target "-lpthread".
2025-08-07T12:44:16.7067084Z  │ │ -- Performing Test CXX_HAS_fno_rtti
2025-08-07T12:44:16.7977735Z  │ │ -- Performing Test CXX_HAS_fno_rtti - Success
2025-08-07T12:44:16.8657226Z  │ │ -- Found xxHash: $BUILD_PREFIX/lib/libxxhash.so (found version "0.8.3")
2025-08-07T12:44:16.8781018Z  │ │ -- Performing Test found_arc4
2025-08-07T12:44:16.9319555Z  │ │ -- Performing Test found_arc4 - Failed
2025-08-07T12:44:16.9320859Z  │ │ -- Performing Test found_arc4_bsd
2025-08-07T12:44:16.9663842Z  │ │ -- Performing Test found_arc4_bsd - Failed
2025-08-07T12:44:16.9668388Z  │ │ -- Performing Test found_getrandom
2025-08-07T12:44:17.0602340Z  │ │ -- Performing Test found_getrandom - Success
2025-08-07T12:44:17.0603825Z  │ │ -- Found getrandom in sys/random.h
2025-08-07T12:44:17.1362425Z  │ │ -- Performing Test C_HAS_Wno_strict_overflow
2025-08-07T12:44:17.2018286Z  │ │ -- Performing Test C_HAS_Wno_strict_overflow - Success
2025-08-07T12:44:17.2029372Z  │ │ -- Performing Test C_HAS_Wno_maybe_uninitialized
2025-08-07T12:44:17.2683988Z  │ │ -- Performing Test C_HAS_Wno_maybe_uninitialized - Success
2025-08-07T12:44:17.2695039Z  │ │ -- Performing Test C_HAS_Wno_parentheses_equality
2025-08-07T12:44:17.3346460Z  │ │ -- Performing Test C_HAS_Wno_parentheses_equality - Success
2025-08-07T12:44:17.6164865Z  │ │ -- Looking for m
2025-08-07T12:44:17.6484197Z  │ │ -- Looking for m - not found
2025-08-07T12:44:17.9531674Z  │ │ -- Performing Test GCC_HAS_BIDI_CHARS_FLAG
2025-08-07T12:44:18.0434476Z  │ │ -- Performing Test GCC_HAS_BIDI_CHARS_FLAG - Success
2025-08-07T12:44:18.2919686Z  │ │ CMake Warning at CMakeLists.txt:553 (message):
2025-08-07T12:44:18.2920829Z  │ │   Cross-compiling: hsimple.root will not be generated
2025-08-07T12:44:18.3005601Z  │ │ -- Performing Test found_setresuid
2025-08-07T12:44:18.3959870Z  │ │ -- Performing Test found_setresuid - Success
2025-08-07T12:44:18.3965843Z  │ │ -- Performing Test found_attribute_always_inline
2025-08-07T12:44:18.4834529Z  │ │ -- Performing Test found_attribute_always_inline - Success
2025-08-07T12:44:18.4836755Z  │ │ -- Performing Test has_found_attribute_noinline
2025-08-07T12:44:18.5719079Z  │ │ -- Performing Test has_found_attribute_noinline - Success
2025-08-07T12:44:18.5721894Z  │ │ -- Performing Test found_hardware_interference_size
2025-08-07T12:44:18.6575886Z  │ │ -- Performing Test found_hardware_interference_size - Failed
2025-08-07T12:44:18.7820019Z  │ │ Running $SRC_DIR/root-source/cmake/unix/compiledata.sh
2025-08-07T12:44:18.7825906Z  │ │ Making $SRC_DIR/build-rootcling_stage1-xp/ginclude/compiledata.h
2025-08-07T12:44:18.7925438Z  │ │ -- ROOT Configuration 
2025-08-07T12:44:18.7932318Z  │ │ System:            Linux
2025-08-07T12:44:18.7934183Z  │ │ ROOT Platform:     linux
2025-08-07T12:44:18.7934601Z  │ │ ROOT Architecture: linuxppc64gcc
2025-08-07T12:44:18.7935016Z  │ │ Processor:         1 core AMD EPYC 7763 64-Core Processor (ppc64le)
2025-08-07T12:44:18.7935370Z  │ │ Build type:        Release
2025-08-07T12:44:18.7935675Z  │ │ Install path:      $BUILD_PREFIX
2025-08-07T12:44:18.7935975Z  │ │ Compiler:          GNU 14.3.0
2025-08-07T12:44:18.7936258Z  │ │ C++ standard:      20
2025-08-07T12:44:18.7936522Z  │ │ Compiler flags:
2025-08-07T12:44:18.7936762Z  │ │ -- 
2025-08-07T12:44:18.7953551Z  │ │  - C:                          -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -I$BUILD_PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/root_base-6.36.02 -fdebug-prefix-map=$BUILD_PREFIX=/usr/local/src/conda-prefix -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -I$BUILD_PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/root_base-6.36.02 -fdebug-prefix-map=$BUILD_PREFIX=/usr/local/src/conda-prefix -fno-merge-constants -fplt -fdiagnostics-color=always -Wno-implicit-fallthrough -pipe -Wall -W -pthread
2025-08-07T12:44:18.7967003Z  │ │  - C (build type specific):   -O3 -DNDEBUG
2025-08-07T12:44:18.8141099Z  │ │  - C++:                       -fvisibility-inlines-hidden -fmessage-length=0 -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -I$BUILD_PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/root_base-6.36.02 -fdebug-prefix-map=$BUILD_PREFIX=/usr/local/src/conda-prefix -fvisibility-inlines-hidden -fmessage-length=0 -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -I$BUILD_PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/root_base-6.36.02 -fdebug-prefix-map=$BUILD_PREFIX=/usr/local/src/conda-prefix -fno-merge-constants -D__ROOFIT_NOBANNER -fplt -Wl,--exclude-libs,libclangAnalysis.a -Wl,--exclude-libs,libclangAnalysisFlowSensitive.a -Wl,--exclude-libs,libclangAnalysisFlowSensitiveModels.a -Wl,--exclude-libs,libclangAPINotes.a -Wl,--exclude-libs,libclangApplyReplacements.a -Wl,--exclude-libs,libclangARCMigrate.a -Wl,--exclude-libs,libclangAST.a -Wl,--exclude-libs,libclangASTMatchers.a -Wl,--exclude-libs,libclangBasic.a -Wl,--exclude-libs,libclangChangeNamespace.a -Wl,--exclude-libs,libclangCodeGen.a -Wl,--exclude-libs,libclangCrossTU.a -Wl,--exclude-libs,libclangDaemon.a -Wl,--exclude-libs,libclangDaemonTweaks.a -Wl,--exclude-libs,libclangDependencyScanning.a -Wl,--exclude-libs,libclangDirectoryWatcher.a -Wl,--exclude-libs,libclangdMain.a -Wl,--exclude-libs,libclangDoc.a -Wl,--exclude-libs,libclangdRemoteIndex.a -Wl,--exclude-libs,libclangDriver.a -Wl,--exclude-libs,libclangdSupport.a -Wl,--exclude-libs,libclangDynamicASTMatchers.a -Wl,--exclude-libs,libclangEdit.a -Wl,--exclude-libs,libclangExtractAPI.a -Wl,--exclude-libs,libclangFormat.a -Wl,--exclude-libs,libclangFrontend.a -Wl,--exclude-libs,libclangFrontendTool.a -Wl,--exclude-libs,libclangHandleCXX.a -Wl,--exclude-libs,libclangHandleLLVM.a -Wl,--exclude-libs,libclangIncludeCleaner.a -Wl,--exclude-libs,libclangIncludeFixer.a -Wl,--exclude-libs,libclangIncludeFixerPlugin.a -Wl,--exclude-libs,libclangIndex.a -Wl,--exclude-libs,libclangIndexSerialization.a -Wl,--exclude-libs,libclangInterpreter.a -Wl,--exclude-libs,libclangLex.a -Wl,--exclude-libs,libclangMove.a -Wl,--exclude-libs,libclangParse.a -Wl,--exclude-libs,libclangPseudo.a -Wl,--exclude-libs,libclangPseudoCLI.a -Wl,--exclude-libs,libclangPseudoCXX.a -Wl,--exclude-libs,libclangPseudoGrammar.a -Wl,--exclude-libs,libclangQuery.a -Wl,--exclude-libs,libclangReorderFields.a -Wl,--exclude-libs,libclangRewrite.a -Wl,--exclude-libs,libclangRewriteFrontend.a -Wl,--exclude-libs,libclangSema.a -Wl,--exclude-libs,libclangSerialization.a -Wl,--exclude-libs,libclangStaticAnalyzerCheckers.a -Wl,--exclude-libs,libclangStaticAnalyzerCore.a -Wl,--exclude-libs,libclangStaticAnalyzerFrontend.a -Wl,--exclude-libs,libclangSupport.a -Wl,--exclude-libs,libclangTidy.a -Wl,--exclude-libs,libclangTidyAbseilModule.a -Wl,--exclude-libs,libclangTidyAlteraModule.a -Wl,--exclude-libs,libclangTidyAndroidModule.a -Wl,--exclude-libs,libclangTidyBoostModule.a -Wl,--exclude-libs,libclangTidyBugproneModule.a -Wl,--exclude-libs,libclangTidyCERTModule.a -Wl,--exclude-libs,libclangTidyConcurrencyModule.a -Wl,--exclude-libs,libclangTidyCppCoreGuidelinesModule.a -Wl,--exclude-libs,libclangTidyDarwinModule.a -Wl,--exclude-libs,libclangTidyFuchsiaModule.a -Wl,--exclude-libs,libclangTidyGoogleModule.a -Wl,--exclude-libs,libclangTidyHICPPModule.a -Wl,--exclude-libs,libclangTidyLinuxKernelModule.a -Wl,--exclude-libs,libclangTidyLLVMLibcModule.a -Wl,--exclude-libs,libclangTidyLLVMModule.a -Wl,--exclude-libs,libclangTidyMain.a -Wl,--exclude-libs,libclangTidyMiscModule.a -Wl,--exclude-libs,libclangTidyModernizeModule.a -Wl,--exclude-libs,libclangTidyMPIModule.a -Wl,--exclude-libs,libclangTidyObjCModule.a -Wl,--exclude-libs,libclangTidyOpenMPModule.a -Wl,--exclude-libs,libclangTidyPerformanceModule.a -Wl,--exclude-libs,libclangTidyPlugin.a -Wl,--exclude-libs,libclangTidyPortabilityModule.a -Wl,--exclude-libs,libclangTidyReadabilityModule.a -Wl,--exclude-libs,libclangTidyUtils.a -Wl,--exclude-libs,libclangTidyZirconModule.a -Wl,--exclude-libs,libclangTooling.a -Wl,--exclude-libs,libclangToolingASTDiff.a -Wl,--exclude-libs,libclangToolingCore.a -Wl,--exclude-libs,libclangToolingInclusions.a -Wl,--exclude-libs,libclangToolingInclusionsStdlib.a -Wl,--exclude-libs,libclangToolingRefactoring.a -Wl,--exclude-libs,libclangToolingSyntax.a -Wl,--exclude-libs,libclangTransformer.a -Wl,--exclude-libs,libLLVMAArch64AsmParser.a -Wl,--exclude-libs,libLLVMAArch64CodeGen.a -Wl,--exclude-libs,libLLVMAArch64Desc.a -Wl,--exclude-libs,libLLVMAArch64Disassembler.a -Wl,--exclude-libs,libLLVMAArch64Info.a -Wl,--exclude-libs,libLLVMAArch64Utils.a -Wl,--exclude-libs,libLLVMAggressiveInstCombine.a -Wl,--exclude-libs,libLLVMAMDGPUAsmParser.a -Wl,--exclude-libs,libLLVMAMDGPUCodeGen.a -Wl,--exclude-libs,libLLVMAMDGPUDesc.a -Wl,--exclude-libs,libLLVMAMDGPUDisassembler.a -Wl,--exclude-libs,libLLVMAMDGPUInfo.a -Wl,--exclude-libs,libLLVMAMDGPUTargetMCA.a -Wl,--exclude-libs,libLLVMAMDGPUUtils.a -Wl,--exclude-libs,libLLVMAnalysis.a -Wl,--exclude-libs,libLLVMARMAsmParser.a -Wl,--exclude-libs,libLLVMARMCodeGen.a -Wl,--exclude-libs,libLLVMARMDesc.a -Wl,--exclude-libs,libLLVMARMDisassembler.a -Wl,--exclude-libs,libLLVMARMInfo.a -Wl,--exclude-libs,libLLVMARMUtils.a -Wl,--exclude-libs,libLLVMAsmParser.a -Wl,--exclude-libs,libLLVMAsmPrinter.a -Wl,--exclude-libs,libLLVMAVRAsmParser.a -Wl,--exclude-libs,libLLVMAVRCodeGen.a -Wl,--exclude-libs,libLLVMAVRDesc.a -Wl,--exclude-libs,libLLVMAVRDisassembler.a -Wl,--exclude-libs,libLLVMAVRInfo.a -Wl,--exclude-libs,libLLVMBinaryFormat.a -Wl,--exclude-libs,libLLVMBitReader.a -Wl,--exclude-libs,libLLVMBitstreamReader.a -Wl,--exclude-libs,libLLVMBitWriter.a -Wl,--exclude-libs,libLLVMBPFAsmParser.a -Wl,--exclude-libs,libLLVMBPFCodeGen.a -Wl,--exclude-libs,libLLVMBPFDesc.a -Wl,--exclude-libs,libLLVMBPFDisassembler.a -Wl,--exclude-libs,libLLVMBPFInfo.a -Wl,--exclude-libs,libLLVMCFGuard.a -Wl,--exclude-libs,libLLVMCFIVerify.a -Wl,--exclude-libs,libLLVMCodeGen.a -Wl,--exclude-libs,libLLVMCodeGenTypes.a -Wl,--exclude-libs,libLLVMCore.a -Wl,--exclude-libs,libLLVMCoroutines.a -Wl,--exclude-libs,libLLVMCoverage.a -Wl,--exclude-libs,libLLVMDebugInfoBTF.a -Wl,--exclude-libs,libLLVMDebugInfoCodeView.a -Wl,--exclude-libs,libLLVMDebuginfod.a -Wl,--exclude-libs,libLLVMDebugInfoDWARF.a -Wl,--exclude-libs,libLLVMDebugInfoGSYM.a -Wl,--exclude-libs,libLLVMDebugInfoLogicalView.a -Wl,--exclude-libs,libLLVMDebugInfoMSF.a -Wl,--exclude-libs,libLLVMDebugInfoPDB.a -Wl,--exclude-libs,libLLVMDemangle.a -Wl,--exclude-libs,libLLVMDiff.a -Wl,--exclude-libs,libLLVMDlltoolDriver.a -Wl,--exclude-libs,libLLVMDWARFLinker.a -Wl,--exclude-libs,libLLVMDWARFLinkerClassic.a -Wl,--exclude-libs,libLLVMDWARFLinkerParallel.a -Wl,--exclude-libs,libLLVMDWP.a -Wl,--exclude-libs,libLLVMExecutionEngine.a -Wl,--exclude-libs,libLLVMExegesis.a -Wl,--exclude-libs,libLLVMExegesisAArch64.a -Wl,--exclude-libs,libLLVMExegesisMips.a -Wl,--exclude-libs,libLLVMExegesisPowerPC.a -Wl,--exclude-libs,libLLVMExegesisX86.a -Wl,--exclude-libs,libLLVMExtensions.a -Wl,--exclude-libs,libLLVMFileCheck.a -Wl,--exclude-libs,libLLVMFrontendDriver.a -Wl,--exclude-libs,libLLVMFrontendHLSL.a -Wl,--exclude-libs,libLLVMFrontendOffloading.a -Wl,--exclude-libs,libLLVMFrontendOpenACC.a -Wl,--exclude-libs,libLLVMFrontendOpenMP.a -Wl,--exclude-libs,libLLVMFuzzerCLI.a -Wl,--exclude-libs,libLLVMFuzzMutate.a -Wl,--exclude-libs,libLLVMGlobalISel.a -Wl,--exclude-libs,libLLVMHexagonAsmParser.a -Wl,--exclude-libs,libLLVMHexagonCodeGen.a -Wl,--exclude-libs,libLLVMHexagonDesc.a -Wl,--exclude-libs,libLLVMHexagonDisassembler.a -Wl,--exclude-libs,libLLVMHexagonInfo.a -Wl,--exclude-libs,libLLVMHipStdPar.a -Wl,--exclude-libs,libLLVMInstCombine.a -Wl,--exclude-libs,libLLVMInstrumentation.a -Wl,--exclude-libs,libLLVMInterfaceStub.a -Wl,--exclude-libs,libLLVMInterpreter.a -Wl,--exclude-libs,libLLVMipo.a -Wl,--exclude-libs,libLLVMIRPrinter.a -Wl,--exclude-libs,libLLVMIRReader.a -Wl,--exclude-libs,libLLVMJITLink.a -Wl,--exclude-libs,libLLVMLanaiAsmParser.a -Wl,--exclude-libs,libLLVMLanaiCodeGen.a -Wl,--exclude-libs,libLLVMLanaiDesc.a -Wl,--exclude-libs,libLLVMLanaiDisassembler.a -Wl,--exclude-libs,libLLVMLanaiInfo.a -Wl,--exclude-libs,libLLVMLibDriver.a -Wl,--exclude-libs,libLLVMLineEditor.a -Wl,--exclude-libs,libLLVMLinker.a -Wl,--exclude-libs,libLLVMLoongArchAsmParser.a -Wl,--exclude-libs,libLLVMLoongArchCodeGen.a -Wl,--exclude-libs,libLLVMLoongArchDesc.a -Wl,--exclude-libs,libLLVMLoongArchDisassembler.a -Wl,--exclude-libs,libLLVMLoongArchInfo.a -Wl,--exclude-libs,libLLVMLTO.a -Wl,--exclude-libs,libLLVMMC.a -Wl,--exclude-libs,libLLVMMCA.a -Wl,--exclude-libs,libLLVMMCDisassembler.a -Wl,--exclude-libs,libLLVMMCJIT.a -Wl,--exclude-libs,libLLVMMCParser.a -Wl,--exclude-libs,libLLVMMipsAsmParser.a -Wl,--exclude-libs,libLLVMMipsCodeGen.a -Wl,--exclude-libs,libLLVMMipsDesc.a -Wl,--exclude-libs,libLLVMMipsDisassembler.a -Wl,--exclude-libs,libLLVMMipsInfo.a -Wl,--exclude-libs,libLLVMMIRParser.a -Wl,--exclude-libs,libLLVMMSP430AsmParser.a -Wl,--exclude-libs,libLLVMMSP430CodeGen.a -Wl,--exclude-libs,libLLVMMSP430Desc.a -Wl,--exclude-libs,libLLVMMSP430Disassembler.a -Wl,--exclude-libs,libLLVMMSP430Info.a -Wl,--exclude-libs,libLLVMNVPTXCodeGen.a -Wl,--exclude-libs,libLLVMNVPTXDesc.a -Wl,--exclude-libs,libLLVMNVPTXInfo.a -Wl,--exclude-libs,libLLVMObjCARCOpts.a -Wl,--exclude-libs,libLLVMObjCopy.a -Wl,--exclude-libs,libLLVMObject.a -Wl,--exclude-libs,libLLVMObjectYAML.a -Wl,--exclude-libs,libLLVMOption.a -Wl,--exclude-libs,libLLVMOrcDebugging.a -Wl,--exclude-libs,libLLVMOrcJIT.a -Wl,--exclude-libs,libLLVMOrcShared.a -Wl,--exclude-libs,libLLVMOrcTargetProcess.a -Wl,--exclude-libs,libLLVMPasses.a -Wl,--exclude-libs,libLLVMPowerPCAsmParser.a -Wl,--exclude-libs,libLLVMPowerPCCodeGen.a -Wl,--exclude-libs,libLLVMPowerPCDesc.a -Wl,--exclude-libs,libLLVMPowerPCDisassembler.a -Wl,--exclude-libs,libLLVMPowerPCInfo.a -Wl,--exclude-libs,libLLVMProfileData.a -Wl,--exclude-libs,libLLVMRemarks.a -Wl,--exclude-libs,libLLVMRISCVAsmParser.a -Wl,--exclude-libs,libLLVMRISCVCodeGen.a -Wl,--exclude-libs,libLLVMRISCVDesc.a -Wl,--exclude-libs,libLLVMRISCVDisassembler.a -Wl,--exclude-libs,libLLVMRISCVInfo.a -Wl,--exclude-libs,libLLVMRISCVTargetMCA.a -Wl,--exclude-libs,libLLVMRuntimeDyld.a -Wl,--exclude-libs,libLLVMScalarOpts.a -Wl,--exclude-libs,libLLVMSelectionDAG.a -Wl,--exclude-libs,libLLVMSparcAsmParser.a -Wl,--exclude-libs,libLLVMSparcCodeGen.a -Wl,--exclude-libs,libLLVMSparcDesc.a -Wl,--exclude-libs,libLLVMSparcDisassembler.a -Wl,--exclude-libs,libLLVMSparcInfo.a -Wl,--exclude-libs,libLLVMSupport.a -Wl,--exclude-libs,libLLVMSymbolize.a -Wl,--exclude-libs,libLLVMSystemZAsmParser.a -Wl,--exclude-libs,libLLVMSystemZCodeGen.a -Wl,--exclude-libs,libLLVMSystemZDesc.a -Wl,--exclude-libs,libLLVMSystemZDisassembler.a -Wl,--exclude-libs,libLLVMSystemZInfo.a -Wl,--exclude-libs,libLLVMTableGen.a -Wl,--exclude-libs,libLLVMTableGenCommon.a -Wl,--exclude-libs,libLLVMTableGenGlobalISel.a -Wl,--exclude-libs,libLLVMTarget.a -Wl,--exclude-libs,libLLVMTargetParser.a -Wl,--exclude-libs,libLLVMTextAPI.a -Wl,--exclude-libs,libLLVMTextAPIBinaryReader.a -Wl,--exclude-libs,libLLVMTransformUtils.a -Wl,--exclude-libs,libLLVMVEAsmParser.a -Wl,--exclude-libs,libLLVMVECodeGen.a -Wl,--exclude-libs,libLLVMVectorize.a -Wl,--exclude-libs,libLLVMVEDesc.a -Wl,--exclude-libs,libLLVMVEDisassembler.a -Wl,--exclude-libs,libLLVMVEInfo.a -Wl,--exclude-libs,libLLVMWebAssemblyAsmParser.a -Wl,--exclude-libs,libLLVMWebAssemblyCodeGen.a -Wl,--exclude-libs,libLLVMWebAssemblyDesc.a -Wl,--exclude-libs,libLLVMWebAssemblyDisassembler.a -Wl,--exclude-libs,libLLVMWebAssemblyInfo.a -Wl,--exclude-libs,libLLVMWebAssemblyUtils.a -Wl,--exclude-libs,libLLVMWindowsDriver.a -Wl,--exclude-libs,libLLVMWindowsManifest.a -Wl,--exclude-libs,libLLVMX86AsmParser.a -Wl,--exclude-libs,libLLVMX86CodeGen.a -Wl,--exclude-libs,libLLVMX86Desc.a -Wl,--exclude-libs,libLLVMX86Disassembler.a -Wl,--exclude-libs,libLLVMX86Info.a -Wl,--exclude-libs,libLLVMX86TargetMCA.a -Wl,--exclude-libs,libLLVMXCoreCodeGen.a -Wl,--exclude-libs,libLLVMXCoreDesc.a -Wl,--exclude-libs,libLLVMXCoreDisassembler.a -Wl,--exclude-libs,libLLVMXCoreInfo.a -Wl,--exclude-libs,libLLVMXRay.a -fdiagnostics-color=always -Wno-implicit-fallthrough -Wno-noexcept-type -pipe  -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -pthread
2025-08-07T12:44:18.8175769Z  │ │  - C++ (build type specific): -O3 -DNDEBUG
2025-08-07T12:44:18.8176098Z  │ │ -- Linker flags:
2025-08-07T12:44:18.8176986Z  │ │  - Executable:     -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--allow-shlib-undefined -Wl,-rpath,$BUILD_PREFIX/lib -Wl,-rpath-link,$BUILD_PREFIX/lib -L$BUILD_PREFIX/lib -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--allow-shlib-undefined -Wl,-rpath,$BUILD_PREFIX/lib -Wl,-rpath-link,$BUILD_PREFIX/lib -L$BUILD_PREFIX/lib -rdynamic
2025-08-07T12:44:18.8178485Z  │ │  - Module:         -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--allow-shlib-undefined -Wl,-rpath,$BUILD_PREFIX/lib -Wl,-rpath-link,$BUILD_PREFIX/lib -L$BUILD_PREFIX/lib -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--allow-shlib-undefined -Wl,-rpath,$BUILD_PREFIX/lib -Wl,-rpath-link,$BUILD_PREFIX/lib -L$BUILD_PREFIX/lib
2025-08-07T12:44:18.8179815Z  │ │  - Shared:         -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--allow-shlib-undefined -Wl,-rpath,$BUILD_PREFIX/lib -Wl,-rpath-link,$BUILD_PREFIX/lib -L$BUILD_PREFIX/lib -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--allow-shlib-undefined -Wl,-rpath,$BUILD_PREFIX/lib -Wl,-rpath-link,$BUILD_PREFIX/lib -L$BUILD_PREFIX/lib -Wl,--no-undefined -Wl,--hash-style="both"
2025-08-07T12:44:18.8180470Z  │ │ -- Enabled support for:  builtin_cling rpath shared
2025-08-07T12:44:18.8180805Z  │ │ -- Configuring incomplete, errors occurred!
2025-08-07T12:44:18.8372322Z  │ │ × error Script failed with status 1
2025-08-07T12:44:18.8373358Z  │ │ × error 
2025-08-07T12:44:18.8373727Z  │ │ × error Script execution failed.
2025-08-07T12:44:18.8374004Z  │ │ × error 
2025-08-07T12:44:18.8374475Z  │ │ × error   Work directory: /home/conda/feedstock_root/build_artifacts/bld/rattler-build_root_base_1754570431/work
2025-08-07T12:44:18.8375358Z  │ │ × error   Prefix: /home/conda/feedstock_root/build_artifacts/bld/rattler-build_root_base_1754570431/host_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac
2025-08-07T12:44:18.8376238Z  │ │ × error   Build prefix: /home/conda/feedstock_root/build_artifacts/bld/rattler-build_root_base_1754570431/build_env
2025-08-07T12:44:18.8376571Z  │ │ × error 
2025-08-07T12:44:18.8376911Z  │ │ × error To run the script manually, use the following command:
2025-08-07T12:44:18.8377193Z  │ │ × error 
2025-08-07T12:44:18.8377648Z  │ │ × error   cd "/home/conda/feedstock_root/build_artifacts/bld/rattler-build_root_base_1754570431/work" && ./conda_build.sh
2025-08-07T12:44:18.8378030Z  │ │ × error 
2025-08-07T12:44:18.8378359Z  │ │ × error To run commands interactively in the build environment:
2025-08-07T12:44:18.8378672Z  │ │ × error 
2025-08-07T12:44:18.8379129Z  │ │ × error   cd "/home/conda/feedstock_root/build_artifacts/bld/rattler-build_root_base_1754570431/work" && source build_env.sh
2025-08-07T12:44:18.8385107Z  │ │
2025-08-07T12:44:18.8385772Z  │ ╰─────────────────── (took 10 seconds)
2025-08-07T12:44:18.8655978Z  │
2025-08-07T12:44:18.8656447Z  ╰─────────────────── (took 4 minutes)
2025-08-07T12:44:19.4945175Z Error:   × Script failed to execute
2025-08-07T12:44:19.4946085Z 
2025-08-07T12:44:21.5185991Z 
2025-08-07T12:44:21.5705434Z ##[error]Bash exited with code '1'.
2025-08-07T12:44:21.5943588Z ##[section]Finishing: Run docker build

ROOT version

6.36.02 (using https://github.com/root-project/root/archive/refs/tags/v6-36-02.tar.gz)

Installation method

build from source

Operating system

Linux ppc64le, aarch64

Additional context

conda-forge/root-feedstock#295 (comment)

Activity

  1. vepadulano commented on Aug 8, 2025

    @vepadulano
    Member

    Hi @kratsg!

    Thanks for your report. Indeed, this is what I meant in my comment of the linked issue when I wrote I have an half idea of what could be the problem. I have tried the same patch you propose which is enough to get the conda CI to configure ROOT, but not enough to build it. In the conda logs (which are lost by now since I then removed that patch to try other things), I could see

    │ │ $BUILD_PREFIX/bin/../lib/gcc/x86_64-conda-linux-gnu/14.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: Compression.cpp:(.text._ZN4llvm11compression10decompressENS_20DebugCompressionTypeENS_8ArrayRefIhEEPhm+0x75): undefined reference to `ZSTD_decompress'
     │ │ $BUILD_PREFIX/bin/../lib/gcc/x86_64-conda-linux-gnu/14.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: Compression.cpp:(.text._ZN4llvm11compression10decompressENS_20DebugCompressionTypeENS_8ArrayRefIhEEPhm+0x86): undefined reference to `ZSTD_isError'
     │ │ $BUILD_PREFIX/bin/../lib/gcc/x86_64-conda-linux-gnu/14.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: Compression.cpp:(.text._ZN4llvm11compression10decompressENS_20DebugCompressionTypeENS_8ArrayRefIhEEPhm+0x9f): undefined reference to `ZSTD_getErrorName'
     │ │ $BUILD_PREFIX/bin/../lib/gcc/x86_64-conda-linux-gnu/14.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: $BUILD_PREFIX/lib/libLLVMSupport.a(Compression.cpp.o): in function `llvm::compression::decompress(llvm::compression::Format, llvm::ArrayRef<unsigned char>, llvm::SmallVectorImpl<unsigned char>&, unsigned long)':
     │ │ Compression.cpp:(.text._ZN4llvm11compression10decompressENS0_6FormatENS_8ArrayRefIhEERNS_15SmallVectorImplIhEEm+0x57): undefined reference to `uncompress'
    

    Some of the transitive_libs strings are not a TARGET but they are still somewhat linked to what CppInterop will need in the build. Another idea I had initially is just to avoid the transitive_libs when it is exactly dl, but the CI log already shows that is not enough. In any case, it's good to have exposure of the issue also on the main repository, we'll try to continue debugging, thanks for your patience!

  2. guitargeek commented on Aug 12, 2025

    @guitargeek
    Contributor

    @Vipul-Cariappa, can you help with this since it relates to CppInterop and Vincenzo is off?

  3. Vipul-Cariappa commented on Aug 12, 2025

    @Vipul-Cariappa
    Contributor

    Hi @guitargeek, From last week's Python-C++ bindings meeting; I remember @vepadulano saying this could be fixed with

              foreach(transitive_lib ${transitive_libs})
    +            if (TARGET lib_type)
                  get_target_property(lib_type ${transitive_lib} TYPE)
                  if("${lib_type}" STREQUAL "STATIC_LIBRARY")
                    list(APPEND static_transitive_libs ${transitive_lib})
                  else()
                    # Filter our libLLVM.so and friends.
                    continue()

    And for the undefined reference to 'ZSTD_...'. Vassil suggested adding zlib and zstd to requirements -> host. Look at https://github.com/conda-forge/cppinterop-feedstock/blob/aa3a84e85f4e0ff51742ed08d24e4f6215f2c833/recipe/meta.yaml#L44.

    I see that zlib and zstd is already part of the requirements -> host. https://github.com/conda-forge/root-feedstock/pull/300/files#diff-ad6aed43f0cf479348ccccec8e7185c4b70582192329f11908dd22a731771702

    Another thing to do was to check the CMake version.

  4. vepadulano commented on Aug 25, 2025

    @vepadulano
    Member

    Both zlib and zstd are already added to the host requirements section at https://github.com/conda-forge/root-feedstock/blob/main/recipe/recipe.yaml. The issue I was lamenting already a few weeks ago with the if (TARGET lib_type) patch is that it's not enough. There are quite a few transitive_lib strings which are not real CMake targets but still are nneded somehow by cppinterop's CMake (e.g. because they eventually generate targets). I am back from holiday and I will try again to find a way to reproduce this scenario which so far has escaped all my attempts

  5. vepadulano commented on Aug 29, 2025

    @vepadulano
    Member

    Hi! I think the situation is more clear now, the 6.36.02 PR for conda-forge has just been merged conda-forge/root-feedstock#300.

    There were two aspects related to this issue that were blocking development.

    The first, more immediately visible, is what this issue refers to, there is some CMake code in CppInterop which was not properly working and indeed the patch is fairly simple as @Vipul-Cariappa already mentioned. After applying that patch, the conda-build showed undefined symbol errors on the platforms affected by the failure.

    Afterwards, I discovered the real issue which was hidden in plain sight. This logic we were hitting in the conda build

    foreach(transitive_lib ${transitive_libs})
    get_target_property(lib_type ${transitive_lib} TYPE)
    if("${lib_type}" STREQUAL "STATIC_LIBRARY")
    list(APPEND static_transitive_libs ${transitive_lib})
    else()
    # Filter our libLLVM.so and friends.
    continue()
    is guarded by an if statement which should never have been triggered in the first place. In fact, ROOT cannot link against libLLVM. That is usually turned off, but in this particular scenario it wasn't. After some digging, I realised that the reason is that the platforms affected by this failure on the conda-forge CI were those platforms that were building in cross-compiling mode.

    In the ROOT conda feedstock, there is a patch that gets applied to the CMake files of LLVM before starting the ROOT build to avoid that LLVM overrides our decision to avoid linking against libLLVM, at https://github.com/conda-forge/root-feedstock/blob/d7b479efd0a3fb3baa0cbc00de596c18aeb09564/recipe/build_root.sh#L188. This patch was not being applied in case of cross-compiling mode, since it was applied just to the LLVM directory on the host path, and not on the build path, which is the one that drives the build. So this got modified and it's what made it work https://github.com/conda-forge/root-feedstock/blob/24fee1d0b416b8dcf5de1a92bb15cadb1aa5e97c/recipe/build_root.sh#L169-L176.

    Thanks to @guitargeek who made me realise that this is another incarnation of #18387 and llvm/llvm-project#135570.

    I believe this resolves this particular issue which can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions