[2025-04-13 19:53:54.037302 chopin] 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={'mlibc-headers': {'architecture': 'x86_64', 'version': '0.0pl4468_1'}, 'linux-headers': {'architecture': 'x86_64', 'version': '6.12.8_2'}, 'libdrm-headers': {'architecture': 'x86_64', 'version': '2.4.124_1'}, 'frigg': {'architecture': 'x86_64', 'version': '0.0pl358_7'}, '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 19:53:54.037800 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/ [2025-04-13 19:53:54.047453 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'}) [2025-04-13 19:53:54.054846 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 [2025-04-13 19:53:55.030300 chopin] 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 19:53:55.072529 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 [2025-04-13 19:53:59.147823 chopin] 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', '--', 'mlibc-headers', 'linux-headers', 'libdrm-headers', 'frigg', '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%] 156MB/s ETA: 00m00s x86_64-repodata: 38KB [avg rate: 1496MB/s] 5 packages will be downloaded: 5 packages will be installed: mlibc-headers-0.0pl4468_1 linux-headers-6.12.8_2 libdrm-headers-2.4.124_1 frigg-0.0pl358_7 mlibc-0.0pl4468_1 Size to download: 8141KB Size required on disk: 31MB Space available on disk: 655GB [*] Downloading packages mlibc-headers-0.0pl4468_1.x86_64.xbps.sig2: [512B 100%] 29MB/s ETA: 00m00s mlibc-headers-0.0pl4468_1.x86_64.xbps.sig2: 512B [avg rate: 29MB/s] mlibc-headers-0.0pl4468_1.x86_64.xbps: [99KB 4%] 156MB/s ETA: 00m00s mlibc-headers-0.0pl4468_1.x86_64.xbps: 99KB [avg rate: 3880MB/s] mlibc-headers-0.0pl4468_1: verifying RSA signature... linux-headers-6.12.8_2.x86_64.xbps.sig2: [512B 100%] 38MB/s ETA: 00m00s linux-headers-6.12.8_2.x86_64.xbps.sig2: 512B [avg rate: 38MB/s] linux-headers-6.12.8_2.x86_64.xbps: [3121KB 0%] 217MB/s ETA: 00m00s linux-headers-6.12.8_2.x86_64.xbps: 3121KB [avg rate: 165GB/s] linux-headers-6.12.8_2: verifying RSA signature... libdrm-headers-2.4.124_1.x86_64.xbps.sig2: [512B 100%] 31MB/s ETA: 00m00s libdrm-headers-2.4.124_1.x86_64.xbps.sig2: 512B [avg rate: 31MB/s] libdrm-headers-2.4.124_1.x86_64.xbps: [120KB 3%] 230MB/s ETA: 00m00s libdrm-headers-2.4.124_1.x86_64.xbps: 120KB [avg rate: 6911MB/s] libdrm-headers-2.4.124_1: verifying RSA signature... frigg-0.0pl358_7.x86_64.xbps.sig2: [512B 100%] 38MB/s ETA: 00m00s frigg-0.0pl358_7.x86_64.xbps.sig2: 512B [avg rate: 38MB/s] frigg-0.0pl358_7.x86_64.xbps: [42KB 9%] 230MB/s ETA: 00m00s frigg-0.0pl358_7.x86_64.xbps: 42KB [avg rate: 2408MB/s] frigg-0.0pl358_7: verifying RSA signature... mlibc-0.0pl4468_1.x86_64.xbps.sig2: [512B 100%] 49MB/s ETA: 00m00s mlibc-0.0pl4468_1.x86_64.xbps.sig2: 512B [avg rate: 49MB/s] mlibc-0.0pl4468_1.x86_64.xbps: [4756KB 0%] 230MB/s ETA: 00m00s mlibc-0.0pl4468_1.x86_64.xbps: 4756KB [avg rate: 267GB/s] mlibc-0.0pl4468_1: verifying RSA signature... [*] Collecting package files mlibc-headers-0.0pl4468_1: collecting files... linux-headers-6.12.8_2: collecting files... libdrm-headers-2.4.124_1: collecting files... frigg-0.0pl358_7: collecting files... mlibc-0.0pl4468_1: collecting files... [*] Unpacking packages mlibc-headers-0.0pl4468_1: unpacking ... linux-headers-6.12.8_2: unpacking ... libdrm-headers-2.4.124_1: unpacking ... frigg-0.0pl358_7: unpacking ... mlibc-0.0pl4468_1: unpacking ... 5 downloaded, 5 installed, 0 updated, 5 configured, 0 removed. [2025-04-13 19:53:59.760127 chopin] DEBUG: xbbs.worker: creating repository with existing packages... [2025-04-13 19:53:59.760562 chopin] DEBUG: xbbs.worker: ... found libdrm-headers-2.4.124_1.x86_64.xbps [2025-04-13 19:53:59.761015 chopin] 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: 1 packages registered. [2025-04-13 19:53:59.776808 chopin] DEBUG: xbbs.worker: ... found mlibc-0.0pl4468_1.x86_64.xbps [2025-04-13 19:53:59.781545 chopin] 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: 2 packages registered. [2025-04-13 19:53:59.801030 chopin] DEBUG: xbbs.worker: ... found frigg-0.0pl358_7.x86_64.xbps [2025-04-13 19:53:59.801552 chopin] 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: 3 packages registered. [2025-04-13 19:53:59.817223 chopin] DEBUG: xbbs.worker: ... found linux-headers-6.12.8_2.x86_64.xbps [2025-04-13 19:53:59.821660 chopin] 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: 4 packages registered. [2025-04-13 19:53:59.839355 chopin] DEBUG: xbbs.worker: ... found mlibc-headers-0.0pl4468_1.x86_64.xbps [2025-04-13 19:53:59.839876 chopin] 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: 5 packages registered. [2025-04-13 19:54:04.357248 chopin] 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.yzztpgb2) install libdrm-headers (inside sysroot.yzztpgb2) install linux-headers (inside sysroot.yzztpgb2) install mlibc-headers (inside sysroot.yzztpgb2) install mlibc (inside sysroot.yzztpgb2) configure json-c (inside sysroot.yzztpgb2) build json-c (inside sysroot.yzztpgb2) 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 19:54:04.898363 chopin] 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 19:54:04.923265 chopin] 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.yzztpgb2', 'frigg'] [2025-04-13 19:54:04.942912 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 12, 'n_this': 3, 'status': 'success', 'subject': 'json-c'} [2025-04-13 19:54:04.943534 chopin] 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.yzztpgb2', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'frigg'] xbstrap: install libdrm-headers [6/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.yzztpgb2', 'libdrm-headers'] [2025-04-13 19:54:04.953192 chopin] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 12, 'n_this': 5, 'status': 'success', 'subject': 'frigg'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.yzztpgb2', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'libdrm-headers'] xbstrap: install linux-headers [7/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.yzztpgb2', 'linux-headers'] [2025-04-13 19:54:04.960832 chopin] 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.yzztpgb2', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'linux-headers'] xbstrap: install mlibc-headers [8/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.yzztpgb2', 'mlibc-headers'] [2025-04-13 19:54:05.140064 chopin] 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.yzztpgb2', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'mlibc-headers'] xbstrap: install mlibc [9/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.yzztpgb2', 'mlibc'] [2025-04-13 19:54:05.162637 chopin] 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.yzztpgb2', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'mlibc'] xbstrap: configure json-c [10/12] [2025-04-13 19:54:05.209106 chopin] 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 982100 (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] [2025-04-13 19:54:08.282031 chopin] DEBUG: xbbs.worker: got notify {'action': 'configure', 'artifact_files': [], 'n_all': 12, 'n_this': 10, 'status': 'failure', 'subject': 'json-c'} xbstrap: The following steps failed: configure json-c build json-c (prerequisites failed) pack json-c (prerequisites failed) xbstrap: Plan failed [2025-04-13 19:54:08.282831 chopin] DEBUG: xbbs.worker: got notify {'action': 'build', 'artifact_files': [], 'n_all': 12, 'n_this': 11, 'status': 'prereqs-failed', 'subject': 'json-c'} [2025-04-13 19:54:08.283566 chopin] 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 19:54:08.396271 chopin] INFO: xbbs.worker: job done. return code: 1