Skip to content

Instantly share code, notes, and snippets.

@boegel
Created July 4, 2025 06:37
Show Gist options
  • Save boegel/5a3b563c63acfdd53fdcf67ee295565f to your computer and use it in GitHub Desktop.
Save boegel/5a3b563c63acfdd53fdcf67ee295565f to your computer and use it in GitHub Desktop.
(partial) EasyBuild log for failed build of /arcanine/scratch/gent/vo/000/gvo00002/vsc40023/easybuild/easybuild-easyconfigs/easybuild/easyconfigs/l/LLVM/LLVM-20.1.5-GCCcore-13.3.0.eb (easyblock PR(s) #3755)
== 2025-07-04 08:37:20,383 easyblock.py:368 INFO This is EasyBuild 5.1.1.dev0-r8be26fae813dd7f82848b38606883ca55441db3c (framework: 5.1.1.dev0-r8be26fae813dd7f82848b38606883ca55441db3c, easyblocks: 5.1.1.dev0-r1ef40de7f84e1ba14f1f222c2d18a46a505735e0) on host node4224.shinx.os.
== 2025-07-04 08:37:20,383 easyblock.py:374 INFO This is easyblock EB_LLVM from module easybuild.easyblocks.llvm (/tmp/eb-wwjr971t/included-easyblocks-0gwfbyub/easybuild/easyblocks/llvm.py)
== 2025-07-04 08:37:20,383 easyblock.py:2441 INFO Number of iterations to perform for central part of installation procedure: 1
== 2025-07-04 08:37:20,383 easyblock.py:1148 INFO Build dir set to /tmp/vsc40023/easybuild_build/LLVM/20.1.5/GCCcore-13.3.0
== 2025-07-04 08:37:20,383 config.py:771 DEBUG software install path as specified by 'installpath' and 'subdir_software': /user/gent/400/vsc40023/eb_arcaninescratch/RHEL9/zen4-ib/software
== 2025-07-04 08:37:20,383 easyconfig.py:2808 DEBUG Determining software installation subdir for LLVM EasyConfig @ /arcanine/scratch/gent/vo/000/gvo00002/vsc40023/easybuild/easybuild-easyconfigs/easybuild/easyconfigs/l/LLVM/LLVM-20.1.5-GCCcore-13.3.0.eb
== 2025-07-04 08:37:20,383 easyconfig.py:2811 DEBUG Using fixed naming software installation subdir: LLVM/20.1.5-GCCcore-13.3.0
== 2025-07-04 08:37:20,383 easyblock.py:1208 INFO Software install dir set to /user/gent/400/vsc40023/eb_arcaninescratch/RHEL9/zen4-ib/software/LLVM/20.1.5-GCCcore-13.3.0
== 2025-07-04 08:37:20,383 config.py:771 DEBUG modules install path as specified by 'installpath' and 'subdir_modules': /user/gent/400/vsc40023/eb_arcaninescratch/RHEL9/zen4-ib/modules
== 2025-07-04 08:37:20,383 easyblock.py:1213 INFO Module install dir set to /user/gent/400/vsc40023/eb_arcaninescratch/RHEL9/zen4-ib/modules/all
== 2025-07-04 08:37:20,383 easyblock.py:342 INFO Init completed for application name LLVM version 20.1.5
== 2025-07-04 08:37:20,383 llvm.py:337 DEBUG Explicitly enabling OpenMP offloading for LLVM >= 19
== 2025-07-04 08:37:20,384 llvm.py:373 INFO Final projects to build: llvm, mlir, clang, flang, openmp, polly, clang-tools-extra, lld, lldb, bolt
== 2025-07-04 08:37:20,384 llvm.py:374 INFO Final runtimes to build: compiler-rt, libunwind, libcxx, libcxxabi, offload
== 2025-07-04 08:37:20,384 easyblock.py:4987 INFO Obtained application instance for LLVM (easyblock: None)
== 2025-07-04 08:37:20,384 easyblock.py:5000 DEBUG Skip set to False
== 2025-07-04 08:37:20,384 easyconfig.py:1812 INFO Generating template values...
== 2025-07-04 08:37:20,384 templates.py:297 DEBUG config: LLVM EasyConfig @ /arcanine/scratch/gent/vo/000/gvo00002/vsc40023/easybuild/easybuild-easyconfigs/easybuild/easyconfigs/l/LLVM/LLVM-20.1.5-GCCcore-13.3.0.eb
== 2025-07-04 08:37:20,384 templates.py:333 DEBUG version found in easyconfig is 20.1.5
== 2025-07-04 08:37:20,384 templates.py:433 DEBUG name: bitbucket_account, config: %(namelower)s
== 2025-07-04 08:37:20,384 templates.py:433 DEBUG name: github_account, config: %(namelower)s
== 2025-07-04 08:37:20,384 templates.py:433 DEBUG name: name, config: LLVM
== 2025-07-04 08:37:20,384 templates.py:433 DEBUG name: version, config: 20.1.5
== 2025-07-04 08:37:20,384 templates.py:433 DEBUG name: versionsuffix, config:
== 2025-07-04 08:37:20,384 templates.py:433 DEBUG name: versionprefix, config:
== 2025-07-04 08:37:20,384 easyconfig.py:1831 INFO Template values: arch='x86_64', bitbucket_account='llvm', cuda_cc_cmake='70', cuda_cc_semicolon_sep='7.0', cuda_cc_space_sep='7.0', cuda_cc_space_sep_no_period='70', cuda_compute_capabilities='7.0', cuda_int_comma_sep='70', cuda_int_semicolon_sep='70', cuda_int_space_sep='70', cuda_sm_comma_sep='sm_70', cuda_sm_space_sep='sm_70', github_account='llvm', module_name='LLVM/20.1.5-GCCcore-13.3.0', name='LLVM', nameletter='L', nameletterlower='l', namelower='llvm', pymajver='3', pyminver='12', pyshortver='3.12', pyver='3.12.3', rpath_enabled='true', software_commit='', sysroot='', toolchain_name='GCCcore', toolchain_version='13.3.0', version='20.1.5', version_major='20', version_major_minor='20.1', version_minor='1', versionprefix='', versionsuffix=''
== 2025-07-04 08:37:20,384 one.py:149 DEBUG Not copying '__builtins__' variable from parsed easyconfig
== 2025-07-04 08:37:20,385 one.py:528 DEBUG Extracted comments:
{'above': {'skip_all_tests': ['# disable_werror = True', ''],
'skip_mod_files_sanity_check': ['# LLVM will produce .mod files for its flang installation at the 3rd stage '
'of the build via Clang+Flang',
'# These should not be checked for sanity, as we want to build LLVM on top '
'of GCCcore to be used as a new toolchain']},
'header': [],
'inline': {},
'iterabove': {'toolchainopts': {" 'pic': True": ["# 'cstd': 'gnu++11',"]}},
'iterinline': {'builddependencies': {" ('psutil', '6.0.0'),": ' # Needed to enable test timeout in lit'}},
'tail': []}
== 2025-07-04 08:37:20,385 one.py:179 INFO Skipping reformatting value for parameter 'toolchain'
== 2025-07-04 08:37:20,385 one.py:179 INFO Skipping reformatting value for parameter 'toolchainopts'
== 2025-07-04 08:37:20,386 easyconfig.py:1371 DEBUG Dumped easyconfig: name = 'LLVM'
version = '20.1.5'
homepage = 'https://llvm.org/'
description = """The LLVM Core libraries provide a modern source- and target-independent
optimizer, along with code generation support for many popular CPUs
(as well as some less common ones!) These libraries are built around a well
specified code representation known as the LLVM intermediate representation
("LLVM IR"). The LLVM Core libraries are well documented, and it is
particularly easy to invent your own language (or port an existing compiler)
to use LLVM as an optimizer and code generator."""
toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
toolchainopts = {'pic': True}
source_urls = ['https://github.com/%(namelower)s/%(namelower)s-project/releases/download/llvmorg-%(version)s/']
sources = ['%(namelower)s-project-%(version)s.src.tar.xz']
patches = [
'%(name)s-18.1.8_envintest.patch',
'%(name)s-19.1.7_libomptarget_tests.patch',
'%(name)s-19.1.7_clang_rpathwrap_test.patch',
]
checksums = [
{'%(namelower)s-project-%(version)s.src.tar.xz': 'a069565cd1c6aee48ee0f36de300635b5781f355d7b3c96a28062d50d575fa3e'},
{'%(name)s-18.1.8_envintest.patch': '8e25dfab8a29a860717b4bd2d8cdd0e795433766d7fffbda32d06a2bde47058d'},
{'%(name)s-19.1.7_libomptarget_tests.patch': '79a67c118d034cfb74e255696369150c73432d2b422f4834efacb26f7904edbf'},
{'%(name)s-19.1.7_clang_rpathwrap_test.patch': '5ee6a87ec8ff1c8b736ffe0513aa2098bd2b83a1ffc647a1ad2cf966f567e8a1'},
]
builddependencies = [
('binutils', '2.42'),
('Python', '3.12.3'),
('CMake', '3.29.3'),
('psutil', '6.0.0'), # Needed to enable test timeout in lit
('lit', '18.1.8'),
('git', '2.45.1'),
]
dependencies = [
('libxml2', '2.12.7'),
('ncurses', '6.5'),
('zlib', '1.3.1'),
('Z3', '4.13.0'),
]
# LLVM will produce .mod files for its flang installation at the 3rd stage of the build via Clang+Flang
# These should not be checked for sanity, as we want to build LLVM on top of GCCcore to be used as a new toolchain
skip_mod_files_sanity_check = True
build_bolt = True
build_clang_extras = True
build_lld = True
build_lldb = True
build_runtimes = True
build_targets = ['all']
python_bindings = True
test_suite_ignore_patterns = [
'X86/register-fragments-bolt-symbols.s',
'modularize/ProblemsCoverage.modularize',
'Driver/atomic.f90',
'Driver/gcc-toolchain-install-dir.f90',
'api_tests/test_ompd_get_icv_from_scope.c',
]
test_suite_max_failed = 10
test_suite_timeout_single = 300
use_polly = True
moduleclass = 'compiler'
== 2025-07-04 08:37:20,386 filetools.py:2029 INFO Creating directory /tmp/eb-wwjr971t/reprod_20250704083720_995180 (parents: True, set_gid: False, sticky: False)
== 2025-07-04 08:37:20,386 easyblock.py:5258 INFO Dumped easyconfig instance to /tmp/eb-wwjr971t/reprod_20250704083720_995180/LLVM-20.1.5-GCCcore-13.3.0.eb
== 2025-07-04 08:37:20,388 filetools.py:2029 INFO Creating directory /tmp/eb-wwjr971t/reprod_20250704083720_995180/easyblocks (parents: True, set_gid: False, sticky: False)
== 2025-07-04 08:37:20,388 filetools.py:2513 INFO /arcanine/scratch/gent/vo/000/gvo00002/vsc40023/easybuild/easybuild-easyblocks/easybuild/easyblocks/generic/configuremake.py copied to /tmp/eb-wwjr971t/reprod_20250704083720_995180/easyblocks/configuremake.py
== 2025-07-04 08:37:20,389 easyblock.py:5238 INFO Dumped easyblock configuremake.py required for reproduction to /tmp/eb-wwjr971t/reprod_20250704083720_995180/easyblocks
== 2025-07-04 08:37:20,389 filetools.py:2054 DEBUG Not creating existing path /tmp/eb-wwjr971t/reprod_20250704083720_995180/easyblocks
== 2025-07-04 08:37:20,389 filetools.py:2513 INFO /arcanine/scratch/gent/vo/000/gvo00002/vsc40023/easybuild/easybuild-easyblocks/easybuild/easyblocks/generic/cmakemake.py copied to /tmp/eb-wwjr971t/reprod_20250704083720_995180/easyblocks/cmakemake.py
== 2025-07-04 08:37:20,389 easyblock.py:5238 INFO Dumped easyblock cmakemake.py required for reproduction to /tmp/eb-wwjr971t/reprod_20250704083720_995180/easyblocks
== 2025-07-04 08:37:20,389 filetools.py:2054 DEBUG Not creating existing path /tmp/eb-wwjr971t/reprod_20250704083720_995180/easyblocks
== 2025-07-04 08:37:20,390 filetools.py:2513 INFO /tmp/eb-wwjr971t/included-easyblocks-0gwfbyub/easybuild/easyblocks/llvm.py copied to /tmp/eb-wwjr971t/reprod_20250704083720_995180/easyblocks/llvm.py
== 2025-07-04 08:37:20,390 easyblock.py:5238 INFO Dumped easyblock llvm.py required for reproduction to /tmp/eb-wwjr971t/reprod_20250704083720_995180/easyblocks
== 2025-07-04 08:37:20,397 filetools.py:2029 INFO Creating directory /tmp/eb-wwjr971t/reprod_20250704083720_995180/hooks (parents: True, set_gid: False, sticky: False)
== 2025-07-04 08:37:20,414 filetools.py:2513 INFO /data/gent/400/vsc40023/eb_hooks.py copied to /tmp/eb-wwjr971t/reprod_20250704083720_995180/hooks/eb_hooks.py
== 2025-07-04 08:37:20,414 easyblock.py:5270 INFO Dumped hooks file /data/gent/400/vsc40023/eb_hooks.py which is (potentially) required for reproduction to /tmp/eb-wwjr971t/reprod_20250704083720_995180/hooks/eb_hooks.py
== 2025-07-04 08:37:20,416 build_log.py:322 INFO building and installing LLVM/20.1.5-GCCcore-13.3.0...
== 2025-07-04 08:37:20,419 config.py:771 DEBUG software install path as specified by 'installpath' and 'subdir_software': /user/gent/400/vsc40023/eb_arcaninescratch/RHEL9/zen4-ib/software
== 2025-07-04 08:37:20,419 filetools.py:2090 INFO Lock /user/gent/400/vsc40023/eb_arcaninescratch/RHEL9/zen4-ib/software/.locks/_user_gent_400_vsc40023_eb_arcaninescratch_RHEL9_zen4-ib_software_LLVM_20.1.5-GCCcore-13.3.0.lock exists!
== 2025-07-04 08:37:20,560 build_log.py:226 ERROR EasyBuild encountered an error (at easybuild/easybuild-framework/easybuild/base/exceptions.py:126 in __init__): Lock /user/gent/400/vsc40023/eb_arcaninescratch/RHEL9/zen4-ib/software/.locks/_user_gent_400_vsc40023_eb_arcaninescratch_RHEL9_zen4-ib_software_LLVM_20.1.5-GCCcore-13.3.0.lock already exists, aborting! (at easybuild/easybuild-framework/easybuild/tools/filetools.py:2110 in check_lock)
== 2025-07-04 08:37:20,560 easyblock.py:386 INFO Closing log for application name LLVM version 20.1.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment