[2025-01-02 11:09:40.354471 sunset] 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'}, 'frigg': {'architecture': 'x86_64', 'version': '0.0pl350_7'}, 'libdrm-headers': {'architecture': 'x86_64', 'version': '2.4.115_1'}, 'linux-headers': {'architecture': 'x86_64', 'version': '6.9.3_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-02 11:09:40.355145 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-01-02 11:09:40.368208 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-01-02 11:09:40.385217 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-01-02 11:09:41.446242 sunset] 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-02 11:09:41.483903 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-01-02 11:09:46.869216 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', '--', 'mlibc-headers', 'frigg', 'libdrm-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: [28KB 14%] -- stalled -- ETA: 00m00s x86_64-repodata: 28KB [avg rate: -- stalled --] 5 packages will be downloaded: 5 packages will be installed: mlibc-headers-0.0pl4163_2 frigg-0.0pl350_7 libdrm-headers-2.4.115_1 linux-headers-6.9.3_1 mlibc-0.0pl4163_2 Size to download: 7813KB Size required on disk: 29MB Space available on disk: 757GB [*] Downloading packages mlibc-headers-0.0pl4163_2.x86_64.xbps.sig2: [512B 100%] 13MB/s ETA: 00m00s mlibc-headers-0.0pl4163_2.x86_64.xbps.sig2: 512B [avg rate: 13MB/s] mlibc-headers-0.0pl4163_2.x86_64.xbps: [96KB 4%] 91MB/s ETA: 00m00s mlibc-headers-0.0pl4163_2.x86_64.xbps: 96KB [avg rate: 2185MB/s] mlibc-headers-0.0pl4163_2: verifying RSA signature... frigg-0.0pl350_7.x86_64.xbps.sig2: [512B 100%] 14MB/s ETA: 00m00s frigg-0.0pl350_7.x86_64.xbps.sig2: 512B [avg rate: 14MB/s] frigg-0.0pl350_7.x86_64.xbps: [42KB 9%] 18MB/s ETA: 00m00s frigg-0.0pl350_7.x86_64.xbps: 42KB [avg rate: 186MB/s] frigg-0.0pl350_7: verifying RSA signature... libdrm-headers-2.4.115_1.x86_64.xbps.sig2: [512B 100%] 14MB/s ETA: 00m00s libdrm-headers-2.4.115_1.x86_64.xbps.sig2: 512B [avg rate: 14MB/s] libdrm-headers-2.4.115_1.x86_64.xbps: [114KB 3%] 91MB/s ETA: 00m00s libdrm-headers-2.4.115_1.x86_64.xbps: 114KB [avg rate: 2595MB/s] libdrm-headers-2.4.115_1: verifying RSA signature... linux-headers-6.9.3_1.x86_64.xbps.sig2: [512B 100%] 14MB/s ETA: 00m00s linux-headers-6.9.3_1.x86_64.xbps.sig2: 512B [avg rate: 14MB/s] linux-headers-6.9.3_1.x86_64.xbps: [3031KB 0%] 85MB/s ETA: 00m00s linux-headers-6.9.3_1.x86_64.xbps: 3031KB [avg rate: 63GB/s] linux-headers-6.9.3_1: verifying RSA signature... mlibc-0.0pl4163_2.x86_64.xbps.sig2: [512B 100%] 14MB/s ETA: 00m00s mlibc-0.0pl4163_2.x86_64.xbps.sig2: 512B [avg rate: 14MB/s] mlibc-0.0pl4163_2.x86_64.xbps: [4527KB 0%] 69MB/s ETA: 00m00s mlibc-0.0pl4163_2.x86_64.xbps: 4527KB [avg rate: 76GB/s] mlibc-0.0pl4163_2: verifying RSA signature... [*] Collecting package files mlibc-headers-0.0pl4163_2: collecting files... frigg-0.0pl350_7: collecting files... libdrm-headers-2.4.115_1: collecting files... linux-headers-6.9.3_1: collecting files... mlibc-0.0pl4163_2: collecting files... [*] Unpacking packages mlibc-headers-0.0pl4163_2: unpacking ... frigg-0.0pl350_7: unpacking ... libdrm-headers-2.4.115_1: unpacking ... linux-headers-6.9.3_1: unpacking ... mlibc-0.0pl4163_2: unpacking ... 5 downloaded, 5 installed, 0 updated, 5 configured, 0 removed. [2025-01-02 11:09:47.929112 sunset] DEBUG: xbbs.worker: creating repository with existing packages... [2025-01-02 11:09:47.929551 sunset] DEBUG: xbbs.worker: ... found libdrm-headers-2.4.115_1.x86_64.xbps [2025-01-02 11:09:47.930025 sunset] 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: 1 packages registered. [2025-01-02 11:09:47.945448 sunset] DEBUG: xbbs.worker: ... found mlibc-headers-0.0pl4163_2.x86_64.xbps [2025-01-02 11:09:47.946013 sunset] 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: 2 packages registered. [2025-01-02 11:09:47.961164 sunset] DEBUG: xbbs.worker: ... found mlibc-0.0pl4163_2.x86_64.xbps [2025-01-02 11:09:47.966172 sunset] 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: 3 packages registered. [2025-01-02 11:09:47.988034 sunset] DEBUG: xbbs.worker: ... found frigg-0.0pl350_7.x86_64.xbps [2025-01-02 11:09:47.989134 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'frigg-0.0pl350_7.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `frigg-0.0pl350_7' (x86_64). index: 4 packages registered. [2025-01-02 11:09:48.007940 sunset] DEBUG: xbbs.worker: ... found linux-headers-6.9.3_1.x86_64.xbps [2025-01-02 11:09:48.011794 sunset] 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: 5 packages registered. [2025-01-02 11:09:54.117073 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.3g_qhftx) install libdrm-headers (inside sysroot.3g_qhftx) install linux-headers (inside sysroot.3g_qhftx) install mlibc-headers (inside sysroot.3g_qhftx) install mlibc (inside sysroot.3g_qhftx) configure json-c (inside sysroot.3g_qhftx) build json-c (inside sysroot.3g_qhftx) 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-02 11:09:54.605114 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 2f2ddc1 Generate docs for the 0.16 release xbstrap: patch json-c [3/12] [2025-01-02 11:09:54.627834 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.3g_qhftx', 'frigg'] [2025-01-02 11:09:54.646778 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 12, 'n_this': 3, 'status': 'success', 'subject': 'json-c'} [2025-01-02 11:09:54.647348 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.3g_qhftx', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'frigg'] xbstrap: install libdrm-headers [6/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.3g_qhftx', 'libdrm-headers'] xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.3g_qhftx', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'libdrm-headers'] [2025-01-02 11:09:54.663513 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.3g_qhftx', 'linux-headers'] [2025-01-02 11:09:54.673724 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.3g_qhftx', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'linux-headers'] xbstrap: install mlibc-headers [8/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.3g_qhftx', 'mlibc-headers'] [2025-01-02 11:09:54.825501 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.3g_qhftx', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'mlibc-headers'] xbstrap: install mlibc [9/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.3g_qhftx', 'mlibc'] xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.3g_qhftx', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'mlibc'] [2025-01-02 11:09:54.852241 sunset] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 12, 'n_this': 8, 'status': 'success', 'subject': 'mlibc-headers'} xbstrap: configure json-c [10/12] [2025-01-02 11:09:54.908903 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: ['system-gcc', 'host-cmake', 'cross-binutils']) via cbuildrt PID init is 2576950 (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 (3.7s) -- 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-02 11:09:58.904617 sunset] DEBUG: xbbs.worker: got notify {'action': 'configure', 'artifact_files': [], 'n_all': 12, 'n_this': 10, 'status': 'success', 'subject': 'json-c'} xbstrap: Running ['ninja'] (tools: ['system-gcc', 'host-cmake', 'cross-binutils']) via cbuildrt PID init is 2577670 (outside the namespace) [1/85] Building C object CMakeFiles/json-c.dir/debug.c.o [2/85] Building C object CMakeFiles/json-c.dir/json_c_version.c.o [3/85] Building C object CMakeFiles/json-c.dir/json_visit.c.o [4/85] Building C object CMakeFiles/json-c.dir/arraylist.c.o [5/85] Building C object CMakeFiles/json-c.dir/json_object_iterator.c.o [6/85] Building C object CMakeFiles/json-c.dir/printbuf.c.o [7/85] Building C object CMakeFiles/json-c.dir/json_util.c.o [8/85] Building C object CMakeFiles/json-c.dir/random_seed.c.o [9/85] Building C object CMakeFiles/json-c-static.dir/json_c_version.c.o [10/85] Building C object CMakeFiles/json-c.dir/strerror_override.c.o [11/85] Building C object CMakeFiles/json-c.dir/json_pointer.c.o [12/85] Building C object CMakeFiles/json-c.dir/linkhash.c.o [13/85] Building C object CMakeFiles/json-c-static.dir/arraylist.c.o [14/85] Building C object CMakeFiles/json-c-static.dir/debug.c.o [15/85] Building C object CMakeFiles/json-c-static.dir/json_object_iterator.c.o [16/85] Building C object CMakeFiles/json-c-static.dir/json_util.c.o [17/85] Building C object CMakeFiles/json-c.dir/json_tokener.c.o [18/85] Building C object CMakeFiles/json-c-static.dir/printbuf.c.o [19/85] Building C object CMakeFiles/json-c-static.dir/json_visit.c.o [20/85] Building C object CMakeFiles/json-c-static.dir/random_seed.c.o [21/85] Building C object CMakeFiles/json-c-static.dir/linkhash.c.o [22/85] Building C object CMakeFiles/json-c-static.dir/strerror_override.c.o [23/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) | ^~~~~~~~~~ [24/85] Building C object CMakeFiles/json-c-static.dir/json_pointer.c.o [25/85] Building C object CMakeFiles/json-c.dir/json_object.c.o [26/85] Building C object tests/CMakeFiles/test2Formatted.dir/test2.c.o [27/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) | ^~~~~~~~~~ [28/85] Building C object tests/CMakeFiles/test1Formatted.dir/test1.c.o [29/85] Building C object tests/CMakeFiles/test2.dir/test2.c.o [30/85] Building C object tests/CMakeFiles/test1.dir/test1.c.o [31/85] Building C object CMakeFiles/json-c-static.dir/json_tokener.c.o [32/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-02 11:09:59.408434 sunset] DEBUG: xbbs.worker: got notify {'action': 'build', 'artifact_files': [], 'n_all': 12, 'n_this': 11, 'status': 'failure', 'subject': 'json-c'} [2025-01-02 11:09:59.409229 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-01-02 11:09:59.528737 sunset] INFO: xbbs.worker: job done. return code: 1