[2024-12-20 21:37:48.608667 chopin] INFO: xbbs.worker: running job JobMessage(project='managarm_riscv', job='package:p11-kit', repository='https://github.com/managarm/bootstrap-managarm.git', revision='8fa7838c73bae47be5508548d5c98de605240b6b', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={'libtasn': {'architecture': 'riscv64', 'version': '4.19.0_6'}, 'libffi': {'architecture': 'riscv64', 'version': '3.4.4_5'}, 'linux-headers': {'architecture': 'riscv64', 'version': '6.9.3_1'}, 'mlibc-headers': {'architecture': 'riscv64', 'version': '0.0pl4129_2'}, 'libdrm-headers': {'architecture': 'riscv64', 'version': '2.4.115_1'}, 'frigg': {'architecture': 'riscv64', 'version': '0.0pl348_7'}, 'mlibc': {'architecture': 'riscv64', 'version': '0.0pl4129_2'}}, needed_tools={'system-gcc': {'architecture': 'riscv64', 'version': '13.2.3_2'}, 'cross-binutils': {'architecture': 'riscv64', 'version': '2.40_3'}, 'host-automake-v1.15': {'architecture': {'riscv64'}, 'version': '1.15.1_3'}, 'host-libtool': {'architecture': {'riscv64'}, 'version': '2.5.4_1'}, 'host-autoconf-v2.69': {'architecture': {'riscv64'}, 'version': '2.69_2'}, 'host-pkg-config': {'architecture': {'riscv64'}, 'version': '0.29.2_2'}}, prod_pkgs={'p11-kit': {'architecture': 'riscv64', 'version': '0.25.0_6'}}, prod_tools={}, prod_files=[], tool_repo='https://mirrors.managarm.org/currents/managarm_riscv/tool_repo', pkg_repo='https://mirrors.managarm.org/currents/managarm_riscv/package_repo', mirror_root='https://mirrors.managarm.org/mirror/', distfile_path='xbbs/riscv64/') [2024-12-20 21:37:48.609098 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/ [2024-12-20 21:37:48.617940 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'}) [2024-12-20 21:37:48.625704 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 [2024-12-20 21:37:49.522685 chopin] INFO: xbbs.worker: running command ['git', 'checkout', '--detach', '8fa7838c73bae47be5508548d5c98de605240b6b'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) HEAD is now at 8fa7838 uacpi: Bump to latest commit [2024-12-20 21:37:49.559560 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 [2024-12-20 21:37:53.455394 chopin] INFO: xbbs.worker: running command ['xbps-install', '-Uy', '-R', 'https://mirrors.managarm.org/currents/managarm_riscv/package_repo', '-r', '/var/lib/xbbs/tmp/worker/system-root', '-SM', '--', 'libtasn', 'libffi', 'linux-headers', 'mlibc-headers', 'libdrm-headers', 'frigg', 'mlibc'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}}) [*] Updating repository `https://mirrors.managarm.org/currents/managarm_riscv/package_repo/riscv64-repodata' ... riscv64-repodata: [14KB 28%] 163MB/s ETA: 00m00s riscv64-repodata: 14KB [avg rate: 577MB/s] 7 packages will be downloaded: 7 packages will be installed: libtasn-4.19.0_6 libffi-3.4.4_5 linux-headers-6.9.3_1 mlibc-headers-0.0pl4129_2 libdrm-headers-2.4.115_1 frigg-0.0pl348_7 mlibc-0.0pl4129_2 Size to download: 7399KB Size required on disk: 31MB Space available on disk: 691GB [*] Downloading packages libtasn-4.19.0_6.riscv64.xbps.sig2: [512B 100%] 41MB/s ETA: 00m00s libtasn-4.19.0_6.riscv64.xbps.sig2: 512B [avg rate: 41MB/s] libtasn-4.19.0_6.riscv64.xbps: [170KB 2%] 279MB/s ETA: 00m00s libtasn-4.19.0_6.riscv64.xbps: 170KB [avg rate: 12GB/s] libtasn-4.19.0_6: verifying RSA signature... libffi-3.4.4_5.riscv64.xbps.sig2: [512B 100%] 38MB/s ETA: 00m00s libffi-3.4.4_5.riscv64.xbps.sig2: 512B [avg rate: 38MB/s] libffi-3.4.4_5.riscv64.xbps: [38KB 10%] 230MB/s ETA: 00m00s libffi-3.4.4_5.riscv64.xbps: 38KB [avg rate: 2193MB/s] libffi-3.4.4_5: verifying RSA signature... linux-headers-6.9.3_1.riscv64.xbps.sig2: [512B 100%] 49MB/s ETA: 00m00s linux-headers-6.9.3_1.riscv64.xbps.sig2: 512B [avg rate: 49MB/s] linux-headers-6.9.3_1.riscv64.xbps: [2994KB 0%] 186MB/s ETA: 00m00s linux-headers-6.9.3_1.riscv64.xbps: 2994KB [avg rate: 136GB/s] linux-headers-6.9.3_1: verifying RSA signature... mlibc-headers-0.0pl4129_2.riscv64.xbps.sig2: [512B 100%] 31MB/s ETA: 00m00s mlibc-headers-0.0pl4129_2.riscv64.xbps.sig2: 512B [avg rate: 31MB/s] mlibc-headers-0.0pl4129_2.riscv64.xbps: [96KB 4%] 244MB/s ETA: 00m00s mlibc-headers-0.0pl4129_2.riscv64.xbps: 96KB [avg rate: 5846MB/s] mlibc-headers-0.0pl4129_2: verifying RSA signature... libdrm-headers-2.4.115_1.riscv64.xbps.sig2: [512B 100%] 38MB/s ETA: 00m00s libdrm-headers-2.4.115_1.riscv64.xbps.sig2: 512B [avg rate: 38MB/s] libdrm-headers-2.4.115_1.riscv64.xbps: [114KB 3%] 279MB/s ETA: 00m00s libdrm-headers-2.4.115_1.riscv64.xbps: 114KB [avg rate: 7960MB/s] libdrm-headers-2.4.115_1: verifying RSA signature... frigg-0.0pl348_7.riscv64.xbps.sig2: [512B 100%] 41MB/s ETA: 00m00s frigg-0.0pl348_7.riscv64.xbps.sig2: 512B [avg rate: 41MB/s] frigg-0.0pl348_7.riscv64.xbps: [42KB 9%] 244MB/s ETA: 00m00s frigg-0.0pl348_7.riscv64.xbps: 42KB [avg rate: 2535MB/s] frigg-0.0pl348_7: verifying RSA signature... mlibc-0.0pl4129_2.riscv64.xbps.sig2: [512B 100%] 44MB/s ETA: 00m00s mlibc-0.0pl4129_2.riscv64.xbps.sig2: 512B [avg rate: 44MB/s] mlibc-0.0pl4129_2.riscv64.xbps: [3943KB 0%] 230MB/s ETA: 00m00s mlibc-0.0pl4129_2.riscv64.xbps: 3943KB [avg rate: 221GB/s] mlibc-0.0pl4129_2: verifying RSA signature... [*] Collecting package files libtasn-4.19.0_6: collecting files... libffi-3.4.4_5: collecting files... linux-headers-6.9.3_1: collecting files... mlibc-headers-0.0pl4129_2: collecting files... libdrm-headers-2.4.115_1: collecting files... frigg-0.0pl348_7: collecting files... mlibc-0.0pl4129_2: collecting files... [*] Unpacking packages libtasn-4.19.0_6: unpacking ... libffi-3.4.4_5: unpacking ... linux-headers-6.9.3_1: unpacking ... mlibc-headers-0.0pl4129_2: unpacking ... libdrm-headers-2.4.115_1: unpacking ... frigg-0.0pl348_7: unpacking ... mlibc-0.0pl4129_2: unpacking ... 7 downloaded, 7 installed, 0 updated, 7 configured, 0 removed. [2024-12-20 21:37:54.134251 chopin] DEBUG: xbbs.worker: creating repository with existing packages... [2024-12-20 21:37:54.134614 chopin] DEBUG: xbbs.worker: ... found libdrm-headers-2.4.115_1.riscv64.xbps [2024-12-20 21:37:54.135016 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'libdrm-headers-2.4.115_1.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `libdrm-headers-2.4.115_1' (riscv64). index: 1 packages registered. [2024-12-20 21:37:54.149445 chopin] DEBUG: xbbs.worker: ... found libffi-3.4.4_5.riscv64.xbps [2024-12-20 21:37:54.150017 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'libffi-3.4.4_5.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `libffi-3.4.4_5' (riscv64). index: 2 packages registered. [2024-12-20 21:37:54.163761 chopin] DEBUG: xbbs.worker: ... found frigg-0.0pl348_7.riscv64.xbps [2024-12-20 21:37:54.164187 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'frigg-0.0pl348_7.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `frigg-0.0pl348_7' (riscv64). index: 3 packages registered. [2024-12-20 21:37:54.181777 chopin] DEBUG: xbbs.worker: ... found linux-headers-6.9.3_1.riscv64.xbps [2024-12-20 21:37:54.184928 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'linux-headers-6.9.3_1.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `linux-headers-6.9.3_1' (riscv64). index: 4 packages registered. [2024-12-20 21:37:54.201901 chopin] DEBUG: xbbs.worker: ... found mlibc-headers-0.0pl4129_2.riscv64.xbps [2024-12-20 21:37:54.202337 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-headers-0.0pl4129_2.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-headers-0.0pl4129_2' (riscv64). index: 5 packages registered. [2024-12-20 21:37:54.217127 chopin] DEBUG: xbbs.worker: ... found mlibc-0.0pl4129_2.riscv64.xbps [2024-12-20 21:37:54.221086 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-0.0pl4129_2.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-0.0pl4129_2' (riscv64). index: 6 packages registered. [2024-12-20 21:37:54.239159 chopin] DEBUG: xbbs.worker: ... found libtasn-4.19.0_6.riscv64.xbps [2024-12-20 21:37:54.239686 chopin] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'libtasn-4.19.0_6.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `libtasn-4.19.0_6' (riscv64). index: 7 packages registered. [2024-12-20 21:37:57.703363 chopin] INFO: xbbs.worker: running command ['xbstrap-pipeline', 'run-job', '--keep-going', '--progress-file', 'fd:17', 'package:p11-kit'] (params {'cwd': '/var/lib/xbbs/tmp/worker', 'pass_fds': (17,)}) xbstrap: Running the following plan: fetch p11-kit checkout p11-kit patch p11-kit regenerate p11-kit install frigg (inside sysroot.2s8g9m0t) install libdrm-headers (inside sysroot.2s8g9m0t) install linux-headers (inside sysroot.2s8g9m0t) install mlibc-headers (inside sysroot.2s8g9m0t) install mlibc (inside sysroot.2s8g9m0t) install libffi (inside sysroot.2s8g9m0t) install libtasn (inside sysroot.2s8g9m0t) configure p11-kit (inside sysroot.2s8g9m0t) build p11-kit (inside sysroot.2s8g9m0t) pack p11-kit xbstrap: fetch p11-kit [1/14] Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/p11-kit/.git/ From https://mirrors.managarm.org/mirror/git/p11-kit * [new tag] 0.25.0 -> 0.25.0 xbstrap: checkout p11-kit [2/14] [2024-12-20 21:37:58.319253 chopin] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 14, 'n_this': 1, 'status': 'success', 'subject': 'p11-kit'} HEAD is now at a8cce8b Release 0.25.0 xbstrap: patch p11-kit [3/14] [2024-12-20 21:37:58.361724 chopin] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 14, 'n_this': 2, 'status': 'success', 'subject': 'p11-kit'} Applying: Fill in the distribution specific anchor hook for Managarm Applying: Work around an issue with the build system Applying: Make Managarm use the GNU compatible strerror_r xbstrap: regenerate p11-kit [4/14] [2024-12-20 21:37:58.456872 chopin] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 14, 'n_this': 3, 'status': 'success', 'subject': 'p11-kit'} xbstrap: Running ['./autogen.sh'] (tools: ['host-pkg-config', 'host-autoconf-v2.69', 'host-libtool', 'host-automake-v1.15']) via cbuildrt PID init is 279322 (outside the namespace) + autoreconf --force --install --verbose autoreconf: Entering directory `.' autoreconf: running: autopoint --force autopoint: using AM_GNU_GETTEXT_REQUIRE_VERSION instead of AM_GNU_GETTEXT_VERSION Copying file ABOUT-NLS Copying file build/litter/config.rpath Copying file build/m4/gettext.m4 Copying file build/m4/host-cpu-c-abi.m4 Copying file build/m4/iconv.m4 Copying file build/m4/intlmacosx.m4 Copying file build/m4/lib-ld.m4 Copying file build/m4/lib-link.m4 Copying file build/m4/lib-prefix.m4 Copying file build/m4/nls.m4 Copying file build/m4/po.m4 Copying file build/m4/progtest.m4 Copying file po/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot Copying file po/en@boldquot.header Copying file po/en@quot.header Copying file po/insert-header.sin Copying file po/remove-potcdate.sin autoreconf: running: aclocal --force -I build/m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build/litter'. libtoolize: copying file 'build/litter/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build/m4'. libtoolize: copying file 'build/m4/libtool.m4' libtoolize: copying file 'build/m4/ltoptions.m4' libtoolize: copying file 'build/m4/ltsugar.m4' libtoolize: copying file 'build/m4/ltversion.m4' libtoolize: copying file 'build/m4/lt~obsolete.m4' autoreconf: running: /var/lib/managarm-buildenv/build/tools/host-autoconf-v2.69/bin/autoconf --force autoreconf: running: /var/lib/managarm-buildenv/build/tools/host-autoconf-v2.69/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:39: installing 'build/litter/compile' configure.ac:42: installing 'build/litter/config.guess' configure.ac:42: installing 'build/litter/config.sub' configure.ac:31: installing 'build/litter/install-sh' configure.ac:31: installing 'build/litter/missing' configure.ac:30: installing 'build/litter/tap-driver.sh' Makefile.am: installing 'build/litter/depcomp' parallel-tests: installing 'build/litter/test-driver' autoreconf: Leaving directory `.' + test xyes = x xbstrap: install frigg [5/14] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.2s8g9m0t', 'frigg'] [2024-12-20 21:38:05.489226 chopin] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 14, 'n_this': 4, 'status': 'success', 'subject': 'p11-kit'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.2s8g9m0t', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'frigg'] xbstrap: install libdrm-headers [6/14] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.2s8g9m0t', 'libdrm-headers'] [2024-12-20 21:38:05.500284 chopin] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 14, 'n_this': 5, 'status': 'success', 'subject': 'frigg'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.2s8g9m0t', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'libdrm-headers'] xbstrap: install linux-headers [7/14] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.2s8g9m0t', 'linux-headers'] [2024-12-20 21:38:05.507557 chopin] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 14, 'n_this': 6, 'status': 'success', 'subject': 'libdrm-headers'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.2s8g9m0t', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'linux-headers'] xbstrap: install mlibc-headers [8/14] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.2s8g9m0t', 'mlibc-headers'] xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.2s8g9m0t', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'mlibc-headers'] [2024-12-20 21:38:05.674151 chopin] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 14, 'n_this': 7, 'status': 'success', 'subject': 'linux-headers'} xbstrap: install mlibc [9/14] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.2s8g9m0t', 'mlibc'] xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.2s8g9m0t', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'mlibc'] [2024-12-20 21:38:05.702146 chopin] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 14, 'n_this': 8, 'status': 'success', 'subject': 'mlibc-headers'} xbstrap: install libffi [10/14] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.2s8g9m0t', 'libffi'] [2024-12-20 21:38:05.743921 chopin] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 14, 'n_this': 9, 'status': 'success', 'subject': 'mlibc'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.2s8g9m0t', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'libffi'] xbstrap: install libtasn [11/14] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.2s8g9m0t', 'libtasn'] [2024-12-20 21:38:05.749866 chopin] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 14, 'n_this': 10, 'status': 'success', 'subject': 'libffi'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.2s8g9m0t', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'libtasn'] xbstrap: configure p11-kit [12/14] [2024-12-20 21:38:05.756882 chopin] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 14, 'n_this': 11, 'status': 'success', 'subject': 'libtasn'} xbstrap: Running ['@THIS_SOURCE_DIR@/configure', '--host=@OPTION:arch-triple@', '--prefix=/usr', '--sysconfdir=/etc', '--with-trust-paths=/etc/pki/anchors', '--without-systemd', '--disable-doc-html', '--disable-nls'] (tools: ['system-gcc', 'cross-binutils']) via cbuildrt PID init is 280568 (outside the namespace) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for riscv64-managarm-strip... riscv64-managarm-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether build environment is sane... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for riscv64-managarm-gcc... riscv64-managarm-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether riscv64-managarm-gcc accepts -g... yes checking for riscv64-managarm-gcc option to accept ISO C89... none needed checking whether riscv64-managarm-gcc understands -c and -o together... yes checking dependency style of riscv64-managarm-gcc... gcc3 checking how to run the C preprocessor... riscv64-managarm-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking build system type... x86_64-pc-linux-gnu checking host system type... riscv64-unknown-managarm-mlibc checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by riscv64-managarm-gcc... /var/lib/managarm-buildenv/build/tools/system-gcc/riscv64-managarm/bin/ld checking if the linker (/var/lib/managarm-buildenv/build/tools/system-gcc/riscv64-managarm/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /var/lib/managarm-buildenv/build/tools/cross-binutils/bin/riscv64-managarm-nm -B checking the name lister (/var/lib/managarm-buildenv/build/tools/cross-binutils/bin/riscv64-managarm-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to riscv64-unknown-managarm-mlibc format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /var/lib/managarm-buildenv/build/tools/system-gcc/riscv64-managarm/bin/ld option to reload object files... -r checking for file... file checking for riscv64-managarm-objdump... riscv64-managarm-objdump checking how to recognize dependent libraries... pass_all checking for riscv64-managarm-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-managarm-ranlib... riscv64-managarm-ranlib checking for riscv64-managarm-ar... riscv64-managarm-ar checking for archiver @FILE support... @ checking for riscv64-managarm-strip... (cached) riscv64-managarm-strip checking command to parse /var/lib/managarm-buildenv/build/tools/cross-binutils/bin/riscv64-managarm-nm -B output from riscv64-managarm-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-managarm-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if riscv64-managarm-gcc supports -fno-rtti -fno-exceptions... no checking for riscv64-managarm-gcc option to produce PIC... -fPIC -DPIC checking if riscv64-managarm-gcc PIC flag -fPIC -DPIC works... yes checking if riscv64-managarm-gcc static flag -static works... no checking if riscv64-managarm-gcc supports -c -o file.o... yes checking if riscv64-managarm-gcc supports -c -o file.o... (cached) yes checking whether the riscv64-managarm-gcc linker (/var/lib/managarm-buildenv/build/tools/system-gcc/riscv64-managarm/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... mlibc ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... cross checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking if LD -Wl,--version-script works... yes checking whether linker understands -z nodelete... yes checking for riscv64-managarm-gcc... (cached) riscv64-managarm-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether riscv64-managarm-gcc accepts -g... (cached) yes checking for riscv64-managarm-gcc option to accept ISO C89... (cached) none needed checking whether riscv64-managarm-gcc understands -c and -o together... (cached) yes checking dependency style of riscv64-managarm-gcc... (cached) gcc3 checking how to run the C preprocessor... riscv64-managarm-gcc -E checking for riscv64-managarm-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether NLS is requested... no checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld... /var/lib/managarm-buildenv/build/tools/system-gcc/riscv64-managarm/bin/ld checking if the linker (/var/lib/managarm-buildenv/build/tools/system-gcc/riscv64-managarm/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... no checking for ELF binary format... yes checking for the common suffixes of directories in the library search path... lib,lib,lib64 checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking whether to use NLS... no checking for win32... no checking whether byte ordering is bigendian... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking size of unsigned long... 8 checking for pthread_create... yes checking for nanosleep... yes checking for library containing dlopen... none required checking for library containing gethostbyname... none required checking for library containing connect... none required checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for locale_t... yes checking for newlocale... yes checking for strerror_l... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking ucred.h usability... no checking ucred.h presence... no checking for ucred.h... no checking for struct dirent.d_type... yes checking for getprogname... no checking for getexecname... no checking for basename... yes checking for mkstemp... yes checking for mkdtemp... yes checking for getauxval... yes checking for getresuid... yes checking for secure_getenv... yes checking for strnstr... no checking for memdup... no checking for strndup... yes checking for reallocarray... yes checking whether reallocarray is declared... yes checking for fdwalk... no checking for setenv... yes checking for getpeereid... no checking for getpeerucred... no checking for issetugid... no checking for isatty... yes checking for strerror_r... (cached) no checking for thread-local storage class... __thread checking for gmtime_r... yes checking whether program_invocation_short_name is declared... yes checking whether program_invocation_short_name is available... yes checking whether __progname is declared... no checking for sighandler_t... yes checking for sig_t... no checking for __sighandler_t... no checking whether vsock support is available... yes checking for asprintf... yes checking for vasprintf... yes checking for vsnprintf... yes checking whether asprintf is declared... yes checking whether vasprintf is declared... yes checking for dgettext in -lintl... no checking for libtasn1 >= 2.3... yes checking for asn1Parser... no checking for libffi >= 3.0.0... yes checking if trust module is enabled... yes checking for trust module paths... /etc/pki/anchors checking for gtkdoc-check... no checking for gtkdoc-rebase... no checking for gtkdoc-mkpdf... no checking for gtkdoc-scan... no checking for xsltproc... /usr/bin/xsltproc checking whether to build documentation... no checking for debug mode... default (-g, debug output) checking for more warnings... checking whether gcc understands -Wmissing-include-dirs... yes checking whether gcc understands -Wundef... yes checking build strict... no checking whether to build with gcov testing... no checking that generated files are newer than configure... done checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/manual/Makefile config.status: creating po/Makefile.in config.status: creating p11-kit/p11-kit-1.pc config.status: creating p11-kit/pkcs11.conf.example config.status: creating trust/test-init.sh config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile configure: build options: Host: riscv64-unknown-managarm-mlibc Debug build: default (-g, debug output) Strict build: no Build documentation: no (no manual or reference) System global config: /etc/pkcs11/pkcs11.conf System module config directory: /etc/pkcs11/modules Package module config directory: ${pkgdatadir}/modules User global config: ~/.config/pkcs11/pkcs11.conf User module config directory: ~/.config/pkcs11/modules Load relative module paths from: ${exec_prefix}/lib/pkcs11 With libtasn1 dependency: yes With libffi: yes With hash implementation: internal With systemd: no Build trust module: yes Trust module paths: /etc/pki/anchors RPC protocol versions: 0 upto 1 xbstrap: build p11-kit [13/14] [2024-12-20 21:38:11.197540 chopin] DEBUG: xbbs.worker: got notify {'action': 'configure', 'artifact_files': [], 'n_all': 14, 'n_this': 12, 'status': 'success', 'subject': 'p11-kit'} xbstrap: Running ['make', '-j@PARALLELISM@'] (tools: ['system-gcc', 'cross-binutils']) via cbuildrt PID init is 283876 (outside the namespace) GEN p11-kit/virtual-fixed-generated.h GEN p11-kit/uri.gnu.c GEN p11-kit/iter.gnu.c GEN p11-kit/pin.gnu.c make all-recursive make[1]: Entering directory '/var/lib/managarm-buildenv/build/pkg-builds/p11-kit' Making all in . make[2]: Entering directory '/var/lib/managarm-buildenv/build/pkg-builds/p11-kit' CC p11-kit/libp11_kit_la-proxy.lo CC p11-kit/libp11_kit_la-proxy-init.lo CC p11-kit/libp11_kit_la-rpc-server.lo CC p11-kit/libp11_kit_internal_la-util.lo CC p11-kit/libp11_kit_internal_la-conf.lo CC p11-kit/libp11_kit_internal_la-iter.lo CC p11-kit/libp11_kit_internal_la-log.lo CC p11-kit/libp11_kit_internal_la-filter.lo CC p11-kit/libp11_kit_internal_la-modules.lo CC p11-kit/libp11_kit_internal_la-messages.lo CC p11-kit/libp11_kit_internal_la-pin.lo CC p11-kit/libp11_kit_internal_la-rpc-transport.lo CC p11-kit/libp11_kit_internal_la-rpc-message.lo CC p11-kit/libp11_kit_internal_la-rpc-client.lo CC p11-kit/libp11_kit_internal_la-uri.lo CC p11-kit/libp11_kit_internal_la-virtual.lo CC common/argv.lo CC common/attrs.lo CC common/array.lo CC common/buffer.lo CC common/compat.lo CC common/constants.lo CC common/debug.lo /var/lib/managarm-buildenv/src/ports/p11-kit/common/compat.c: In function 'p11_strerror_r': /var/lib/managarm-buildenv/src/ports/p11-kit/common/compat.c:1017:21: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1017 | char *str = strerror_r (errnum, buf, buflen); | ^~~~~~~~~~ CC common/dict.lo CC common/hash.lo CC common/lexer.lo CC common/message.lo CC common/path.lo CC common/runtime.lo CC common/url.lo CC common/vsock.lo CC common/library.lo CC p11-kit/p11_kit_client_la-client.lo CC p11-kit/p11_kit_client_la-client-init.lo CC trust/p11_kit_trust_la-builder.lo CC trust/p11_kit_trust_la-digest.lo CC trust/p11_kit_trust_la-index.lo CC trust/p11_kit_trust_la-parser.lo CC trust/p11_kit_trust_la-persist.lo CC trust/p11_kit_trust_la-module.lo CC trust/p11_kit_trust_la-save.lo CC trust/p11_kit_trust_la-session.lo CC trust/p11_kit_trust_la-token.lo CC trust/p11_kit_trust_la-module-init.lo CC trust/libtrust_data_la-asn1.lo CC trust/libtrust_data_la-base64.lo CC trust/libtrust_data_la-pem.lo CC trust/libtrust_data_la-oid.lo CC trust/libtrust_data_la-utf8.lo CC trust/libtrust_data_la-x509.lo CC common/print.lo CC common/tool.lo CC common/unix-peer.lo CC p11-kit/p11_kit_p11_kit-add-profile.o CC p11-kit/p11_kit_p11_kit-delete-profile.o CC p11-kit/p11_kit_p11_kit-list-profiles.o CC p11-kit/p11_kit_p11_kit-lists.o CC p11-kit/p11_kit_p11_kit-p11-kit.o CC p11-kit/p11_kit_p11_kit-print-config.o CC trust/trust_trust-anchor.o CC trust/trust_trust-parser.o CC trust/trust_trust-persist.o CC trust/trust_trust-digest.o CC trust/trust_trust-dump.o CC trust/trust_trust-enumerate.o CC trust/trust_trust-extract.o CC trust/trust_trust-extract-jks.o CC trust/trust_trust-extract-edk2.o CC trust/trust_trust-extract-openssl.o CC trust/trust_trust-extract-pem.o CC trust/trust_trust-extract-cer.o CC trust/trust_trust-list.o CC trust/trust_trust-save.o CC trust/trust_trust-check-format.o CC trust/trust_trust-trust.o CC p11-kit/remote.o CC p11-kit/p11_kit_p11_kit_server-server.o CCLD libp11-common.la CCLD libp11-library.la CCLD libtrust-data.la CCLD libp11-tool.la CCLD p11-kit-trust.la CCLD libp11-kit-internal.la CCLD libp11-kit.la CCLD p11-kit-client.la CCLD trust/trust CCLD p11-kit/p11-kit CCLD p11-kit/p11-kit-remote CCLD p11-kit/p11-kit-server /var/lib/managarm-buildenv/build/tools/system-gcc/lib/gcc/riscv64-managarm/13.2.0/../../../../riscv64-managarm/bin/ld: /var/lib/managarm-buildenv/build/system-root/usr/lib/libffi.so: undefined reference to `__riscv_flush_icache' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:3045: p11-kit/p11-kit-remote] Error 1 make[2]: *** Waiting for unfinished jobs.... /var/lib/managarm-buildenv/build/tools/system-gcc/lib/gcc/riscv64-managarm/13.2.0/../../../../riscv64-managarm/bin/ld: /var/lib/managarm-buildenv/build/system-root/usr/lib/libffi.so: undefined reference to `__riscv_flush_icache' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:3055: p11-kit/p11-kit-server] Error 1 /var/lib/managarm-buildenv/build/tools/system-gcc/lib/gcc/riscv64-managarm/13.2.0/../../../../riscv64-managarm/bin/ld: /var/lib/managarm-buildenv/build/system-root/usr/lib/libffi.so: undefined reference to `__riscv_flush_icache' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:3039: p11-kit/p11-kit] Error 1 /var/lib/managarm-buildenv/build/tools/system-gcc/lib/gcc/riscv64-managarm/13.2.0/../../../../riscv64-managarm/bin/ld: /var/lib/managarm-buildenv/build/system-root/usr/lib/libffi.so: undefined reference to `__riscv_flush_icache' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:3449: trust/trust] Error 1 make[2]: Leaving directory '/var/lib/managarm-buildenv/build/pkg-builds/p11-kit' make[1]: *** [Makefile:5142: all-recursive] Error 1 make[1]: Leaving directory '/var/lib/managarm-buildenv/build/pkg-builds/p11-kit' make: *** [Makefile:2376: 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 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 '['make', '-j12']' returned non-zero exit status 2. child returned non-zero exit code xbstrap: Skipping action pack of p11-kit due to failed prerequisites [14/14] xbstrap: The following steps failed: build p11-kit pack p11-kit (prerequisites failed) xbstrap: Plan failed [2024-12-20 21:38:37.866382 chopin] DEBUG: xbbs.worker: got notify {'action': 'build', 'artifact_files': [], 'n_all': 14, 'n_this': 13, 'status': 'failure', 'subject': 'p11-kit'} [2024-12-20 21:38:37.867157 chopin] DEBUG: xbbs.worker: got notify {'action': 'pack', 'architecture': 'riscv64', 'artifact_files': [], 'n_all': 14, 'n_this': 14, 'status': 'prereqs-failed', 'subject': 'p11-kit'} [2024-12-20 21:38:37.971017 chopin] INFO: xbbs.worker: job done. return code: 1