[2025-07-01 13:14:04.451336 sunset] INFO: xbbs.worker: running job JobMessage(project='managarm_riscv', job='tool:host-llvm-toolchain', repository='https://github.com/managarm/bootstrap-managarm.git', revision='d1749617a5d8d3108b36ad09fc89ad84a377c966', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={}, needed_tools={'host-cmake': {'architecture': {'riscv64'}, 'version': '4.0.0_1'}}, prod_pkgs={}, prod_tools={'host-llvm-toolchain': {'architecture': {'riscv64'}, 'version': '19.1.7_1'}}, prod_files=[], tool_repo='https://mirrors.managarm.org/currents/managarm_riscv/tool_repo', pkg_repo='https://mirrors.managarm.org/currents/managarm_riscv/package_repo', mirror_root='https://mirrors.managarm.org/mirror/', distfile_path='xbbs/riscv64/') [2025-07-01 13:14:04.451960 sunset] INFO: xbbs.worker: running command ['git', 'init'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/.git/ [2025-07-01 13:14:04.473823 sunset] INFO: xbbs.worker: running command ['git', 'remote', 'add', 'origin', 'https://github.com/managarm/bootstrap-managarm.git'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) [2025-07-01 13:14:04.506079 sunset] INFO: xbbs.worker: running command ['git', 'fetch', 'origin'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) From https://github.com/managarm/bootstrap-managarm * [new branch] master -> origin/master [2025-07-01 13:14:06.408700 sunset] INFO: xbbs.worker: running command ['git', 'checkout', '--detach', 'd1749617a5d8d3108b36ad09fc89ad84a377c966'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) HEAD is now at d174961 Merge pull request #519 from no92/scripts [2025-07-01 13:14:06.463343 sunset] INFO: xbbs.worker: running command ['xbstrap', 'init', '/var/lib/xbbs/tmp/worker.src'] (params {'cwd': '/var/lib/xbbs/tmp/worker'}) Creating cargo-home/config.toml [2025-07-01 13:14:17.636369 sunset] INFO: xbbs.worker: running command ['xbstrap-pipeline', 'run-job', '--keep-going', '--progress-file', 'fd:17', 'tool:host-llvm-toolchain'] (params {'cwd': '/var/lib/xbbs/tmp/worker', 'pass_fds': (17,)}) xbstrap: Running the following plan: fetch binutils checkout binutils patch binutils regenerate binutils fetch llvm checkout llvm patch llvm regenerate llvm configure-tool host-llvm-toolchain compile-tool host-llvm-toolchain install-tool host-llvm-toolchain archive-tool host-llvm-toolchain xbstrap: fetch binutils [1/12] Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/binutils/.git/ From https://mirrors.managarm.org/mirror/git/binutils * [new tag] managarm/binutils-2_43_1 -> managarm/binutils-2_43_1 xbstrap: checkout binutils [2/12] [2025-07-01 13:14:35.219838 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 12, 'n_this': 1, 'status': 'success', 'subject': 'binutils'} HEAD is now at ec4ab6f1 ld/aarch64managarm: rename elf32 -> elf emulation xbstrap: patch binutils [3/12] xbstrap: regenerate binutils [4/12] [2025-07-01 13:14:38.633566 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 12, 'n_this': 2, 'status': 'success', 'subject': 'binutils'} xbstrap: fetch llvm [5/12] [2025-07-01 13:14:38.634356 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 12, 'n_this': 3, 'status': 'success', 'subject': 'binutils'} [2025-07-01 13:14:38.635014 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 12, 'n_this': 4, 'status': 'success', 'subject': 'binutils'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/llvm/.git/ From https://mirrors.managarm.org/mirror/git/llvm * [new tag] llvmorg-19.1.7 -> llvmorg-19.1.7 xbstrap: checkout llvm [6/12] [2025-07-01 13:15:43.168773 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 12, 'n_this': 5, 'status': 'success', 'subject': 'llvm'} HEAD is now at cd708029e Fix print module manifest file for macos (#122370) xbstrap: patch llvm [7/12] [2025-07-01 13:15:58.725311 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 12, 'n_this': 6, 'status': 'success', 'subject': 'llvm'} Applying: Add managarm OS target Applying: Add managarm OS target Applying: Add managarm tests Applying: WIP: kernel environment xbstrap: regenerate llvm [8/12] xbstrap: configure-tool host-llvm-toolchain [9/12] [2025-07-01 13:16:01.547638 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 12, 'n_this': 7, 'status': 'success', 'subject': 'llvm'} [2025-07-01 13:16:01.548487 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 12, 'n_this': 8, 'status': 'success', 'subject': 'llvm'} xbstrap: Running ['cmake', '-GNinja', '-DCMAKE_INSTALL_PREFIX=@PREFIX@', '-DCMAKE_C_COMPILER=gcc', '-DCMAKE_CXX_COMPILER=g++', '-DCMAKE_BUILD_TYPE=Release', '-DLLVM_LINK_LLVM_DYLIB=ON', '-DLLVM_TARGETS_TO_BUILD=X86;AArch64;RISCV', '-DLLVM_ENABLE_PROJECTS=clang;clang-tools-extra;lld', '-DDEFAULT_SYSROOT=@SYSROOT_DIR@', '-DLLVM_BINUTILS_INCDIR=@SOURCE_ROOT@/ports/binutils/include', '@THIS_SOURCE_DIR@/llvm'] (tools: ['host-cmake']) via cbuildrt thread 'main' panicked at 'unable to write setgroups file: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', src/main.rs:231:52 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace xbstrap: Skipping action compile-tool of host-llvm-toolchain due to failed prerequisites [10/12] xbstrap: Skipping action install-tool of host-llvm-toolchain due to failed prerequisites [11/12] xbstrap: Skipping action archive-tool of host-llvm-toolchain due to failed prerequisites [12/12] xbstrap: The following steps failed: configure-tool host-llvm-toolchain compile-tool host-llvm-toolchain (prerequisites failed) install-tool host-llvm-toolchain (prerequisites failed) archive-tool host-llvm-toolchain (prerequisites failed) xbstrap: Plan failed [2025-07-01 13:16:01.610258 sunset] DEBUG: xbbs.worker: got notify {'action': 'configure-tool', 'artifact_files': [], 'n_all': 12, 'n_this': 9, 'status': 'failure', 'subject': 'host-llvm-toolchain'} [2025-07-01 13:16:01.611097 sunset] DEBUG: xbbs.worker: got notify {'action': 'compile-tool', 'artifact_files': [], 'n_all': 12, 'n_this': 10, 'status': 'prereqs-failed', 'subject': 'host-llvm-toolchain'} [2025-07-01 13:16:01.611822 sunset] DEBUG: xbbs.worker: got notify {'action': 'install-tool', 'artifact_files': [], 'n_all': 12, 'n_this': 11, 'status': 'prereqs-failed', 'subject': 'host-llvm-toolchain'} [2025-07-01 13:16:01.618629 sunset] DEBUG: xbbs.worker: got notify {'action': 'archive-tool', 'architecture': 'noarch', 'artifact_files': [], 'n_all': 12, 'n_this': 12, 'status': 'prereqs-failed', 'subject': 'host-llvm-toolchain'} [2025-07-01 13:16:01.731883 sunset] INFO: xbbs.worker: job done. return code: 1