==> Synchronizing chroot copy [/data/alhp-workspace/chroot/root] -> [build_73808e31-cd5f-413a-9d8c-ca2481d99499]...done ==> Making package: yubikey-personalization 1.20.0-3.1 (Thu May 25 18:13:32 2023) ==> Retrieving sources... -> Downloading ykpers-1.20.0.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 510k 100 510k 0 0 8794k 0 --:--:-- --:--:-- --:--:-- 8808k -> Downloading ykpers-1.20.0.tar.gz.sig... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 310 100 310 0 0 8160 0 --:--:-- --:--:-- --:--:-- 8378 -> Found 0001-fix-boolean-value-with-json-c-0.14.patch ==> Validating source files with sha256sums... ykpers-1.20.0.tar.gz ... Passed ykpers-1.20.0.tar.gz.sig ... Skipped 0001-fix-boolean-value-with-json-c-0.14.patch ... Passed ==> Verifying source file signatures with gpg... ykpers-1.20.0.tar.gz ... Passed ==> Making package: yubikey-personalization 1.20.0-3.1 (Thu May 25 18:13:35 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Packages (3) yubico-c-1.13-6 libusb-1.0.26-2 yubico-c-client-2.15-5 Total Installed Size: 0.34 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing libusb... installing yubico-c... installing yubico-c-client... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Packages (16) argon2-20190702-5 cryptsetup-2.6.1-3 dbus-1.14.6-2 device-mapper-2.03.21-1 hwdata-0.370-1 iptables-1:1.8.9-1 kbd-2.5.1-2 kmod-30-3 libmnl-1.0.5-1 libnetfilter_conntrack-1.0.9-1 libnfnetlink-1.0.2-1 libnftnl-1.2.5-1 libnl-3.7.0-3 libpcap-1.10.4-1 popt-1.19-1 systemd-253.4-1 Total Installed Size: 50.64 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing device-mapper... installing popt... installing argon2... installing cryptsetup... installing dbus... installing libmnl... installing libnftnl... installing libnl... installing libpcap... installing libnfnetlink... installing libnetfilter_conntrack... installing iptables... installing kbd... installing kmod... installing hwdata... installing systemd... warning: directory permissions differ on /var/log/journal/ filesystem: 755 package: 2755 Creating group 'sys' with GID 3. Creating group 'mem' with GID 8. Creating group 'ftp' with GID 11. Creating group 'mail' with GID 12. Creating group 'log' with GID 19. Creating group 'smmsp' with GID 25. Creating group 'proc' with GID 26. Creating group 'games' with GID 50. Creating group 'lock' with GID 54. Creating group 'network' with GID 90. Creating group 'floppy' with GID 94. Creating group 'scanner' with GID 96. Creating group 'power' with GID 98. Creating group 'nobody' with GID 65534. Creating group 'adm' with GID 999. Creating group 'wheel' with GID 998. Creating group 'utmp' with GID 997. Creating group 'audio' with GID 996. Creating group 'disk' with GID 995. Creating group 'input' with GID 994. Creating group 'kmem' with GID 993. Creating group 'kvm' with GID 992. Creating group 'lp' with GID 991. Creating group 'optical' with GID 990. Creating group 'render' with GID 989. Creating group 'sgx' with GID 988. Creating group 'storage' with GID 987. Creating group 'tty' with GID 5. Creating group 'uucp' with GID 986. Creating group 'video' with GID 985. Creating group 'users' with GID 984. Creating group 'systemd-journal' with GID 983. Creating group 'rfkill' with GID 982. Creating group 'bin' with GID 1. Creating user 'bin' (n/a) with UID 1 and GID 1. Creating group 'daemon' with GID 2. Creating user 'daemon' (n/a) with UID 2 and GID 2. Creating user 'mail' (n/a) with UID 8 and GID 12. Creating user 'ftp' (n/a) with UID 14 and GID 11. Creating group 'http' with GID 33. Creating user 'http' (n/a) with UID 33 and GID 33. Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534. Creating group 'dbus' with GID 81. Creating user 'dbus' (System Message Bus) with UID 81 and GID 81. Creating group 'systemd-coredump' with GID 981. Creating user 'systemd-coredump' (systemd Core Dumper) with UID 981 and GID 981. Creating group 'systemd-network' with GID 980. Creating user 'systemd-network' (systemd Network Management) with UID 980 and GID 980. Creating group 'systemd-oom' with GID 979. Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 979 and GID 979. Creating group 'systemd-journal-remote' with GID 978. Creating user 'systemd-journal-remote' (systemd Journal Remote) with UID 978 and GID 978. Creating group 'systemd-resolve' with GID 977. Creating user 'systemd-resolve' (systemd Resolver) with UID 977 and GID 977. Creating group 'systemd-timesync' with GID 976. Creating user 'systemd-timesync' (systemd Time Synchronization) with UID 976 and GID 976. Creating group 'tss' with GID 975. Creating user 'tss' (tss user for tpm2) with UID 975 and GID 975. Creating group 'uuidd' with GID 68. Creating user 'uuidd' (n/a) with UID 68 and GID 68. Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /usr/lib/systemd/system/getty@.service. Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /usr/lib/systemd/system/remote-fs.target. Optional dependencies for systemd libmicrohttpd: systemd-journal-gatewayd and systemd-journal-remote quota-tools: kernel-level quota management systemd-sysvcompat: symlink package to provide sysvinit binaries systemd-ukify: combine kernel and initrd into a signed Unified Kernel Image polkit: allow administration as unprivileged user python: Unified Kernel Image with ukify curl: systemd-journal-upload, machinectl pull-tar and pull-raw [installed] gnutls: systemd-journal-gatewayd and systemd-journal-remote [installed] libbpf: support BPF programs libfido2: unlocking LUKS2 volumes with FIDO2 token libp11-kit: support PKCS#11 [installed] tpm2-tss: unlocking LUKS2 volumes with TPM2 [installed] :: Running post-transaction hooks... (1/9) Creating system user accounts... (2/9) Updating journal message catalog... (3/9) Reloading system manager configuration... Skipped: Current root is not booted. (4/9) Updating udev hardware database... (5/9) Applying kernel sysctl settings... Skipped: Current root is not booted. (6/9) Creating temporary files... (7/9) Reloading device manager configuration... Skipped: Device manager is not running. (8/9) Arming ConditionNeedsUpdate... (9/9) Reloading system bus configuration... Skipped: Current root is not booted. [?25h==> Retrieving sources... -> Found ykpers-1.20.0.tar.gz -> Found ykpers-1.20.0.tar.gz.sig -> Found 0001-fix-boolean-value-with-json-c-0.14.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting ykpers-1.20.0.tar.gz with bsdtar ==> Starting prepare()... patching file ykpers-json.c ==> Starting build()... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes 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 make supports nested variables... (cached) yes checking for gcc... 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... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for ar... ar checking the archiver (ar) interface... ar checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate 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... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ld used by GCC... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for libyubikey... yes checking how to link with libyubikey... /usr/lib/libyubikey.so checking for backend... libusb-1.0 checking for LIBUSB... yes checking for libjson... yes checking whether to use json library... yes checking for json_object_to_json_string_ext... yes checking for json_object_object_get_ex... yes checking for UDEV... yes checking for memset_s... no checking for explicit_bzero... yes checking for explicit_memset... no checking whether we can use inline asm code... yes no checking if LD -Wl,--version-script works... yes checking for valgrind... no checking whether self tests are run under valgrind... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating ykpers-1.pc config.status: creating ykpers-version.h config.status: creating ykcore/Makefile config.status: creating tests/Makefile config.status: executing depfiles commands config.status: executing libtool commands configure: summary of build options: version: 1.20.0 shared 21:0:20 major 1 minor 20 patch 0 number 0x011400 Host type: x86_64-unknown-linux-gnu Install prefix: /usr Compiler: gcc Library types: Shared=yes, Static=yes USB backend: libusb-1.0 JSON library: yes CFLAGS: -I/usr/include/json-c LIBS: -ljson-c pretty printing: yes udev rules dir: /usr/lib/udev/rules.d/ udev rules file: 69-yubikey.rules Making all in ykcore make[1]: Entering directory '/startdir/src/ykpers-1.20.0/ykcore' CC ykcore.lo CC ykstatus.lo CC ykcore_libusb-1.0.lo CCLD libykcore.la ar: `u' modifier ignored since `D' is the default (see `U') make[1]: Leaving directory '/startdir/src/ykpers-1.20.0/ykcore' Making all in . make[1]: Entering directory '/startdir/src/ykpers-1.20.0' CC ykpers.lo CC ykpers-version.lo CC ykpbkdf2.lo CC ykpers-json.lo CC ykpers_lcl.lo CC libhmac_la-hmac.lo CC libhmac_la-usha.lo CC libhmac_la-sha1.lo CC libhmac_la-sha224-256.lo CC libhmac_la-sha384-512.lo CC ykpers-args.lo CC ykpersonalize.o CC ykchalresp.o CC ykinfo.o CCLD libhmac.la ar: `u' modifier ignored since `D' is the default (see `U') CCLD libykpers-1.la ar: `u' modifier ignored since `D' is the default (see `U') CCLD ykchalresp CCLD ykinfo CCLD libykpers_args.la ar: `u' modifier ignored since `D' is the default (see `U') CCLD ykpersonalize /usr/bin/ld: ./.libs/libykpers_args.a(ykpers-args.o):/usr/src/debug/yubikey-personalization/ykpers-1.20.0/ykpers-args.h:37: multiple definition of `optstring'; ykpersonalize.o:/usr/src/debug/yubikey-personalization/ykpers-1.20.0/ykpers-args.h:37: first defined here /usr/bin/ld: ./.libs/libykpers_args.a(ykpers-args.o):/usr/src/debug/yubikey-personalization/ykpers-1.20.0/ykpers-args.h:36: multiple definition of `usage'; ykpersonalize.o:/usr/src/debug/yubikey-personalization/ykpers-1.20.0/ykpers-args.h:36: first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:731: ykpersonalize] Error 1 make[1]: Leaving directory '/startdir/src/ykpers-1.20.0' make: *** [Makefile:931: all-recursive] Error 1 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /data/alhp-workspace/chroot/build_73808e31-cd5f-413a-9d8c-ca2481d99499/build