[2024-11-17 23:40:16.757069 sunset] INFO: xbbs.worker: running job JobMessage(project='managarm_aarch64', job='package:llvm', 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={'zlib': {'architecture': 'aarch64', 'version': '1.2.12_7'}, 'libdrm-headers': {'architecture': 'aarch64', 'version': '2.4.115_1'}, 'linux-headers': {'architecture': 'aarch64', 'version': '6.9.3_1'}, 'mlibc-headers': {'architecture': 'aarch64', 'version': '0.0pl4108_2'}, 'frigg': {'architecture': 'aarch64', 'version': '0.0pl346_7'}, 'mlibc': {'architecture': 'aarch64', 'version': '0.0pl4108_2'}}, needed_tools={'host-cmake': {'architecture': {'aarch64'}, 'version': '3.26.4_1'}, 'cross-binutils': {'architecture': 'aarch64', 'version': '2.40_3'}, 'system-gcc': {'architecture': 'aarch64', 'version': '13.2.3_2'}}, prod_pkgs={'llvm': {'architecture': 'aarch64', 'version': '19.1.3_3'}}, prod_tools={}, 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:40:16.757489 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:40:16.766960 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:40:16.778829 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:40:17.772541 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:40:17.810213 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:40:22.624116 sunset] INFO: xbbs.worker: running command ['xbps-install', '-Uy', '-R', 'https://mirrors.managarm.org/currents/managarm_aarch64/package_repo', '-r', '/var/lib/xbbs/tmp/worker/system-root', '-SM', '--', 'zlib', 'libdrm-headers', 'linux-headers', 'mlibc-headers', 'frigg', 'mlibc'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}}) [*] Updating repository `https://mirrors.managarm.org/currents/managarm_aarch64/package_repo/aarch64-repodata' ... aarch64-repodata: [19KB 21%] 57MB/s ETA: 00m00s aarch64-repodata: 19KB [avg rate: 268MB/s] 6 packages will be downloaded: 6 packages will be installed: zlib-1.2.12_7 libdrm-headers-2.4.115_1 linux-headers-6.9.3_1 mlibc-headers-0.0pl4108_2 frigg-0.0pl346_7 mlibc-0.0pl4108_2 Size to download: 7698KB Size required on disk: 29MB Space available on disk: 757GB [*] Downloading packages zlib-1.2.12_7.aarch64.xbps.sig: [512B 100%] 15MB/s ETA: 00m00s zlib-1.2.12_7.aarch64.xbps.sig: 512B [avg rate: 15MB/s] zlib-1.2.12_7.aarch64.xbps: [112KB 3%] 70MB/s ETA: 00m00s zlib-1.2.12_7.aarch64.xbps: 112KB [avg rate: 1961MB/s] zlib-1.2.12_7: verifying RSA signature... libdrm-headers-2.4.115_1.aarch64.xbps.sig: [512B 100%] 6098KB/s ETA: 00m00s libdrm-headers-2.4.115_1.aarch64.xbps.sig: 512B [avg rate: 6098KB/s] libdrm-headers-2.4.115_1.aarch64.xbps: [114KB 3%] 28MB/s ETA: 00m00s libdrm-headers-2.4.115_1.aarch64.xbps: 114KB [avg rate: 796MB/s] libdrm-headers-2.4.115_1: verifying RSA signature... linux-headers-6.9.3_1.aarch64.xbps.sig: [512B 100%] 11MB/s ETA: 00m00s linux-headers-6.9.3_1.aarch64.xbps.sig: 512B [avg rate: 11MB/s] linux-headers-6.9.3_1.aarch64.xbps: [3005KB 0%] 51MB/s ETA: 00m00s linux-headers-6.9.3_1.aarch64.xbps: 3005KB [avg rate: 37GB/s] linux-headers-6.9.3_1: verifying RSA signature... mlibc-headers-0.0pl4108_2.aarch64.xbps.sig: [512B 100%] 15MB/s ETA: 00m00s mlibc-headers-0.0pl4108_2.aarch64.xbps.sig: 512B [avg rate: 15MB/s] mlibc-headers-0.0pl4108_2.aarch64.xbps: [96KB 4%] 45MB/s ETA: 00m22s mlibc-headers-0.0pl4108_2.aarch64.xbps: 96KB [avg rate: 1087MB/s] mlibc-headers-0.0pl4108_2: verifying RSA signature... frigg-0.0pl346_7.aarch64.xbps.sig: [512B 100%] 15MB/s ETA: 00m00s frigg-0.0pl346_7.aarch64.xbps.sig: 512B [avg rate: 15MB/s] frigg-0.0pl346_7.aarch64.xbps: [41KB 9%] 71MB/s ETA: 00m00s frigg-0.0pl346_7.aarch64.xbps: 41KB [avg rate: 736MB/s] frigg-0.0pl346_7: verifying RSA signature... mlibc-0.0pl4108_2.aarch64.xbps.sig: [512B 100%] 15MB/s ETA: 00m00s mlibc-0.0pl4108_2.aarch64.xbps.sig: 512B [avg rate: 15MB/s] mlibc-0.0pl4108_2.aarch64.xbps: [4327KB 0%] 71MB/s ETA: 00m00s mlibc-0.0pl4108_2.aarch64.xbps: 4327KB [avg rate: 75GB/s] mlibc-0.0pl4108_2: verifying RSA signature... [*] Collecting package files zlib-1.2.12_7: collecting files... libdrm-headers-2.4.115_1: collecting files... linux-headers-6.9.3_1: collecting files... mlibc-headers-0.0pl4108_2: collecting files... frigg-0.0pl346_7: collecting files... mlibc-0.0pl4108_2: collecting files... [*] Unpacking packages zlib-1.2.12_7: unpacking ... libdrm-headers-2.4.115_1: unpacking ... linux-headers-6.9.3_1: unpacking ... mlibc-headers-0.0pl4108_2: unpacking ... frigg-0.0pl346_7: unpacking ... mlibc-0.0pl4108_2: unpacking ... 6 downloaded, 6 installed, 0 updated, 6 configured, 0 removed. [2024-11-17 23:40:23.790128 sunset] DEBUG: xbbs.worker: creating repository with existing packages... [2024-11-17 23:40:23.790655 sunset] DEBUG: xbbs.worker: ... found zlib-1.2.12_7.aarch64.xbps [2024-11-17 23:40:23.791113 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'zlib-1.2.12_7.aarch64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `zlib-1.2.12_7' (aarch64). index: 1 packages registered. [2024-11-17 23:40:23.809186 sunset] DEBUG: xbbs.worker: ... found mlibc-0.0pl4108_2.aarch64.xbps [2024-11-17 23:40:23.814143 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-0.0pl4108_2.aarch64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-0.0pl4108_2' (aarch64). index: 2 packages registered. [2024-11-17 23:40:23.846984 sunset] DEBUG: xbbs.worker: ... found mlibc-headers-0.0pl4108_2.aarch64.xbps [2024-11-17 23:40:23.847754 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-headers-0.0pl4108_2.aarch64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-headers-0.0pl4108_2' (aarch64). index: 3 packages registered. [2024-11-17 23:40:23.862113 sunset] DEBUG: xbbs.worker: ... found frigg-0.0pl346_7.aarch64.xbps [2024-11-17 23:40:23.862870 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'frigg-0.0pl346_7.aarch64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `frigg-0.0pl346_7' (aarch64). index: 4 packages registered. [2024-11-17 23:40:23.876949 sunset] DEBUG: xbbs.worker: ... found libdrm-headers-2.4.115_1.aarch64.xbps [2024-11-17 23:40:23.877604 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'libdrm-headers-2.4.115_1.aarch64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `libdrm-headers-2.4.115_1' (aarch64). index: 5 packages registered. [2024-11-17 23:40:23.890618 sunset] DEBUG: xbbs.worker: ... found linux-headers-6.9.3_1.aarch64.xbps [2024-11-17 23:40:23.893268 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'linux-headers-6.9.3_1.aarch64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'aarch64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `linux-headers-6.9.3_1' (aarch64). index: 6 packages registered. [2024-11-17 23:40:31.433328 sunset] INFO: xbbs.worker: running command ['xbstrap-pipeline', 'run-job', '--keep-going', '--progress-file', 'fd:17', 'package:llvm'] (params {'cwd': '/var/lib/xbbs/tmp/worker', 'pass_fds': (17,)}) xbstrap: Running the following plan: fetch llvm checkout llvm patch llvm regenerate llvm install frigg (inside sysroot.mzrrbm0t) install libdrm-headers (inside sysroot.mzrrbm0t) install linux-headers (inside sysroot.mzrrbm0t) install mlibc-headers (inside sysroot.mzrrbm0t) install mlibc (inside sysroot.mzrrbm0t) install zlib (inside sysroot.mzrrbm0t) configure llvm (inside sysroot.mzrrbm0t) build llvm (inside sysroot.mzrrbm0t) pack llvm xbstrap: fetch llvm [1/13] 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 [2/13] [2024-11-17 23:41:15.833303 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 13, 'n_this': 1, 'status': 'success', 'subject': 'llvm'} HEAD is now at ab51eccf8 [Serialization] Handle uninitialized type constraints xbstrap: patch llvm [3/13] [2024-11-17 23:41:25.165213 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 13, 'n_this': 2, '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 [4/13] xbstrap: install frigg [5/13] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.mzrrbm0t', 'frigg'] [2024-11-17 23:41:27.087112 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 13, 'n_this': 3, 'status': 'failure', 'subject': 'llvm'} [2024-11-17 23:41:27.087816 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 13, 'n_this': 4, 'status': 'prereqs-failed', 'subject': 'llvm'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.mzrrbm0t', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'frigg'] xbstrap: install libdrm-headers [6/13] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.mzrrbm0t', 'libdrm-headers'] [2024-11-17 23:41:27.112383 sunset] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 13, 'n_this': 5, 'status': 'success', 'subject': 'frigg'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.mzrrbm0t', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'libdrm-headers'] xbstrap: install linux-headers [7/13] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.mzrrbm0t', 'linux-headers'] xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.mzrrbm0t', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'linux-headers'] [2024-11-17 23:41:27.127510 sunset] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 13, 'n_this': 6, 'status': 'success', 'subject': 'libdrm-headers'} xbstrap: install mlibc-headers [8/13] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.mzrrbm0t', 'mlibc-headers'] [2024-11-17 23:41:27.286535 sunset] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 13, 'n_this': 7, 'status': 'success', 'subject': 'linux-headers'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.mzrrbm0t', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'mlibc-headers'] xbstrap: install mlibc [9/13] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.mzrrbm0t', 'mlibc'] [2024-11-17 23:41:27.306948 sunset] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 13, 'n_this': 8, 'status': 'success', 'subject': 'mlibc-headers'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.mzrrbm0t', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'mlibc'] xbstrap: install zlib [10/13] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.mzrrbm0t', 'zlib'] [2024-11-17 23:41:27.370870 sunset] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 13, 'n_this': 9, 'status': 'success', 'subject': 'mlibc'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.mzrrbm0t', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'zlib'] xbstrap: Skipping action configure of llvm due to failed prerequisites [11/13] xbstrap: Skipping action build of llvm due to failed prerequisites [12/13] xbstrap: Skipping action pack of llvm due to failed prerequisites [13/13] [2024-11-17 23:41:27.381547 sunset] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 13, 'n_this': 10, 'status': 'success', 'subject': 'zlib'} xbstrap: The following steps failed: patch llvm regenerate llvm (prerequisites failed) configure llvm (prerequisites failed) build llvm (prerequisites failed) pack llvm (prerequisites failed) xbstrap: Plan failed [2024-11-17 23:41:27.382329 sunset] DEBUG: xbbs.worker: got notify {'action': 'configure', 'artifact_files': [], 'n_all': 13, 'n_this': 11, 'status': 'prereqs-failed', 'subject': 'llvm'} [2024-11-17 23:41:27.383202 sunset] DEBUG: xbbs.worker: got notify {'action': 'build', 'artifact_files': [], 'n_all': 13, 'n_this': 12, 'status': 'prereqs-failed', 'subject': 'llvm'} [2024-11-17 23:41:27.383953 sunset] DEBUG: xbbs.worker: got notify {'action': 'pack', 'architecture': 'aarch64', 'artifact_files': [], 'n_all': 13, 'n_this': 13, 'status': 'prereqs-failed', 'subject': 'llvm'} [2024-11-17 23:41:27.479317 sunset] INFO: xbbs.worker: job done. return code: 1