[2024-12-20 22:17:36.907549 chopin] INFO: xbbs.worker: running job JobMessage(project='managarm_riscv', job='package:openssl', repository='https://github.com/managarm/bootstrap-managarm.git', revision='8fa7838c73bae47be5508548d5c98de605240b6b', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={'frigg': {'architecture': 'riscv64', 'version': '0.0pl348_7'}, 'mlibc-headers': {'architecture': 'riscv64', 'version': '0.0pl4129_2'}, 'libdrm-headers': {'architecture': 'riscv64', 'version': '2.4.115_1'}, 'linux-headers': {'architecture': 'riscv64', 'version': '6.9.3_1'}, 'mlibc': {'architecture': 'riscv64', 'version': '0.0pl4129_2'}, 'zlib': {'architecture': 'riscv64', 'version': '1.2.12_7'}}, needed_tools={'cross-binutils': {'architecture': 'riscv64', 'version': '2.40_3'}, 'system-gcc': {'architecture': 'riscv64', 'version': '13.2.3_2'}}, prod_pkgs={'openssl': {'architecture': 'riscv64', 'version': '1.1.1q_8'}}, 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-12-20 22:17:36.907947 chopin] 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-12-20 22:17:36.916901 chopin] 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-12-20 22:17:36.924552 chopin] 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-12-20 22:17:37.821537 chopin] INFO: xbbs.worker: running command ['git', 'checkout', '--detach', '8fa7838c73bae47be5508548d5c98de605240b6b'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) HEAD is now at 8fa7838 uacpi: Bump to latest commit [2024-12-20 22:17:37.857262 chopin] 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-12-20 22:17:41.686394 chopin] 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', '--', 'frigg', 'mlibc-headers', 'libdrm-headers', 'linux-headers', 'mlibc', 'zlib'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}}) [*] Updating repository `https://mirrors.managarm.org/currents/managarm_riscv/package_repo/riscv64-repodata' ... riscv64-repodata: [14KB 28%] 244MB/s ETA: 00m00s riscv64-repodata: 14KB [avg rate: 843MB/s] 6 packages will be downloaded: 6 packages will be installed: frigg-0.0pl348_7 mlibc-headers-0.0pl4129_2 libdrm-headers-2.4.115_1 linux-headers-6.9.3_1 mlibc-0.0pl4129_2 zlib-1.2.12_7 Size to download: 7322KB Size required on disk: 31MB Space available on disk: 691GB [*] Downloading packages frigg-0.0pl348_7.riscv64.xbps.sig2: [512B 100%] 49MB/s ETA: 00m00s frigg-0.0pl348_7.riscv64.xbps.sig2: 512B [avg rate: 49MB/s] frigg-0.0pl348_7.riscv64.xbps: [42KB 9%] 230MB/s ETA: 00m00s frigg-0.0pl348_7.riscv64.xbps: 42KB [avg rate: 2386MB/s] frigg-0.0pl348_7: verifying RSA signature... mlibc-headers-0.0pl4129_2.riscv64.xbps.sig2: [512B 100%] 22MB/s ETA: 00m00s mlibc-headers-0.0pl4129_2.riscv64.xbps.sig2: 512B [avg rate: 22MB/s] mlibc-headers-0.0pl4129_2.riscv64.xbps: [96KB 4%] 279MB/s ETA: 00m00s mlibc-headers-0.0pl4129_2.riscv64.xbps: 96KB [avg rate: 6682MB/s] mlibc-headers-0.0pl4129_2: verifying RSA signature... libdrm-headers-2.4.115_1.riscv64.xbps.sig2: [512B 100%] 49MB/s ETA: 00m00s libdrm-headers-2.4.115_1.riscv64.xbps.sig2: 512B [avg rate: 49MB/s] libdrm-headers-2.4.115_1.riscv64.xbps: [114KB 3%] 230MB/s ETA: 00m00s libdrm-headers-2.4.115_1.riscv64.xbps: 114KB [avg rate: 6556MB/s] libdrm-headers-2.4.115_1: verifying RSA signature... linux-headers-6.9.3_1.riscv64.xbps.sig2: [512B 100%] 44MB/s ETA: 00m00s linux-headers-6.9.3_1.riscv64.xbps.sig2: 512B [avg rate: 44MB/s] linux-headers-6.9.3_1.riscv64.xbps: [2994KB 0%] 230MB/s ETA: 00m00s linux-headers-6.9.3_1.riscv64.xbps: 2994KB [avg rate: 168GB/s] linux-headers-6.9.3_1: verifying RSA signature... mlibc-0.0pl4129_2.riscv64.xbps.sig2: [512B 100%] 49MB/s ETA: 00m00s mlibc-0.0pl4129_2.riscv64.xbps.sig2: 512B [avg rate: 49MB/s] mlibc-0.0pl4129_2.riscv64.xbps: [3943KB 0%] 260MB/s ETA: 00m00s mlibc-0.0pl4129_2.riscv64.xbps: 3943KB [avg rate: 251GB/s] mlibc-0.0pl4129_2: verifying RSA signature... zlib-1.2.12_7.riscv64.xbps.sig2: [512B 100%] 49MB/s ETA: 00m00s zlib-1.2.12_7.riscv64.xbps.sig2: 512B [avg rate: 49MB/s] zlib-1.2.12_7.riscv64.xbps: [130KB 3%] 279MB/s ETA: 00m00s zlib-1.2.12_7.riscv64.xbps: 130KB [avg rate: 9100MB/s] zlib-1.2.12_7: verifying RSA signature... [*] Collecting package files frigg-0.0pl348_7: collecting files... mlibc-headers-0.0pl4129_2: collecting files... libdrm-headers-2.4.115_1: collecting files... linux-headers-6.9.3_1: collecting files... mlibc-0.0pl4129_2: collecting files... zlib-1.2.12_7: collecting files... [*] Unpacking packages frigg-0.0pl348_7: unpacking ... mlibc-headers-0.0pl4129_2: unpacking ... libdrm-headers-2.4.115_1: unpacking ... linux-headers-6.9.3_1: unpacking ... mlibc-0.0pl4129_2: unpacking ... zlib-1.2.12_7: unpacking ... 6 downloaded, 6 installed, 0 updated, 6 configured, 0 removed. [2024-12-20 22:17:42.331994 chopin] DEBUG: xbbs.worker: creating repository with existing packages... [2024-12-20 22:17:42.332380 chopin] DEBUG: xbbs.worker: ... found libdrm-headers-2.4.115_1.riscv64.xbps [2024-12-20 22:17:42.332776 chopin] 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-12-20 22:17:42.347272 chopin] DEBUG: xbbs.worker: ... found frigg-0.0pl348_7.riscv64.xbps [2024-12-20 22:17:42.347668 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'frigg-0.0pl348_7.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `frigg-0.0pl348_7' (riscv64). index: 2 packages registered. [2024-12-20 22:17:42.362018 chopin] DEBUG: xbbs.worker: ... found linux-headers-6.9.3_1.riscv64.xbps [2024-12-20 22:17:42.364958 chopin] 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: 3 packages registered. [2024-12-20 22:17:42.381493 chopin] DEBUG: xbbs.worker: ... found mlibc-headers-0.0pl4129_2.riscv64.xbps [2024-12-20 22:17:42.381958 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-headers-0.0pl4129_2.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-headers-0.0pl4129_2' (riscv64). index: 4 packages registered. [2024-12-20 22:17:42.395471 chopin] DEBUG: xbbs.worker: ... found zlib-1.2.12_7.riscv64.xbps [2024-12-20 22:17:42.395956 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'zlib-1.2.12_7.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `zlib-1.2.12_7' (riscv64). index: 5 packages registered. [2024-12-20 22:17:42.409084 chopin] DEBUG: xbbs.worker: ... found mlibc-0.0pl4129_2.riscv64.xbps [2024-12-20 22:17:42.412850 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-0.0pl4129_2.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-0.0pl4129_2' (riscv64). index: 6 packages registered. [2024-12-20 22:17:45.265814 chopin] INFO: xbbs.worker: running command ['xbstrap-pipeline', 'run-job', '--keep-going', '--progress-file', 'fd:17', 'package:openssl'] (params {'cwd': '/var/lib/xbbs/tmp/worker', 'pass_fds': (17,)}) xbstrap: Running the following plan: fetch openssl checkout openssl patch openssl regenerate openssl install frigg (inside sysroot.sn4ghss4) install libdrm-headers (inside sysroot.sn4ghss4) install linux-headers (inside sysroot.sn4ghss4) install mlibc-headers (inside sysroot.sn4ghss4) install mlibc (inside sysroot.sn4ghss4) install zlib (inside sysroot.sn4ghss4) configure openssl (inside sysroot.sn4ghss4) build openssl (inside sysroot.sn4ghss4) pack openssl xbstrap: fetch openssl [1/13] Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/openssl/.git/ From https://mirrors.managarm.org/mirror/git/openssl * [new tag] OpenSSL_1_1_1q -> OpenSSL_1_1_1q xbstrap: checkout openssl [2/13] [2024-12-20 22:17:48.136845 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 13, 'n_this': 1, 'status': 'success', 'subject': 'openssl'} HEAD is now at 29708a56 Prepare for 1.1.1q release xbstrap: patch openssl [3/13] [2024-12-20 22:17:49.026847 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 13, 'n_this': 2, 'status': 'success', 'subject': 'openssl'} Applying: Add managarm support Applying: Add Managarm targets to the configuration file error: corrupt patch at line 69 error: could not build fake ancestor hint: Use 'git am --show-current-patch=diff' to see the failed patch Patch failed at 0001 Add Managarm targets to the configuration file 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 openssl due to failed prerequisites [4/13] xbstrap: install frigg [5/13] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.sn4ghss4', 'frigg'] [2024-12-20 22:17:49.124154 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 13, 'n_this': 3, 'status': 'failure', 'subject': 'openssl'} [2024-12-20 22:17:49.124845 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 13, 'n_this': 4, 'status': 'prereqs-failed', 'subject': 'openssl'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.sn4ghss4', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'frigg'] xbstrap: install libdrm-headers [6/13] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.sn4ghss4', 'libdrm-headers'] [2024-12-20 22:17:49.138054 chopin] 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.sn4ghss4', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'libdrm-headers'] xbstrap: install linux-headers [7/13] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.sn4ghss4', 'linux-headers'] [2024-12-20 22:17:49.145095 chopin] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 13, 'n_this': 6, 'status': 'success', 'subject': 'libdrm-headers'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.sn4ghss4', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'linux-headers'] xbstrap: install mlibc-headers [8/13] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.sn4ghss4', 'mlibc-headers'] xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.sn4ghss4', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'mlibc-headers'] [2024-12-20 22:17:49.323356 chopin] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 13, 'n_this': 7, 'status': 'success', 'subject': 'linux-headers'} xbstrap: install mlibc [9/13] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.sn4ghss4', 'mlibc'] xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.sn4ghss4', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'mlibc'] [2024-12-20 22:17:49.350463 chopin] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 13, 'n_this': 8, 'status': 'success', 'subject': 'mlibc-headers'} xbstrap: install zlib [10/13] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.sn4ghss4', 'zlib'] xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.sn4ghss4', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'zlib'] [2024-12-20 22:17:49.391624 chopin] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 13, 'n_this': 9, 'status': 'success', 'subject': 'mlibc'} xbstrap: Skipping action configure of openssl due to failed prerequisites [11/13] xbstrap: Skipping action build of openssl due to failed prerequisites [12/13] xbstrap: Skipping action pack of openssl due to failed prerequisites [13/13][2024-12-20 22:17:49.399583 chopin] 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 openssl regenerate openssl (prerequisites failed) configure openssl (prerequisites failed) build openssl (prerequisites failed) pack openssl (prerequisites failed) xbstrap: Plan failed [2024-12-20 22:17:49.400158 chopin] DEBUG: xbbs.worker: got notify {'action': 'configure', 'artifact_files': [], 'n_all': 13, 'n_this': 11, 'status': 'prereqs-failed', 'subject': 'openssl'} [2024-12-20 22:17:49.400672 chopin] DEBUG: xbbs.worker: got notify {'action': 'build', 'artifact_files': [], 'n_all': 13, 'n_this': 12, 'status': 'prereqs-failed', 'subject': 'openssl'} [2024-12-20 22:17:49.401210 chopin] DEBUG: xbbs.worker: got notify {'action': 'pack', 'architecture': 'riscv64', 'artifact_files': [], 'n_all': 13, 'n_this': 13, 'status': 'prereqs-failed', 'subject': 'openssl'} [2024-12-20 22:17:49.490290 chopin] INFO: xbbs.worker: job done. return code: 1