[2025-07-04 01:16:44.682133 chopin] INFO: xbbs.worker: running job JobMessage(project='managarm', job='package:libcap', repository='https://github.com/managarm/bootstrap-managarm.git', revision='7fd78aa2551db08437c2b55a034771df6d76d519', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={'frigg': {'architecture': 'x86_64', 'version': '0.0pl362_7'}, 'linux-headers': {'architecture': 'x86_64', 'version': '6.12.8_2'}, 'libdrm-headers': {'architecture': 'x86_64', 'version': '2.4.124_1'}, 'mlibc-headers': {'architecture': 'x86_64', 'version': '0.0pl4535_1'}, 'mlibc': {'architecture': 'x86_64', 'version': '0.0pl4535_1'}}, needed_tools={'cross-binutils': {'architecture': 'x86_64', 'version': '2.43.1_1'}, 'system-gcc': {'architecture': 'x86_64', 'version': '14.2.0_1'}}, prod_pkgs={'libcap': {'architecture': 'x86_64', 'version': '2.76_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-07-04 01:16:44.682570 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-07-04 01:16:44.691508 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-07-04 01:16:44.699898 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-07-04 01:16:45.726340 chopin] INFO: xbbs.worker: running command ['git', 'checkout', '--detach', '7fd78aa2551db08437c2b55a034771df6d76d519'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) HEAD is now at 7fd78aa Merge pull request #524 from no92/mlibc-bump [2025-07-04 01:16:45.769184 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-07-04 01:16:50.044967 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', '--', 'frigg', 'linux-headers', 'libdrm-headers', 'mlibc-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: [16KB 24%] 170MB/s ETA: 00m00s x86_64-repodata: 16KB [avg rate: 683MB/s] 5 packages will be downloaded: 5 packages will be installed: frigg-0.0pl362_7 linux-headers-6.12.8_2 libdrm-headers-2.4.124_1 mlibc-headers-0.0pl4535_1 mlibc-0.0pl4535_1 Size to download: 8198KB Size required on disk: 31MB Space available on disk: 632GB [*] Downloading packages frigg-0.0pl362_7.x86_64.xbps.sig2: [512B 100%] 38MB/s ETA: 00m00s frigg-0.0pl362_7.x86_64.xbps.sig2: 512B [avg rate: 38MB/s] frigg-0.0pl362_7.x86_64.xbps: [42KB 9%] 186MB/s ETA: 00m00s frigg-0.0pl362_7.x86_64.xbps: 42KB [avg rate: 1951MB/s] frigg-0.0pl362_7: verifying RSA signature... linux-headers-6.12.8_2.x86_64.xbps.sig2: [512B 100%] 35MB/s ETA: 00m00s linux-headers-6.12.8_2.x86_64.xbps.sig2: 512B [avg rate: 35MB/s] linux-headers-6.12.8_2.x86_64.xbps: [3121KB 0%] 279MB/s ETA: 00m00s linux-headers-6.12.8_2.x86_64.xbps: 3121KB [avg rate: 213GB/s] linux-headers-6.12.8_2: verifying RSA signature... libdrm-headers-2.4.124_1.x86_64.xbps.sig2: [512B 100%] 35MB/s ETA: 00m00s libdrm-headers-2.4.124_1.x86_64.xbps.sig2: 512B [avg rate: 35MB/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... mlibc-headers-0.0pl4535_1.x86_64.xbps.sig2: [512B 100%] 44MB/s ETA: 00m00s mlibc-headers-0.0pl4535_1.x86_64.xbps.sig2: 512B [avg rate: 44MB/s] mlibc-headers-0.0pl4535_1.x86_64.xbps: [100KB 4%] 122MB/s ETA: 00m00s mlibc-headers-0.0pl4535_1.x86_64.xbps: 100KB [avg rate: 3037MB/s] mlibc-headers-0.0pl4535_1: verifying RSA signature... mlibc-0.0pl4535_1.x86_64.xbps.sig2: [512B 100%] 38MB/s ETA: 00m00s mlibc-0.0pl4535_1.x86_64.xbps.sig2: 512B [avg rate: 38MB/s] mlibc-0.0pl4535_1.x86_64.xbps: [4812KB 0%] 156MB/s ETA: 00m00s mlibc-0.0pl4535_1.x86_64.xbps: 4812KB [avg rate: 184GB/s] mlibc-0.0pl4535_1: verifying RSA signature... [*] Collecting package files frigg-0.0pl362_7: collecting files... linux-headers-6.12.8_2: collecting files... libdrm-headers-2.4.124_1: collecting files... mlibc-headers-0.0pl4535_1: collecting files... mlibc-0.0pl4535_1: collecting files... [*] Unpacking packages frigg-0.0pl362_7: unpacking ... linux-headers-6.12.8_2: unpacking ... libdrm-headers-2.4.124_1: unpacking ... mlibc-headers-0.0pl4535_1: unpacking ... mlibc-0.0pl4535_1: unpacking ... 5 downloaded, 5 installed, 0 updated, 5 configured, 0 removed. [2025-07-04 01:16:50.632050 chopin] DEBUG: xbbs.worker: creating repository with existing packages... [2025-07-04 01:16:50.632455 chopin] DEBUG: xbbs.worker: ... found libdrm-headers-2.4.124_1.x86_64.xbps [2025-07-04 01:16:50.632904 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-07-04 01:16:50.647461 chopin] DEBUG: xbbs.worker: ... found mlibc-0.0pl4535_1.x86_64.xbps [2025-07-04 01:16:50.652213 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-0.0pl4535_1.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-0.0pl4535_1' (x86_64). index: 2 packages registered. [2025-07-04 01:16:50.671104 chopin] DEBUG: xbbs.worker: ... found frigg-0.0pl362_7.x86_64.xbps [2025-07-04 01:16:50.671609 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'frigg-0.0pl362_7.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `frigg-0.0pl362_7' (x86_64). index: 3 packages registered. [2025-07-04 01:16:50.686335 chopin] DEBUG: xbbs.worker: ... found linux-headers-6.12.8_2.x86_64.xbps [2025-07-04 01:16:50.690026 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-07-04 01:16:50.706563 chopin] DEBUG: xbbs.worker: ... found mlibc-headers-0.0pl4535_1.x86_64.xbps [2025-07-04 01:16:50.707028 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-headers-0.0pl4535_1.x86_64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'x86_64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-headers-0.0pl4535_1' (x86_64). index: 5 packages registered. [2025-07-04 01:16:53.607739 chopin] INFO: xbbs.worker: running command ['xbstrap-pipeline', 'run-job', '--keep-going', '--progress-file', 'fd:17', 'package:libcap'] (params {'cwd': '/var/lib/xbbs/tmp/worker', 'pass_fds': (17,)}) xbstrap: Running the following plan: fetch libcap checkout libcap patch libcap regenerate libcap install frigg (inside sysroot.uupsxbql) install libdrm-headers (inside sysroot.uupsxbql) install linux-headers (inside sysroot.uupsxbql) install mlibc-headers (inside sysroot.uupsxbql) install mlibc (inside sysroot.uupsxbql) configure libcap (inside sysroot.uupsxbql) build libcap (inside sysroot.uupsxbql) pack libcap xbstrap: fetch libcap [1/12] Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/libcap/.git/ From https://mirrors.managarm.org/mirror/git/libcap * [new tag] libcap-2.76 -> libcap-2.76 * [new tag] cap/v1.2.76 -> cap/v1.2.76 * [new tag] libcap-korg-2.76 -> libcap-korg-2.76 * [new tag] psx/v1.2.76 -> psx/v1.2.76 * [new tag] sig-libcap-2.76 -> sig-libcap-2.76 * [new tag] v1.2.76 -> v1.2.76 xbstrap: checkout libcap [2/12] [2025-07-04 01:16:54.655013 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 12, 'n_this': 1, 'status': 'success', 'subject': 'libcap'} HEAD is now at 5f3e12c Up the release version to 2.76 xbstrap: patch libcap [3/12] [2025-07-04 01:16:54.678312 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 12, 'n_this': 2, 'status': 'success', 'subject': 'libcap'} Applying: Add managarm support xbstrap: regenerate libcap [4/12] xbstrap: install frigg [5/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.uupsxbql', 'frigg'] [2025-07-04 01:16:54.697000 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 12, 'n_this': 3, 'status': 'success', 'subject': 'libcap'} [2025-07-04 01:16:54.697607 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 12, 'n_this': 4, 'status': 'success', 'subject': 'libcap'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.uupsxbql', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'frigg'] xbstrap: install libdrm-headers [6/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.uupsxbql', 'libdrm-headers'] [2025-07-04 01:16:54.708247 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.uupsxbql', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'libdrm-headers'] xbstrap: install linux-headers [7/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.uupsxbql', 'linux-headers'] xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.uupsxbql', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'linux-headers'] [2025-07-04 01:16:54.716296 chopin] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 12, 'n_this': 6, 'status': 'success', 'subject': 'libdrm-headers'} xbstrap: install mlibc-headers [8/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.uupsxbql', 'mlibc-headers'] [2025-07-04 01:16:54.889186 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.uupsxbql', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'mlibc-headers'] xbstrap: install mlibc [9/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.uupsxbql', 'mlibc'] [2025-07-04 01:16:54.912263 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.uupsxbql', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'mlibc'] xbstrap: configure libcap [10/12] [2025-07-04 01:16:54.959915 chopin] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 12, 'n_this': 9, 'status': 'success', 'subject': 'mlibc'} xbstrap: Running ['cp', '-r', '@THIS_SOURCE_DIR@/.', '@THIS_BUILD_DIR@'] (tools: ['system-gcc', 'cross-binutils']) via cbuildrt PID init is 2063955 (outside the namespace) xbstrap: build libcap [11/12] [2025-07-04 01:16:55.142150 chopin] DEBUG: xbbs.worker: got notify {'action': 'configure', 'artifact_files': [], 'n_all': 12, 'n_this': 10, 'status': 'success', 'subject': 'libcap'} xbstrap: Running ['make', '-j@PARALLELISM@', 'prefix=/usr'] (tools: ['system-gcc', 'cross-binutils']) via cbuildrt PID init is 2063977 (outside the namespace) make -C libcap all make[1]: Entering directory '/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap' sed -e 's,@prefix@,/usr,' \ -e 's,@exec_prefix@,/usr,' \ -e 's,@libdir@,/usr/lib64,' \ -e 's,@includedir@,/usr/include,' \ -e 's,@VERSION@,2.76,' \ -e 's,@deps@,,' \ libcap.pc.in >libcap.pc => making cap_names.list.h from /var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include/uapi/linux/capability.h grep -E '^#define\s+CAP_([^\s]+)\s+[0-9]+\s*$' include/uapi/linux/capability.h | sed -e 's/^#define\s\+/{"/' -e 's/\s*$/},/' -e 's/\s\+/",/' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/' > cap_names.list.h make libpsx.pc make[2]: Entering directory '/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap' gcc -O2 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include/uapi -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include _makenames.c -o _makenames (cat cap_names.header ; sed -e 's/[\{\}"]//g' -e 's/,$//' cap_names.list.h) | gperf --ignore-case --language=ANSI-C --readonly --null-strings --global-table --hash-function-name=__cap_hash_name --lookup-function-name="__cap_lookup_name" -c -t -m20 > _caps_output.gperf sed -e 's/unsigned int len/size_t len/' -i _caps_output.gperf sed -e 's,@prefix@,/usr,' \ -e 's,@exec_prefix@,/usr,' \ -e 's,@libdir@,/usr/lib64,' \ -e 's,@includedir@,/usr/include,' \ -e 's,@VERSION@,2.76,' \ -e 's,@deps@,,' \ libpsx.pc.in >libpsx.pc make[2]: Leaving directory '/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap' ./_makenames > cap_names.h x86_64-managarm-gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -D_LIBPSX_PTHREAD_LINKAGE -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include/uapi -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include -c cap_alloc.c -o cap_alloc.o x86_64-managarm-gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -D_LIBPSX_PTHREAD_LINKAGE -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include/uapi -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include -c cap_proc.c -o cap_proc.o x86_64-managarm-gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -D_LIBPSX_PTHREAD_LINKAGE -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include/uapi -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include -c cap_extint.c -o cap_extint.o x86_64-managarm-gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -D_LIBPSX_PTHREAD_LINKAGE -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include/uapi -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include -c cap_flag.c -o cap_flag.o x86_64-managarm-gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -D_LIBPSX_PTHREAD_LINKAGE -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include/uapi -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include -DINCLUDE_GPERF_OUTPUT='"_caps_output.gperf"' -c cap_text.c -o cap_text.o x86_64-managarm-gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -D_LIBPSX_PTHREAD_LINKAGE -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include/uapi -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include -c cap_file.c -o cap_file.o x86_64-managarm-gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -D_LIBPSX_PTHREAD_LINKAGE -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include/uapi -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include -c cap_syscalls.c -o cap_syscalls.o x86_64-managarm-ar rcs libcap.a cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o cap_syscalls.o x86_64-managarm-ranlib libcap.a make libcap.so make[2]: Entering directory '/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap' x86_64-managarm-gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -D_LIBPSX_PTHREAD_LINKAGE -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include/uapi -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include empty.c -o empty x86_64-managarm-objcopy --dump-section .interp=loader.txt empty /dev/null x86_64-managarm-gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -D_LIBPSX_PTHREAD_LINKAGE -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include/uapi -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include -DLIBRARY_VERSION=\"libcap-2.76\" -DSHARED_LOADER=\"/lib/x86_64-managarm/ld.so\" -include ./libcap.h -c execable.c -o cap_magic.o x86_64-managarm-gcc -Wl,-x -shared -Wl,-shared -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -D_LIBPSX_PTHREAD_LINKAGE -Wl,-soname,libcap.so.2 -o libcap.so.2.76 cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o cap_syscalls.o cap_magic.o -Wl,-e,__so_start ln -sf libcap.so.2.76 libcap.so.2 ln -sf libcap.so.2 libcap.so make[2]: Leaving directory '/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap' make libpsx.a make[2]: Entering directory '/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap' x86_64-managarm-gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -D_LIBPSX_PTHREAD_LINKAGE -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include/uapi -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include -c ../psx/psx.c -o ../psx/psx.o x86_64-managarm-gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -D_LIBPSX_PTHREAD_LINKAGE -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include/uapi -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include -c ../psx/psx_calls.c -o ../psx/psx_calls.o x86_64-managarm-gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -D_LIBPSX_PTHREAD_LINKAGE -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include/uapi -I/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap/../libcap/include -c ../psx/wrap/psx_wrap.c -o ../psx/wrap/psx_wrap.o rm -f include/sys/psx_syscall.h ln -s ../../../psx/psx_syscall.h include/sys/psx_syscall.h ../psx/psx_calls.c:18:10: fatal error: sys/syscall.h: No such file or directory 18 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:139: ../psx/psx_calls.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ../psx/psx.c: In function ‘__psx_syscall’: ../psx/psx.c:38:22: warning: statement with no effect [-Wunused-value] 38 | #define syscall(...) (-1) | ^ ../psx/psx.c:440:21: note: in expansion of macro ‘syscall’ 440 | syscall(SYS_tkill, tid, psx_tracker.psx_sig); | ^~~~~~~ make[2]: Leaving directory '/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap' make[1]: *** [Makefile:46: all] Error 2 make[1]: Leaving directory '/var/lib/managarm-buildenv/build/pkg-builds/libcap/libcap' make: *** [Makefile:12: all] Error 2 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 '['make', '-j12', 'prefix=/usr']' returned non-zero exit status 2. child returned non-zero exit code xbstrap: Skipping action pack of libcap due to failed prerequisites [12/12] xbstrap: The following steps failed: build libcap pack libcap (prerequisites failed) xbstrap: Plan failed [2025-07-04 01:16:55.978116 chopin] DEBUG: xbbs.worker: got notify {'action': 'build', 'artifact_files': [], 'n_all': 12, 'n_this': 11, 'status': 'failure', 'subject': 'libcap'} [2025-07-04 01:16:55.978935 chopin] DEBUG: xbbs.worker: got notify {'action': 'pack', 'architecture': 'x86_64', 'artifact_files': [], 'n_all': 12, 'n_this': 12, 'status': 'prereqs-failed', 'subject': 'libcap'} [2025-07-04 01:16:56.077409 chopin] INFO: xbbs.worker: job done. return code: 1