==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_1a58dd24-da63-48fe-b02c-a3b3df47873b]...done ==> Making package: opensc 0.26.0-3.1 (Thu Nov 21 17:09:35 2024) ==> Retrieving sources... -> Cloning OpenSC git repo... Cloning into bare repository '/home/alhp/workspace/build/x86-64-v4/opensc-0.26.0-3/OpenSC'... ==> Validating source files with sha512sums... OpenSC ... Passed ==> Making package: opensc 0.26.0-3.1 (Thu Nov 21 17:09:41 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (3) New Version Net Change extra/duktape 2.7.0-7 0.78 MiB extra/polkit 125-1 1.88 MiB extra/pcsclite 2.3.0-1 0.31 MiB Total Installed Size: 2.97 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing duktape... installing polkit... installing pcsclite... Optional dependencies for pcsclite python: API call trace logging with the pcsc-spy ccid: USB Chip/Smart Card Interface Devices driver :: Running post-transaction hooks... (1/5) Creating system user accounts... Creating group 'polkitd' with GID 102. Creating user 'polkitd' (User for polkitd) with UID 102 and GID 102. (2/5) Reloading system manager configuration... Skipped: Current root is not booted. (3/5) Creating temporary files... (4/5) Arming ConditionNeedsUpdate... (5/5) Reloading system bus configuration... Skipped: Current root is not booted. ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (7) New Version Net Change extra/docbook-xml 4.5-10 1.96 MiB extra/libxslt 1.1.42-1 0.75 MiB extra/perl-error 0.17029-7 0.04 MiB extra/perl-mailtools 2.21-9 0.10 MiB extra/perl-timedate 2.33-7 0.08 MiB extra/docbook-xsl 1.79.2-9 26.32 MiB extra/git 2.47.0-1 28.29 MiB Total Installed Size: 57.55 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing docbook-xml... installing libxslt... Optional dependencies for libxslt python: Python bindings installing docbook-xsl... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] :: Running post-transaction hooks... (1/4) Creating system user accounts... Creating group 'git' with GID 972. Creating user 'git' (git daemon user) with UID 972 and GID 972. (2/4) Reloading system manager configuration... Skipped: Current root is not booted. (3/4) Arming ConditionNeedsUpdate... (4/4) Warn about old perl modules ==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of OpenSC git repo... Cloning into 'OpenSC'... done. Switched to a new branch 'makepkg' ==> Starting build()... autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Remember to add 'LT_INIT' to configure.ac. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:60: installing './compile' configure.ac:59: installing './config.guess' configure.ac:59: installing './config.sub' configure.ac:31: installing './install-sh' configure.ac:31: installing './missing' src/common/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' autoreconf: Leaving directory '.' checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking for g++... g++ checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... gcc3 checking for gcc... gcc checking whether the compiler supports GNU Objective C... no checking whether gcc accepts -g... no checking dependency style of gcc... gcc3 checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking whether to build with code coverage support... no checking whether C compiler accepts -Wunknown-warning-option... no checking whether C compiler accepts -Wshorten-64-to-32... no checking for valgrind... no checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking whether make sets $(MAKE)... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /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 the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu 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 /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ranlib... ranlib checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking command to parse /usr/bin/nm -B output from 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 mt... no checking if : is a manifest tool... no 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 how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for windres... no checking for xsltproc... xsltproc checking for git... git checking xsl-stylesheets... /usr/share/xml/docbook/xsl-stylesheets-1.79.2-nons checking git checkout... yes checking for inline... inline checking for sys/wait.h that is POSIX.1 compatible... yes checking whether to enable assertions... yes checking for errno.h... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for inttypes.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for sys/mman.h... yes checking for sys/endian.h... no checking for endian.h... yes checking for an ANSI C-conforming const... yes checking for uid_t... yes checking for gid_t... yes checking for size_t... yes checking for error_at_line... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for vprintf... yes checking for getpass... yes checking for gettimeofday... yes checking for getline... yes checking for memset... yes checking for mkdir... yes checking for strdup... yes checking for strerror... yes checking for memset_s... no checking for explicit_bzero... yes checking for strnlen... yes checking for sigaction... yes checking compiler support for __builtin_*_overflow()... yes checking size of void *... 8 checking for socket in -lsocket... no checking for dlopen in -ldl... yes checking for egrep -e... (cached) /usr/bin/grep -E checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for gio-2.0... yes checking for gio/gio.h... yes checking for g_application_send_notification... yes checking for cmocka >= 1.0.1... no checking for setjmp.h... yes checking for cmocka.h... no checking for inflate in -lz... yes checking for zlib.h... yes checking for readline in -lreadline... yes checking for readline/readline.h... yes checking for libcrypto >= 1.1.1... yes configure: WARNING: libeac not found by pkg-config checking for eac/eac.h... no configure: WARNING: OpenPACE headers not found checking for EAC_CTX_init_pace... configure: WARNING: Cannot link against libeac checking for EAC_OBJ_nid2obj... no configure: WARNING: use --enable-cvcdir=DIR configure: WARNING: use --enable-x509dir=DIR checking for libpcsclite >= 1.8.22... yes checking for winscard.h... yes checking for pcsclite.h... yes checking XSLTPROC requirement... ok checking for gengetopt... not found checking for clang-tidy... not found checking for getopt.h... yes checking for getopt_long... yes 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/tools/Makefile config.status: creating doc/files/Makefile config.status: creating etc/Makefile config.status: creating tests/Makefile config.status: creating src/Makefile config.status: creating src/common/Makefile config.status: creating src/ui/Makefile config.status: creating src/libopensc/Makefile config.status: creating src/sm/Makefile config.status: creating src/pkcs11/Makefile config.status: creating src/pkcs11/versioninfo-pkcs11.rc config.status: creating src/pkcs11/versioninfo-pkcs11-spy.rc config.status: creating src/pkcs11/opensc-pkcs11.pc config.status: creating src/pkcs15init/Makefile config.status: creating src/scconf/Makefile config.status: creating src/tests/Makefile config.status: creating src/tests/regression/Makefile config.status: creating src/tests/p11test/Makefile config.status: creating src/tests/fuzzing/Makefile config.status: creating src/tests/unittests/Makefile config.status: creating src/tools/Makefile config.status: creating src/tools/versioninfo-tools.rc config.status: creating src/tools/versioninfo-opensc-notify.rc config.status: creating src/smm/Makefile config.status: creating src/minidriver/Makefile config.status: creating src/minidriver/versioninfo-minidriver.rc config.status: creating src/minidriver/opensc-minidriver.inf config.status: creating win32/Makefile config.status: creating win32/versioninfo.rc config.status: creating win32/versioninfo-customactions.rc config.status: creating win32/winconfig.h config.status: creating win32/OpenSC.iss config.status: creating win32/OpenSC.wxs config.status: creating MacOSX/Makefile config.status: creating MacOSX/build-package config.status: creating MacOSX/Distribution.xml config.status: creating MacOSX/Distribution_universal.xml config.status: creating MacOSX/resources/Welcome.html config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands OpenSC has been configured with the following options: Version: 0.26.0 Version fix: 0 Version revision: 0 Git revision: OpenSC-0.26.0, rev: fe857cc4c, commit-time: 2024-11-13 09:56:41 +0100 Copyright: OpenSC Project Company: OpenSC Project Company URL: https://github.com/OpenSC Comments: Provided under the terms of the GNU Lesser General Public License (LGPLv2.1+). Product name: OpenSC smartcard framework Product updates: https://github.com/OpenSC/OpenSC/releases Product URL: https://github.com/OpenSC/OpenSC User binaries: /usr/bin Configuration files: /etc Bash completion: /usr/share/bash-completion/completions XSL stylesheets: /usr/share/xml/docbook/xsl-stylesheets-1.79.2-nons man support: yes doc support: yes tests: yes thread locking support: yes zlib support: yes readline support: yes OpenSSL support: yes OpenSSL secure memory: no PC/SC support: yes CryptoTokenKit support: no OpenCT support: no CT-API support: no minidriver support: no SM support: yes SM default module: libsmm-local.so SM default path: /usr/lib PIV SM support: no DNIe UI support: no Notification support: yes Code coverage: no PC/SC default provider: libpcsclite.so.1 PKCS11 default provider: /usr/lib/opensc-pkcs11.so PKCS11 onepin provider: /usr/lib/onepin-opensc-pkcs11.so Host: x86_64-pc-linux-gnu Compiler: gcc Preprocessor flags: Compiler flags: -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/opensc Linker flags: -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs Libraries: LDL_LIBS: -ldl READLINE_CFLAGS: READLINE_LIBS: -lreadline ZLIB_CFLAGS: ZLIB_LIBS: -lz OPENSSL_CFLAGS: OPENSSL_LIBS: -lcrypto OPENPACE_CFLAGS: OPENPACE_LIBS: OPENCT_CFLAGS: OPENCT_LIBS: PCSC_CFLAGS: -I/usr/include/PCSC CRYPTOTOKENKIT_CFLAGS: GIO2_CFLAGS: -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread GIO2_LIBS: -lgio-2.0 -lgobject-2.0 FUZZING_LIBS: make all-recursive make[1]: Entering directory '/startdir/src/OpenSC' Making all in etc make[2]: Entering directory '/startdir/src/OpenSC/etc' GEN opensc.conf.example make[2]: Leaving directory '/startdir/src/OpenSC/etc' Making all in src make[2]: Entering directory '/startdir/src/OpenSC/src' Making all in common make[3]: Entering directory '/startdir/src/OpenSC/src/common' CC compat_getopt_main.o CC compat_dummy.lo CC compat_strlcat.lo CC compat_strlcpy.lo CC compat_strnlen.lo CC compat_getpass.lo CC compat_getopt.lo CC compat_report_rangecheckfailure.lo CC compat___iob_func.lo CC compat_overflow.lo CC simclist.lo CC libpkcs11.lo CC libscdl.lo CCLD libpkcs11.la CCLD libscdl.la CCLD libcompat.la CCLD compat_getopt_main make[3]: Leaving directory '/startdir/src/OpenSC/src/common' Making all in scconf make[3]: Entering directory '/startdir/src/OpenSC/src/scconf' CC scconf.lo CC parse.lo CC write.lo CC sclex.lo CCLD libscconf.la make[3]: Leaving directory '/startdir/src/OpenSC/src/scconf' Making all in ui make[3]: Entering directory '/startdir/src/OpenSC/src/ui' CC strings.lo CC notify.lo CCLD libstrings.la CCLD libnotify.la make[3]: Leaving directory '/startdir/src/OpenSC/src/ui' Making all in pkcs15init make[3]: Entering directory '/startdir/src/OpenSC/src/pkcs15init' CC pkcs15-lib.lo CC profile.lo CC pkcs15-cflex.lo CC pkcs15-cardos.lo CC pkcs15-starcos.lo CC pkcs15-setcos.lo CC pkcs15-muscle.lo CC pkcs15-asepcos.lo CC pkcs15-rutoken.lo CC pkcs15-entersafe.lo CC pkcs15-epass2003.lo CC pkcs15-rtecp.lo CC pkcs15-myeid.lo CC pkcs15-oberthur.lo CC pkcs15-oberthur-awp.lo CC pkcs15-authentic.lo CC pkcs15-iasecc.lo CC pkcs15-openpgp.lo CC pkcs15-sc-hsm.lo CC pkcs15-isoApplet.lo CC pkcs15-gids.lo CCLD libpkcs15init.la make[3]: Leaving directory '/startdir/src/OpenSC/src/pkcs15init' Making all in sm make[3]: Entering directory '/startdir/src/OpenSC/src/sm' CC libsmeac_la-sm-eac.lo CC sm-iso.lo CC libsm_la-sm-common.lo CCLD libsm.la CCLD libsmiso.la CCLD libsmeac.la make[3]: Leaving directory '/startdir/src/OpenSC/src/sm' Making all in libopensc make[3]: Entering directory '/startdir/src/OpenSC/src/libopensc' CC libopensc_la-ctx.lo CC libopensc_la-sc.lo CC libopensc_la-log.lo CC libopensc_la-errors.lo CC libopensc_la-asn1.lo CC libopensc_la-card.lo CC libopensc_la-base64.lo CC libopensc_la-sec.lo CC libopensc_la-dir.lo CC libopensc_la-iso7816.lo CC libopensc_la-ef-atr.lo CC libopensc_la-ef-gdo.lo CC libopensc_la-padding.lo CC libopensc_la-apdu.lo CC libopensc_la-simpletlv.lo CC libopensc_la-gp.lo CC libopensc_la-pkcs15.lo CC libopensc_la-pkcs15-cert.lo CC libopensc_la-pkcs15-data.lo CC libopensc_la-pkcs15-pin.lo CC libopensc_la-pkcs15-prkey.lo CC libopensc_la-pkcs15-pubkey.lo CC libopensc_la-pkcs15-skey.lo CC libopensc_la-pkcs15-sec.lo CC libopensc_la-pkcs15-algo.lo CC libopensc_la-pkcs15-cache.lo CC libopensc_la-pkcs15-syn.lo CC libopensc_la-pkcs15-emulator-filter.lo CC libopensc_la-muscle.lo CC libopensc_la-muscle-filesystem.lo CC libopensc_la-ctbcs.lo CC libopensc_la-reader-ctapi.lo CC libopensc_la-reader-pcsc.lo CC libopensc_la-reader-openct.lo CC libopensc_la-reader-tr03119.lo CC libopensc_la-card-setcos.lo CC libopensc_la-card-flex.lo CC libopensc_la-card-cardos.lo CC libopensc_la-card-cardos-common.lo CC libopensc_la-card-tcos.lo CC libopensc_la-card-default.lo CC libopensc_la-card-mcrd.lo CC libopensc_la-card-starcos.lo CC libopensc_la-card-openpgp.lo CC libopensc_la-card-oberthur.lo CC libopensc_la-card-belpic.lo CC libopensc_la-card-atrust-acos.lo CC libopensc_la-card-entersafe.lo CC libopensc_la-card-epass2003.lo CC libopensc_la-card-coolkey.lo CC libopensc_la-card-piv.lo CC libopensc_la-card-cac-common.lo CC libopensc_la-card-cac.lo CC libopensc_la-card-cac1.lo CC libopensc_la-card-muscle.lo CC libopensc_la-card-asepcos.lo card-entersafe.c: In function 'entersafe_select_file': card-entersafe.c:635:25: error: '__builtin___memcpy_chk' writing between 18446744073709551608 and 18446744073709551613 bytes into a region of size 64 [-Werror=stringop-overflow=] 635 | memcpy(new_path.value, &(path[bMatch + 2]), new_path.len); | ^ card-entersafe.c:625:35: note: destination object 'new_path' of size 64 625 | sc_path_t new_path; | ^~~~~~~~ CC libopensc_la-card-gemsafeV1.lo cc1: all warnings being treated as errors make[3]: *** [Makefile:1769: libopensc_la-card-entersafe.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /usr/include/string.h:548, from card-epass2003.c:30: In function 'memcpy', inlined from 'epass2003_select_path' at card-epass2003.c:2058:4, inlined from 'epass2003_select_file' at card-epass2003.c:2123:10: /usr/include/bits/string_fortified.h:29:10: error: '__builtin___memcpy_chk' specified bound between 18446744073709551608 and 18446744073709551613 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [Makefile:1776: libopensc_la-card-epass2003.lo] Error 1 make[3]: Leaving directory '/startdir/src/OpenSC/src/libopensc' make[2]: *** [Makefile:487: all-recursive] Error 1 make[2]: Leaving directory '/startdir/src/OpenSC/src' make[1]: *** [Makefile:631: all-recursive] Error 1 make[1]: Leaving directory '/startdir/src/OpenSC' make: *** [Makefile:539: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_1a58dd24-da63-48fe-b02c-a3b3df47873b/build