[2024-10-31 22:16:45.893108 sunset] INFO: xbbs.worker: running job JobMessage(project='managarm_riscv', job='package:mlibc-headers', repository='https://github.com/managarm/bootstrap-managarm.git', revision='bdde441fc3f972c2b8d46fe72904d6472bc83d9a', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={'libdrm-headers': {'architecture': 'riscv64', 'version': '2.4.115_1'}, 'linux-headers': {'architecture': 'riscv64', 'version': '6.9.3_1'}}, needed_tools={'host-managarm-tools': {'architecture': {'riscv64'}, 'version': '0.0pl4430_3'}}, prod_pkgs={'mlibc-headers': {'architecture': 'riscv64', 'version': '0.0pl4093_2'}}, prod_tools={}, 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/') [2024-10-31 22:16:45.893665 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-10-31 22:16:45.905208 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-10-31 22:16:45.914578 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-10-31 22:16:46.781692 sunset] INFO: xbbs.worker: running command ['git', 'checkout', '--detach', 'bdde441fc3f972c2b8d46fe72904d6472bc83d9a'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) HEAD is now at bdde441 bootstrap: Add missing aarch64 label to host-hwdata [2024-10-31 22:16:46.816663 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-10-31 22:16:53.406376 sunset] INFO: xbbs.worker: running command ['xbps-install', '-Uy', '-R', 'https://mirrors.managarm.org/currents/managarm_riscv/package_repo', '-r', '/var/lib/xbbs/tmp/worker/system-root', '-SM', '--', 'libdrm-headers', 'linux-headers'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}}) [*] Updating repository `https://mirrors.managarm.org/currents/managarm_riscv/package_repo/riscv64-repodata' ... riscv64-repodata: [1846B 100%] 20MB/s ETA: 00m00s riscv64-repodata: 1846B [avg rate: 20MB/s] 2 packages will be downloaded: 2 packages will be installed: libdrm-headers-2.4.115_1 linux-headers-6.9.3_1 Size to download: 3109KB Size required on disk: 13MB Space available on disk: 757GB [*] Downloading packages libdrm-headers-2.4.115_1.riscv64.xbps.sig: [512B 100%] 14MB/s ETA: 00m00s libdrm-headers-2.4.115_1.riscv64.xbps.sig: 512B [avg rate: 14MB/s] libdrm-headers-2.4.115_1.riscv64.xbps: [114KB 3%] 70MB/s ETA: 00m00s libdrm-headers-2.4.115_1.riscv64.xbps: 114KB [avg rate: 1990MB/s] libdrm-headers-2.4.115_1: verifying RSA signature... linux-headers-6.9.3_1.riscv64.xbps.sig: [512B 100%] 14MB/s ETA: 00m00s linux-headers-6.9.3_1.riscv64.xbps.sig: 512B [avg rate: 14MB/s] linux-headers-6.9.3_1.riscv64.xbps: [2994KB 0%] 75MB/s ETA: 00m00s linux-headers-6.9.3_1.riscv64.xbps: 2994KB [avg rate: 55GB/s] linux-headers-6.9.3_1: verifying RSA signature... [*] Collecting package files libdrm-headers-2.4.115_1: collecting files... linux-headers-6.9.3_1: collecting files... [*] Unpacking packages libdrm-headers-2.4.115_1: unpacking ... linux-headers-6.9.3_1: unpacking ... 2 downloaded, 2 installed, 0 updated, 2 configured, 0 removed. [2024-10-31 22:16:54.025086 sunset] DEBUG: xbbs.worker: creating repository with existing packages... [2024-10-31 22:16:54.026643 sunset] DEBUG: xbbs.worker: ... found libdrm-headers-2.4.115_1.riscv64.xbps [2024-10-31 22:16:54.027296 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'libdrm-headers-2.4.115_1.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `libdrm-headers-2.4.115_1' (riscv64). index: 1 packages registered. [2024-10-31 22:16:54.060456 sunset] DEBUG: xbbs.worker: ... found linux-headers-6.9.3_1.riscv64.xbps [2024-10-31 22:16:54.064533 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'linux-headers-6.9.3_1.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `linux-headers-6.9.3_1' (riscv64). index: 2 packages registered. [2024-10-31 22:16:54.407312 sunset] INFO: xbbs.worker: running command ['xbstrap-pipeline', 'run-job', '--keep-going', '--progress-file', 'fd:17', 'package:mlibc-headers'] (params {'cwd': '/var/lib/xbbs/tmp/worker', 'pass_fds': (17,)}) xbstrap: Running the following plan: fetch mlibc checkout mlibc patch mlibc fetch libdrm checkout libdrm patch libdrm fetch bragi checkout bragi patch bragi fetch managarm checkout managarm patch managarm regenerate mlibc configure mlibc-headers build mlibc-headers pack mlibc-headers xbstrap: fetch mlibc [1/16] Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/mlibc/.git/ From https://mirrors.managarm.org/mirror/git/mlibc * [new branch] master -> origin/master * [new tag] 1.0.0-rc1 -> 1.0.0-rc1 xbstrap: checkout mlibc [2/16] [2024-10-31 22:17:06.881235 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 16, 'n_this': 1, 'status': 'success', 'subject': 'mlibc'} Reset branch 'master' branch 'master' set up to track 'origin/master'. xbstrap: patch mlibc [3/16] xbstrap: fetch libdrm [4/16] [2024-10-31 22:17:06.989640 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 16, 'n_this': 2, 'status': 'success', 'subject': 'mlibc'} [2024-10-31 22:17:06.990301 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 16, 'n_this': 3, 'status': 'success', 'subject': 'mlibc'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/libdrm/.git/ From https://mirrors.managarm.org/mirror/git/libdrm * [new tag] libdrm-2.4.115 -> libdrm-2.4.115 xbstrap: checkout libdrm [5/16] [2024-10-31 22:17:07.659114 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 16, 'n_this': 4, 'status': 'success', 'subject': 'libdrm'} HEAD is now at ee558ce build: bump version to 2.4.115 xbstrap: patch libdrm [6/16] [2024-10-31 22:17:07.693631 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 16, 'n_this': 5, 'status': 'success', 'subject': 'libdrm'} Applying: Managarm-specific changes Applying: Add more managarm-specific changes Applying: Even more managarm-specific changes xbstrap: fetch bragi [7/16] [2024-10-31 22:17:07.783440 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 16, 'n_this': 6, 'status': 'success', 'subject': 'libdrm'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/bragi/.git/ From https://mirrors.managarm.org/mirror/git/bragi * [new branch] master -> origin/master xbstrap: checkout bragi [8/16] [2024-10-31 22:17:08.135702 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 16, 'n_this': 7, 'status': 'success', 'subject': 'bragi'} Reset branch 'master' branch 'master' set up to track 'origin/master'. xbstrap: patch bragi [9/16] xbstrap: fetch managarm [10/16] [2024-10-31 22:17:08.154702 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 16, 'n_this': 8, 'status': 'success', 'subject': 'bragi'} [2024-10-31 22:17:08.156031 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 16, 'n_this': 9, 'status': 'success', 'subject': 'bragi'} Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/managarm/.git/ From https://mirrors.managarm.org/mirror/git/managarm * [new branch] master -> origin/master xbstrap: checkout managarm [11/16] [2024-10-31 22:17:13.611778 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 16, 'n_this': 10, 'status': 'success', 'subject': 'managarm'} Reset branch 'master' branch 'master' set up to track 'origin/master'. xbstrap: patch managarm [12/16] xbstrap: regenerate mlibc [13/16] [2024-10-31 22:17:13.668572 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 16, 'n_this': 11, 'status': 'success', 'subject': 'managarm'} [2024-10-31 22:17:13.669434 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 16, 'n_this': 12, 'status': 'success', 'subject': 'managarm'} xbstrap: Running ['ln', '-sf', '@SOURCE_ROOT@/managarm', '@THIS_SOURCE_DIR@/subprojects/'] (tools: []) via cbuildrt PID init is 832135 (outside the namespace) xbstrap: Running ['ln', '-sf', '@SOURCE_ROOT@/ports/bragi', '@THIS_SOURCE_DIR@/subprojects/'] (tools: []) via cbuildrt PID init is 832140 (outside the namespace) xbstrap: configure mlibc-headers [14/16] [2024-10-31 22:17:14.042577 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 16, 'n_this': 13, 'status': 'success', 'subject': 'mlibc'} xbstrap: Running ['ln', '-sf', '@SYSROOT_DIR@/usr/src/libdrm-headers', '@THIS_SOURCE_DIR@/subprojects/'] (tools: ['host-managarm-tools']) via cbuildrt PID init is 832145 (outside the namespace) xbstrap: Running ['meson', 'setup', '--cross-file', '@SOURCE_ROOT@/scripts/meson-@OPTION:arch-triple@.cross-file', '--prefix=/usr', '@THIS_SOURCE_DIR@', '--wrap-mode=nofallback', '-Dheaders_only=true', '-Dlinux_kernel_headers=@SYSROOT_DIR@/usr/src/linux-headers'] (tools: ['host-managarm-tools']) via cbuildrt PID init is 832150 (outside the namespace) DEPRECATION: "pkgconfig" entry is deprecated and should be replaced by "pkg-config" ERROR: Machine info is currently {'system': 'managarm', 'cpu_family': 'riscv64', 'endian': 'little'} but is missing {'cpu'}. Traceback (most recent call last): File "/usr/local/bin/xbstrap", line 8, in sys.exit(main()) ^^^^^^ File "/usr/local/lib/python3.11/dist-packages/xbstrap/__init__.py", line 1011, in main args._impl(args) File "/usr/local/lib/python3.11/dist-packages/xbstrap/__init__.py", line 988, in do_execute_manifest xbstrap.base.execute_manifest(manifest) File "/usr/local/lib/python3.11/dist-packages/xbstrap/base.py", line 1797, in execute_manifest subprocess.check_call(args, env=environ, cwd=workdir, stdout=output, stderr=output) File "/usr/lib/python3.11/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['meson', 'setup', '--cross-file', '/var/lib/managarm-buildenv/src/scripts/meson-riscv64-managarm.cross-file', '--prefix=/usr', '/var/lib/managarm-buildenv/src/mlibc', '--wrap-mode=nofallback', '-Dheaders_only=true', '-Dlinux_kernel_headers=/var/lib/managarm-buildenv/build/system-root/usr/src/linux-headers']' returned non-zero exit status 1. child returned non-zero exit code xbstrap: Skipping action build of mlibc-headers due to failed prerequisites [15/16] xbstrap: Skipping action pack of mlibc-headers due to failed prerequisites [16/16] xbstrap: The following steps failed: configure mlibc-headers build mlibc-headers (prerequisites failed) pack mlibc-headers (prerequisites failed) xbstrap: Plan failed [2024-10-31 22:17:14.756185 sunset] DEBUG: xbbs.worker: got notify {'action': 'configure', 'artifact_files': [], 'n_all': 16, 'n_this': 14, 'status': 'failure', 'subject': 'mlibc-headers'} [2024-10-31 22:17:14.756856 sunset] DEBUG: xbbs.worker: got notify {'action': 'build', 'artifact_files': [], 'n_all': 16, 'n_this': 15, 'status': 'prereqs-failed', 'subject': 'mlibc-headers'} [2024-10-31 22:17:14.757544 sunset] DEBUG: xbbs.worker: got notify {'action': 'pack', 'architecture': 'riscv64', 'artifact_files': [], 'n_all': 16, 'n_this': 16, 'status': 'prereqs-failed', 'subject': 'mlibc-headers'} [2024-10-31 22:17:14.797446 sunset] INFO: xbbs.worker: job done. return code: 1