[2025-01-05 06:57:19.973114 chopin] INFO: xbbs.worker: running job JobMessage(project='managarm', job='package:json-c', repository='https://github.com/managarm/bootstrap-managarm.git', revision='57c2d03649e4a7d359b50934caeb31428e7f9535', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={'mlibc-headers': {'architecture': 'x86_64', 'version': '0.0pl4163_2'}, 'linux-headers': {'architecture': 'x86_64', 'version': '6.9.3_1'}, 'frigg': {'architecture': 'x86_64', 'version': '0.0pl352_7'}, 'libdrm-headers': {'architecture': 'x86_64', 'version': '2.4.115_1'}, 'mlibc': {'architecture': 'x86_64', 'version': '0.0pl4163_2'}}, needed_tools={'cross-binutils': {'architecture': 'x86_64', 'version': '2.43.1_1'}, 'system-gcc': {'architecture': 'x86_64', 'version': '14.2.0_1'}, 'host-cmake': {'architecture': {'x86_64'}, 'version': '3.26.4_1'}}, prod_pkgs={'json-c': {'architecture': 'x86_64', 'version': '0.16_9'}}, 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-01-05 06:57:19.973461 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-01-05 06:57:19.983052 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-01-05 06:57:19.990511 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-01-05 06:57:21.060648 chopin] INFO: xbbs.worker: running command ['git', 'checkout', '--detach', '57c2d03649e4a7d359b50934caeb31428e7f9535'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) HEAD is now at 57c2d03 binutils/gcc: Use a tag and not a specified commit [2025-01-05 06:57:21.097919 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-01-05 06:57:25.049557 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', 'frigg', 'libdrm-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: [11KB 37%] 260MB/s ETA: 00m00s x86_64-repodata: 11KB [avg rate: 691MB/s] 5 packages will be downloaded: 5 packages will be installed: mlibc-headers-0.0pl4163_2 linux-headers-6.9.3_1 frigg-0.0pl352_7 libdrm-headers-2.4.115_1 mlibc-0.0pl4163_2 Size to download: 7813KB Size required on disk: 29MB Space available on disk: 691GB [*] Downloading packages mlibc-headers-0.0pl4163_2.x86_64.xbps.sig2: [512B 100%] 44MB/s ETA: 00m00s mlibc-headers-0.0pl4163_2.x86_64.xbps.sig2: 512B [avg rate: 44MB/s] mlibc-headers-0.0pl4163_2.x86_64.xbps: [96KB 4%] 178MB/s ETA: 00m00s mlibc-headers-0.0pl4163_2.x86_64.xbps: 96KB [avg rate: 4270MB/s] mlibc-headers-0.0pl4163_2: verifying RSA signature... linux-headers-6.9.3_1.x86_64.xbps.sig2: [512B 100%] 41MB/s ETA: 00m00s linux-headers-6.9.3_1.x86_64.xbps.sig2: 512B [avg rate: 41MB/s] linux-headers-6.9.3_1.x86_64.xbps: [3031KB 0%] 91MB/s ETA: 00m00s linux-headers-6.9.3_1.x86_64.xbps: 3031KB [avg rate: 67GB/s] linux-headers-6.9.3_1: verifying RSA signature... frigg-0.0pl352_7.x86_64.xbps.sig2: [512B 100%] 38MB/s ETA: 00m00s frigg-0.0pl352_7.x86_64.xbps.sig2: 512B [avg rate: 38MB/s] frigg-0.0pl352_7.x86_64.xbps: [42KB 9%] 170MB/s ETA: 00m00s frigg-0.0pl352_7.x86_64.xbps: 42KB [avg rate: 1770MB/s] frigg-0.0pl352_7: verifying RSA signature... libdrm-headers-2.4.115_1.x86_64.xbps.sig2: [512B 100%] 35MB/s ETA: 00m00s libdrm-headers-2.4.115_1.x86_64.xbps.sig2: 512B [avg rate: 35MB/s] libdrm-headers-2.4.115_1.x86_64.xbps: [114KB 3%] 230MB/s ETA: 00m00s libdrm-headers-2.4.115_1.x86_64.xbps: 114KB [avg rate: 6564MB/s] libdrm-headers-2.4.115_1: verifying RSA signature... mlibc-0.0pl4163_2.x86_64.xbps.sig2: [512B 100%] 49MB/s ETA: 00m00s mlibc-0.0pl4163_2.x86_64.xbps.sig2: 512B [avg rate: 49MB/s] mlibc-0.0pl4163_2.x86_64.xbps: [4527KB 0%] 244MB/s ETA: 00m00s mlibc-0.0pl4163_2.x86_64.xbps: 4527KB [avg rate: 270GB/s] mlibc-0.0pl4163_2: verifying RSA signature... [*] Collecting package files mlibc-headers-0.0pl4163_2: collecting files... linux-headers-6.9.3_1: collecting files... frigg-0.0pl352_7: collecting files... libdrm-headers-2.4.115_1: collecting files... mlibc-0.0pl4163_2: collecting files... [*] Unpacking packages mlibc-headers-0.0pl4163_2: unpacking ... linux-headers-6.9.3_1: unpacking ... frigg-0.0pl352_7: unpacking ... libdrm-headers-2.4.115_1: unpacking ... mlibc-0.0pl4163_2: unpacking ... 5 downloaded, 5 installed, 0 updated, 5 configured, 0 removed. [2025-01-05 06:57:25.613307 chopin] DEBUG: xbbs.worker: creating repository with existing packages... [2025-01-05 06:57:25.613686 chopin] DEBUG: xbbs.worker: ... found mlibc-0.0pl4163_2.x86_64.xbps [2025-01-05 06:57:25.618005 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-0.0pl4163_2.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-0.0pl4163_2' (x86_64). index: 1 packages registered. [2025-01-05 06:57:25.637999 chopin] DEBUG: xbbs.worker: ... found libdrm-headers-2.4.115_1.x86_64.xbps [2025-01-05 06:57:25.638441 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'libdrm-headers-2.4.115_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.115_1' (x86_64). index: 2 packages registered. [2025-01-05 06:57:25.652221 chopin] DEBUG: xbbs.worker: ... found linux-headers-6.9.3_1.x86_64.xbps [2025-01-05 06:57:25.655213 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'linux-headers-6.9.3_1.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `linux-headers-6.9.3_1' (x86_64). index: 3 packages registered. [2025-01-05 06:57:25.671934 chopin] DEBUG: xbbs.worker: ... found mlibc-headers-0.0pl4163_2.x86_64.xbps [2025-01-05 06:57:25.672395 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-headers-0.0pl4163_2.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-headers-0.0pl4163_2' (x86_64). index: 4 packages registered. [2025-01-05 06:57:25.688897 chopin] DEBUG: xbbs.worker: ... found frigg-0.0pl352_7.x86_64.xbps [2025-01-05 06:57:25.689273 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'frigg-0.0pl352_7.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `frigg-0.0pl352_7' (x86_64). index: 5 packages registered. [2025-01-05 06:57:29.596656 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.0jsphbwb) install libdrm-headers (inside sysroot.0jsphbwb) install linux-headers (inside sysroot.0jsphbwb) install mlibc-headers (inside sysroot.0jsphbwb) install mlibc (inside sysroot.0jsphbwb) configure json-c (inside sysroot.0jsphbwb) build json-c (inside sysroot.0jsphbwb) 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.16-20220414 -> json-c-0.16-20220414 xbstrap: checkout json-c [2/12] [2025-01-05 06:57:30.064691 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 2f2ddc1 Generate docs for the 0.16 release xbstrap: patch json-c [3/12] [2025-01-05 06:57:30.085799 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.0jsphbwb', 'frigg'] [2025-01-05 06:57:30.103816 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 12, 'n_this': 3, 'status': 'success', 'subject': 'json-c'} [2025-01-05 06:57:30.104494 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.0jsphbwb', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'frigg'] xbstrap: install libdrm-headers [6/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.0jsphbwb', 'libdrm-headers'] [2025-01-05 06:57:30.112683 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.0jsphbwb', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'libdrm-headers'] xbstrap: install linux-headers [7/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.0jsphbwb', 'linux-headers'] [2025-01-05 06:57:30.120558 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.0jsphbwb', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'linux-headers'] xbstrap: install mlibc-headers [8/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.0jsphbwb', 'mlibc-headers'] [2025-01-05 06:57:30.289974 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.0jsphbwb', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'mlibc-headers'] xbstrap: install mlibc [9/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.0jsphbwb', 'mlibc'] xbstrap[2025-01-05 06:57:30.312267 chopin] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 12, 'n_this': 8, 'status': 'success', 'subject': 'mlibc-headers'} : Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.0jsphbwb', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'mlibc'] xbstrap: configure json-c [10/12] [2025-01-05 06:57:30.357493 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 1737948 (outside the namespace) CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- 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 CMake Deprecation Warning at apps/CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for getrusage -- Looking for getrusage - found -- Wrote /var/lib/managarm-buildenv/build/pkg-builds/json-c/apps_config.h -- 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 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 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 -- Configuring done (2.9s) -- Generating done (0.0s) -- Build files have been written to: /var/lib/managarm-buildenv/build/pkg-builds/json-c xbstrap: build json-c [11/12] [2025-01-05 06:57:33.482317 chopin] DEBUG: xbbs.worker: got notify {'action': 'configure', 'artifact_files': [], 'n_all': 12, 'n_this': 10, 'status': 'success', 'subject': 'json-c'} xbstrap: Running ['ninja'] (tools: ['host-cmake', 'system-gcc', 'cross-binutils']) via cbuildrt PID init is 1738669 (outside the namespace) [1/85] Building C object CMakeFiles/json-c.dir/json_c_version.c.o [2/85] Building C object CMakeFiles/json-c.dir/debug.c.o [3/85] Building C object CMakeFiles/json-c.dir/strerror_override.c.o [4/85] Building C object CMakeFiles/json-c.dir/arraylist.c.o [5/85] Building C object CMakeFiles/json-c.dir/json_visit.c.o [6/85] Building C object CMakeFiles/json-c.dir/printbuf.c.o [7/85] Building C object CMakeFiles/json-c.dir/random_seed.c.o [8/85] Building C object CMakeFiles/json-c.dir/json_object_iterator.c.o [9/85] Building C object CMakeFiles/json-c.dir/json_pointer.c.o [10/85] Building C object CMakeFiles/json-c-static.dir/arraylist.c.o [11/85] Building C object CMakeFiles/json-c-static.dir/json_c_version.c.o [12/85] Building C object CMakeFiles/json-c-static.dir/json_object_iterator.c.o [13/85] Building C object CMakeFiles/json-c-static.dir/debug.c.o [14/85] Building C object CMakeFiles/json-c.dir/json_util.c.o [15/85] Building C object CMakeFiles/json-c-static.dir/json_visit.c.o [16/85] Building C object CMakeFiles/json-c.dir/linkhash.c.o [17/85] Building C object tests/CMakeFiles/test1Formatted.dir/parse_flags.c.o FAILED: tests/CMakeFiles/test1Formatted.dir/parse_flags.c.o /var/lib/managarm-buildenv/build/tools/system-gcc/bin/x86_64-managarm-gcc --sysroot=/var/lib/managarm-buildenv/build/system-root -DTEST_FORMATTED=1 -I/var/lib/managarm-buildenv/src/ports/json-c/tests/PUBLIC -I/var/lib/managarm-buildenv/src/ports/json-c -I/var/lib/managarm-buildenv/build/pkg-builds/json-c -g -MD -MT tests/CMakeFiles/test1Formatted.dir/parse_flags.c.o -MF tests/CMakeFiles/test1Formatted.dir/parse_flags.c.o.d -o tests/CMakeFiles/test1Formatted.dir/parse_flags.c.o -c /var/lib/managarm-buildenv/src/ports/json-c/tests/parse_flags.c /var/lib/managarm-buildenv/src/ports/json-c/tests/parse_flags.c: In function ‘parse_flags’: /var/lib/managarm-buildenv/src/ports/json-c/tests/parse_flags.c:39:29: error: implicit declaration of function ‘strcasecmp’ [-Wimplicit-function-declaration] 39 | if (strcasecmp(argv[arg_idx], format_args[jj].arg) == 0) | ^~~~~~~~~~ [18/85] Building C object CMakeFiles/json-c-static.dir/json_util.c.o [19/85] Building C object CMakeFiles/json-c-static.dir/strerror_override.c.o [20/85] Building C object CMakeFiles/json-c-static.dir/printbuf.c.o [21/85] Building C object CMakeFiles/json-c-static.dir/random_seed.c.o [22/85] Building C object tests/CMakeFiles/test2Formatted.dir/parse_flags.c.o FAILED: tests/CMakeFiles/test2Formatted.dir/parse_flags.c.o /var/lib/managarm-buildenv/build/tools/system-gcc/bin/x86_64-managarm-gcc --sysroot=/var/lib/managarm-buildenv/build/system-root -DTEST_FORMATTED=1 -I/var/lib/managarm-buildenv/src/ports/json-c/tests/PUBLIC -I/var/lib/managarm-buildenv/src/ports/json-c -I/var/lib/managarm-buildenv/build/pkg-builds/json-c -g -MD -MT tests/CMakeFiles/test2Formatted.dir/parse_flags.c.o -MF tests/CMakeFiles/test2Formatted.dir/parse_flags.c.o.d -o tests/CMakeFiles/test2Formatted.dir/parse_flags.c.o -c /var/lib/managarm-buildenv/src/ports/json-c/tests/parse_flags.c /var/lib/managarm-buildenv/src/ports/json-c/tests/parse_flags.c: In function ‘parse_flags’: /var/lib/managarm-buildenv/src/ports/json-c/tests/parse_flags.c:39:29: error: implicit declaration of function ‘strcasecmp’ [-Wimplicit-function-declaration] 39 | if (strcasecmp(argv[arg_idx], format_args[jj].arg) == 0) | ^~~~~~~~~~ [23/85] Building C object CMakeFiles/json-c-static.dir/linkhash.c.o [24/85] Building C object tests/CMakeFiles/test2Formatted.dir/test2.c.o [25/85] Building C object CMakeFiles/json-c-static.dir/json_pointer.c.o [26/85] Building C object tests/CMakeFiles/test1Formatted.dir/test1.c.o [27/85] Building C object CMakeFiles/json-c.dir/json_tokener.c.o [28/85] Building C object CMakeFiles/json-c-static.dir/json_tokener.c.o [29/85] Building C object CMakeFiles/json-c.dir/json_object.c.o [30/85] Building C object CMakeFiles/json-c-static.dir/json_object.c.o ninja: build stopped: subcommand failed. 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 1042, in main args._impl(args) File "/usr/local/lib/python3.11/dist-packages/xbstrap/__init__.py", line 1019, in do_execute_manifest xbstrap.base.execute_manifest(manifest) File "/usr/local/lib/python3.11/dist-packages/xbstrap/base.py", line 2127, 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 '['ninja']' returned non-zero exit status 1. child returned non-zero exit code xbstrap: Skipping action pack of json-c due to failed prerequisites [12/12] xbstrap: The following steps failed: build json-c pack json-c (prerequisites failed) xbstrap: Plan failed [2025-01-05 06:57:33.838233 chopin] DEBUG: xbbs.worker: got notify {'action': 'build', 'artifact_files': [], 'n_all': 12, 'n_this': 11, 'status': 'failure', 'subject': 'json-c'} [2025-01-05 06:57:33.838955 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-01-05 06:57:33.931447 chopin] INFO: xbbs.worker: job done. return code: 1