[2025-04-13 21:38:49.619983 sunset] INFO: xbbs.worker: running job JobMessage(project='managarm', job='package:json-c', repository='https://github.com/managarm/bootstrap-managarm.git', revision='555d62c7ffad1ce4fdbf675a89bd0085ec3802fb', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={'frigg': {'architecture': 'x86_64', 'version': '0.0pl358_7'}, 'libdrm-headers': {'architecture': 'x86_64', 'version': '2.4.124_1'}, 'mlibc-headers': {'architecture': 'x86_64', 'version': '0.0pl4468_1'}, 'linux-headers': {'architecture': 'x86_64', 'version': '6.12.8_2'}, 'mlibc': {'architecture': 'x86_64', 'version': '0.0pl4468_1'}}, needed_tools={'system-gcc': {'architecture': 'x86_64', 'version': '14.2.0_1'}, 'host-cmake': {'architecture': {'x86_64'}, 'version': '4.0.0_1'}, 'cross-binutils': {'architecture': 'x86_64', 'version': '2.43.1_1'}}, prod_pkgs={'json-c': {'architecture': 'x86_64', 'version': '0.18_1'}}, prod_tools={}, prod_files=[], tool_repo='https://mirrors.managarm.org/currents/managarm/tool_repo', pkg_repo='https://mirrors.managarm.org/currents/managarm/package_repo', mirror_root='https://mirrors.managarm.org/mirror/', distfile_path='xbbs/x86_64/') [2025-04-13 21:38:49.620776 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-04-13 21:38:49.653513 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-04-13 21:38:49.684035 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-04-13 21:38:51.250936 sunset] INFO: xbbs.worker: running command ['git', 'checkout', '--detach', '555d62c7ffad1ce4fdbf675a89bd0085ec3802fb'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) HEAD is now at 555d62c sys-boot: upgrade Limine to 9.2.3 [2025-04-13 21:38:51.302470 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-04-13 21:38:58.035101 sunset] INFO: xbbs.worker: running command ['xbps-install', '-Uy', '-R', 'https://mirrors.managarm.org/currents/managarm/package_repo', '-r', '/var/lib/xbbs/tmp/worker/system-root', '-SM', '--', 'frigg', 'libdrm-headers', 'mlibc-headers', 'linux-headers', 'mlibc'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}}) [*] Updating repository `https://mirrors.managarm.org/currents/managarm/package_repo/x86_64-repodata' ... x86_64-repodata: [38KB 10%] 48MB/s ETA: 00m00s x86_64-repodata: 38KB [avg rate: 462MB/s] 5 packages will be downloaded: 5 packages will be installed: frigg-0.0pl358_7 libdrm-headers-2.4.124_1 mlibc-headers-0.0pl4468_1 linux-headers-6.12.8_2 mlibc-0.0pl4468_1 Size to download: 8141KB Size required on disk: 31MB Space available on disk: 757GB [*] Downloading packages frigg-0.0pl358_7.x86_64.xbps.sig2: [512B 100%] 15MB/s ETA: 00m00s frigg-0.0pl358_7.x86_64.xbps.sig2: 512B [avg rate: 15MB/s] frigg-0.0pl358_7.x86_64.xbps: [42KB 9%] 85MB/s ETA: 00m00s frigg-0.0pl358_7.x86_64.xbps: 42KB [avg rate: 890MB/s] frigg-0.0pl358_7: verifying RSA signature... libdrm-headers-2.4.124_1.x86_64.xbps.sig2: [512B 100%] 9804KB/s ETA: 00m00s libdrm-headers-2.4.124_1.x86_64.xbps.sig2: 512B [avg rate: 9804KB/s] libdrm-headers-2.4.124_1.x86_64.xbps: [120KB 3%] 75MB/s ETA: 00m00s libdrm-headers-2.4.124_1.x86_64.xbps: 120KB [avg rate: 2259MB/s] libdrm-headers-2.4.124_1: verifying RSA signature... mlibc-headers-0.0pl4468_1.x86_64.xbps.sig2: [512B 100%] 15MB/s ETA: 00m00s mlibc-headers-0.0pl4468_1.x86_64.xbps.sig2: 512B [avg rate: 15MB/s] mlibc-headers-0.0pl4468_1.x86_64.xbps: [99KB 4%] 106MB/s ETA: 00m00s mlibc-headers-0.0pl4468_1.x86_64.xbps: 99KB [avg rate: 2622MB/s] mlibc-headers-0.0pl4468_1: verifying RSA signature... linux-headers-6.12.8_2.x86_64.xbps.sig2: [512B 100%] 15MB/s ETA: 00m00s linux-headers-6.12.8_2.x86_64.xbps.sig2: 512B [avg rate: 15MB/s] linux-headers-6.12.8_2.x86_64.xbps: [3121KB 0%] 103MB/s ETA: 00m00s linux-headers-6.12.8_2.x86_64.xbps: 3121KB [avg rate: 78GB/s] linux-headers-6.12.8_2: verifying RSA signature... mlibc-0.0pl4468_1.x86_64.xbps.sig2: [512B 100%] 15MB/s ETA: 00m00s mlibc-0.0pl4468_1.x86_64.xbps.sig2: 512B [avg rate: 15MB/s] mlibc-0.0pl4468_1.x86_64.xbps: [4756KB 0%] 64MB/s ETA: 00m00s mlibc-0.0pl4468_1.x86_64.xbps: 4756KB [avg rate: 74GB/s] mlibc-0.0pl4468_1: verifying RSA signature... [*] Collecting package files frigg-0.0pl358_7: collecting files... libdrm-headers-2.4.124_1: collecting files... mlibc-headers-0.0pl4468_1: collecting files... linux-headers-6.12.8_2: collecting files... mlibc-0.0pl4468_1: collecting files... [*] Unpacking packages frigg-0.0pl358_7: unpacking ... libdrm-headers-2.4.124_1: unpacking ... mlibc-headers-0.0pl4468_1: unpacking ... linux-headers-6.12.8_2: unpacking ... mlibc-0.0pl4468_1: unpacking ... 5 downloaded, 5 installed, 0 updated, 5 configured, 0 removed. [2025-04-13 21:38:59.191479 sunset] DEBUG: xbbs.worker: creating repository with existing packages... [2025-04-13 21:38:59.194212 sunset] DEBUG: xbbs.worker: ... found mlibc-0.0pl4468_1.x86_64.xbps [2025-04-13 21:38:59.205486 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-0.0pl4468_1.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-0.0pl4468_1' (x86_64). index: 1 packages registered. [2025-04-13 21:38:59.243400 sunset] DEBUG: xbbs.worker: ... found linux-headers-6.12.8_2.x86_64.xbps [2025-04-13 21:38:59.249940 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'linux-headers-6.12.8_2.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `linux-headers-6.12.8_2' (x86_64). index: 2 packages registered. [2025-04-13 21:38:59.313368 sunset] DEBUG: xbbs.worker: ... found mlibc-headers-0.0pl4468_1.x86_64.xbps [2025-04-13 21:38:59.313996 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-headers-0.0pl4468_1.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-headers-0.0pl4468_1' (x86_64). index: 3 packages registered. [2025-04-13 21:38:59.351692 sunset] DEBUG: xbbs.worker: ... found frigg-0.0pl358_7.x86_64.xbps [2025-04-13 21:38:59.352667 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'frigg-0.0pl358_7.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `frigg-0.0pl358_7' (x86_64). index: 4 packages registered. [2025-04-13 21:38:59.379355 sunset] DEBUG: xbbs.worker: ... found libdrm-headers-2.4.124_1.x86_64.xbps [2025-04-13 21:38:59.382298 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'libdrm-headers-2.4.124_1.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `libdrm-headers-2.4.124_1' (x86_64). index: 5 packages registered. [2025-04-13 21:39:16.665844 sunset] INFO: xbbs.worker: running command ['xbstrap-pipeline', 'run-job', '--keep-going', '--progress-file', 'fd:17', 'package:json-c'] (params {'cwd': '/var/lib/xbbs/tmp/worker', 'pass_fds': (17,)}) xbstrap: Running the following plan: fetch json-c checkout json-c patch json-c regenerate json-c install frigg (inside sysroot.4qt3crlb) install libdrm-headers (inside sysroot.4qt3crlb) install linux-headers (inside sysroot.4qt3crlb) install mlibc-headers (inside sysroot.4qt3crlb) install mlibc (inside sysroot.4qt3crlb) configure json-c (inside sysroot.4qt3crlb) build json-c (inside sysroot.4qt3crlb) pack json-c xbstrap: fetch json-c [1/12] Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/json-c/.git/ From https://mirrors.managarm.org/mirror/git/json-c * [new tag] json-c-0.18-20240915 -> json-c-0.18-20240915 xbstrap: checkout json-c [2/12] [2025-04-13 21:39:17.287896 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 12, 'n_this': 1, 'status': 'success', 'subject': 'json-c'} HEAD is now at 41a55cf Generate docs for the 0.18 release xbstrap: patch json-c [3/12] [2025-04-13 21:39:17.321489 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 12, 'n_this': 2, 'status': 'success', 'subject': 'json-c'} Applying: Add Managarm specific changes xbstrap: regenerate json-c [4/12] xbstrap: install frigg [5/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.4qt3crlb', 'frigg'] [2025-04-13 21:39:17.348244 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 12, 'n_this': 3, 'status': 'success', 'subject': 'json-c'} [2025-04-13 21:39:17.348855 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 12, 'n_this': 4, 'status': 'success', 'subject': 'json-c'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.4qt3crlb', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'frigg'] xbstrap: install libdrm-headers [6/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.4qt3crlb', 'libdrm-headers'] xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.4qt3crlb', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'libdrm-headers'] [2025-04-13 21:39:17.377182 sunset] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 12, 'n_this': 5, 'status': 'success', 'subject': 'frigg'} xbstrap: install linux-headers [7/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.4qt3crlb', 'linux-headers'] [2025-04-13 21:39:17.390139 sunset] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 12, 'n_this': 6, 'status': 'success', 'subject': 'libdrm-headers'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.4qt3crlb', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'linux-headers'] xbstrap: install mlibc-headers [8/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.4qt3crlb', 'mlibc-headers'] [2025-04-13 21:39:17.575066 sunset] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 12, 'n_this': 7, 'status': 'success', 'subject': 'linux-headers'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.4qt3crlb', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'mlibc-headers'] xbstrap: install mlibc [9/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.4qt3crlb', 'mlibc'] [2025-04-13 21:39:17.608677 sunset] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 12, 'n_this': 8, 'status': 'success', 'subject': 'mlibc-headers'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.4qt3crlb', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'mlibc'] xbstrap: configure json-c [10/12] [2025-04-13 21:39:17.683067 sunset] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 12, 'n_this': 9, 'status': 'success', 'subject': 'mlibc'} xbstrap: Running ['cmake', '-GNinja', '-DCMAKE_TOOLCHAIN_FILE=@SOURCE_ROOT@/scripts/CMakeToolchain-@OPTION:arch-triple@.txt', '-DCMAKE_INSTALL_PREFIX=/usr', '@THIS_SOURCE_DIR@'] (tools: ['host-cmake', 'system-gcc', 'cross-binutils']) via cbuildrt PID init is 2297233 (outside the namespace) -- The C compiler identification is GNU 14.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /var/lib/managarm-buildenv/build/tools/system-gcc/bin/x86_64-managarm-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for syslog.h -- Looking for syslog.h - found -- Looking for 4 include files stdlib.h, ..., float.h -- Looking for 4 include files stdlib.h, ..., float.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for endian.h -- Looking for endian.h - found -- Looking for limits.h -- Looking for limits.h - found -- Looking for locale.h -- Looking for locale.h - found -- Looking for memory.h -- Looking for memory.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for sys/cdefs.h -- Looking for sys/cdefs.h - not found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for sys/random.h -- Looking for sys/random.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for xlocale.h -- Looking for xlocale.h - not found -- Looking for _isnan -- Looking for _isnan - not found -- Looking for _finite -- Looking for _finite - not found -- Looking for INFINITY -- Looking for INFINITY - found -- Looking for isinf -- Looking for isinf - found -- Looking for isnan -- Looking for isnan - found -- Looking for nan -- Looking for nan - found -- Looking for _doprnt -- Looking for _doprnt - not found -- Looking for snprintf -- Looking for snprintf - found -- Looking for vasprintf -- Looking for vasprintf - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for vprintf -- Looking for vprintf - found -- Looking for arc4random -- Looking for arc4random - not found -- Looking for bsd/stdlib.h -- Looking for bsd/stdlib.h - not found -- Looking for open -- Looking for open - found -- Looking for realloc -- Looking for realloc - found -- Looking for setlocale -- Looking for setlocale - found -- Looking for uselocale -- Looking for uselocale - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for strncasecmp -- Looking for strncasecmp - found -- Looking for strdup -- Looking for strdup - found -- Looking for strerror -- Looking for strerror - found -- Looking for vsyslog -- Looking for vsyslog - found -- Looking for getrandom -- Looking for getrandom - found -- Looking for getrusage -- Looking for getrusage - found -- Looking for strtoll -- Looking for strtoll - found -- Looking for strtoull -- Looking for strtoull - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of int -- Check size of int - done -- Check size of int64_t -- Check size of int64_t - done -- Check size of long -- Check size of long - done -- Check size of long long -- Check size of long long - done -- Check size of size_t -- Check size of size_t - done -- Check size of ssize_t -- Check size of ssize_t - done -- Performing Test HAS_GNU_WARNING_LONG -- Performing Test HAS_GNU_WARNING_LONG - Failed -- Performing Test HAVE_ATOMIC_BUILTINS -- Performing Test HAVE_ATOMIC_BUILTINS - Success -- Performing Test HAVE___THREAD -- Performing Test HAVE___THREAD - Success -- Wrote /var/lib/managarm-buildenv/build/pkg-builds/json-c/config.h -- Wrote /var/lib/managarm-buildenv/build/pkg-builds/json-c/json_config.h -- Performing Test REENTRANT_WORKS -- Performing Test REENTRANT_WORKS - Success -- Performing Test BSYMBOLIC_WORKS -- Performing Test BSYMBOLIC_WORKS - Success -- Performing Test VERSION_SCRIPT_WORKS -- Performing Test VERSION_SCRIPT_WORKS - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) Warning: doxygen not found, the 'doc' target will not be included CMake Deprecation Warning at tests/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. CMake Error at apps/CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. -- Configuring incomplete, errors occurred! 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 1049, in main args._impl(args) File "/usr/local/lib/python3.11/dist-packages/xbstrap/__init__.py", line 1026, in do_execute_manifest xbstrap.base.execute_manifest(manifest) File "/usr/local/lib/python3.11/dist-packages/xbstrap/base.py", line 2137, 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 '['cmake', '-GNinja', '-DCMAKE_TOOLCHAIN_FILE=/var/lib/managarm-buildenv/src/scripts/CMakeToolchain-x86_64-managarm.txt', '-DCMAKE_INSTALL_PREFIX=/usr', '/var/lib/managarm-buildenv/src/ports/json-c']' returned non-zero exit status 1. child returned non-zero exit code xbstrap: Skipping action build of json-c due to failed prerequisites [11/12] xbstrap: Skipping action pack of json-c due to failed prerequisites [12/12] xbstrap: The following steps failed: configure json-c build json-c (prerequisites failed) pack json-c (prerequisites failed) xbstrap: Plan failed [2025-04-13 21:39:24.427832 sunset] DEBUG: xbbs.worker: got notify {'action': 'configure', 'artifact_files': [], 'n_all': 12, 'n_this': 10, 'status': 'failure', 'subject': 'json-c'} [2025-04-13 21:39:24.428442 sunset] DEBUG: xbbs.worker: got notify {'action': 'build', 'artifact_files': [], 'n_all': 12, 'n_this': 11, 'status': 'prereqs-failed', 'subject': 'json-c'} [2025-04-13 21:39:24.429043 sunset] DEBUG: xbbs.worker: got notify {'action': 'pack', 'architecture': 'x86_64', 'artifact_files': [], 'n_all': 12, 'n_this': 12, 'status': 'prereqs-failed', 'subject': 'json-c'} [2025-04-13 21:39:24.550162 sunset] INFO: xbbs.worker: job done. return code: 1