[2024-11-17 23:38:10.903044 sunset] INFO: xbbs.worker: running job JobMessage(project='managarm_aarch64', job='tool:host-llvm-toolchain', repository='https://github.com/managarm/bootstrap-managarm.git', revision='9fe2edb4e6edda3814775dde1c5651c7cd2596e1', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={}, needed_tools={'host-cmake': {'architecture': {'aarch64'}, 'version': '3.26.4_1'}}, prod_pkgs={}, prod_tools={'host-llvm-toolchain': {'architecture': {'aarch64'}, 'version': '19.1.3_3'}}, prod_files=[], tool_repo='https://mirrors.managarm.org/currents/managarm_aarch64/tool_repo', pkg_repo='https://mirrors.managarm.org/currents/managarm_aarch64/package_repo', mirror_root='https://mirrors.managarm.org/mirror/', distfile_path='xbbs/aarch64/') [2024-11-17 23:38:10.903567 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/ [2024-11-17 23:38:10.917538 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'}) [2024-11-17 23:38:10.929481 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 [2024-11-17 23:38:12.126605 sunset] INFO: xbbs.worker: running command ['git', 'checkout', '--detach', '9fe2edb4e6edda3814775dde1c5651c7cd2596e1'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) HEAD is now at 9fe2edb Merge pull request #413 from no92/llvm-riscv-fix [2024-11-17 23:38:12.164357 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 [2024-11-17 23:38:18.286524 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 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/11] 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_40_2 -> managarm/binutils-2_40_2 xbstrap: checkout binutils [2/11] [2024-11-17 23:38:33.043100 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 11, 'n_this': 1, 'status': 'success', 'subject': 'binutils'} HEAD is now at 839e9083 ld/aarch64managarm: rename elf32 -> elf emulation xbstrap: patch binutils [3/11] xbstrap: fetch llvm [4/11] [2024-11-17 23:38:35.335296 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 11, 'n_this': 2, 'status': 'success', 'subject': 'binutils'} [2024-11-17 23:38:35.336253 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 11, 'n_this': 3, '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.3 -> llvmorg-19.1.3 xbstrap: checkout llvm [5/11] [2024-11-17 23:39:19.304263 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 11, 'n_this': 4, 'status': 'success', 'subject': 'llvm'} HEAD is now at ab51eccf8 [Serialization] Handle uninitialized type constraints xbstrap: patch llvm [6/11] [2024-11-17 23:39:28.876665 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 11, 'n_this': 5, 'status': 'success', 'subject': 'llvm'} Applying: Add managarm OS target Applying: Add managarm OS target Applying: Add managarm tests Applying: WIP: kernel environment Applying: fix ld target emulation error: sha1 information is lacking or useless (clang/lib/Driver/ToolChains/Gnu.cpp). error: could not build fake ancestor hint: Use 'git am --show-current-patch=diff' to see the failed patch Patch failed at 0001 fix ld target emulation When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". xbstrap: Skipping action regenerate of llvm due to failed prerequisites [7/11] xbstrap: Skipping action configure-tool of host-llvm-toolchain due to failed prerequisites [8/11] xbstrap: Skipping action compile-tool of host-llvm-toolchain due to failed prerequisites [9/11] [2024-11-17 23:39:31.045560 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 11, 'n_this': 6, 'status': 'failure', 'subject': 'llvm'} xbstrap: Skipping action install-tool of host-llvm-toolchain due to failed prerequisites [10/11] xbstrap: Skipping action archive-tool of host-llvm-toolchain due to failed prerequisites [11/11] [2024-11-17 23:39:31.046063 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 11, 'n_this': 7, 'status': 'prereqs-failed', 'subject': 'llvm'} xbstrap: The following steps failed: patch llvm regenerate llvm (prerequisites failed) configure-tool host-llvm-toolchain (prerequisites failed) compile-tool host-llvm-toolchain (prerequisites failed) install-tool host-llvm-toolchain (prerequisites failed) archive-tool host-llvm-toolchain (prerequisites failed) xbstrap: Plan failed [2024-11-17 23:39:31.046583 sunset] DEBUG: xbbs.worker: got notify {'action': 'configure-tool', 'artifact_files': [], 'n_all': 11, 'n_this': 8, 'status': 'prereqs-failed', 'subject': 'host-llvm-toolchain'} [2024-11-17 23:39:31.047053 sunset] DEBUG: xbbs.worker: got notify {'action': 'compile-tool', 'artifact_files': [], 'n_all': 11, 'n_this': 9, 'status': 'prereqs-failed', 'subject': 'host-llvm-toolchain'} [2024-11-17 23:39:31.047571 sunset] DEBUG: xbbs.worker: got notify {'action': 'install-tool', 'artifact_files': [], 'n_all': 11, 'n_this': 10, 'status': 'prereqs-failed', 'subject': 'host-llvm-toolchain'} [2024-11-17 23:39:31.048139 sunset] DEBUG: xbbs.worker: got notify {'action': 'archive-tool', 'architecture': 'noarch', 'artifact_files': [], 'n_all': 11, 'n_this': 11, 'status': 'prereqs-failed', 'subject': 'host-llvm-toolchain'} [2024-11-17 23:39:31.083775 sunset] INFO: xbbs.worker: job done. return code: 1