Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/libcacard.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-196220-60913/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/libcacard.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/libcacard-2.8.0-6.0.2.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/libcacard.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-196220-60913/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/libcacard.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MMxSzz + umask 022 + cd /builddir/build/BUILD + gpgv2 --quiet --keyring /builddir/build/SOURCES/gpgkey-E37A484F.gpg /builddir/build/SOURCES/libcacard-2.8.0.tar.xz.asc /builddir/build/SOURCES/libcacard-2.8.0.tar.xz gpgv: Signature made Tue Oct 6 04:44:12 2020 CST gpgv: using RSA key 206D3B352F566F3B0E6572E997D9123DE37A484F gpgv: Good signature from "Victor Toso de Carvalho " gpgv: aka "Victor Toso (toso) " gpgv: aka "Victor Toso de Carvalho " gpgv: aka "Victor Toso de Carvalho (toso) " gpgv: aka "Victor Toso " + cd /builddir/build/BUILD + rm -rf libcacard-2.8.0 + /usr/bin/xz -dc /builddir/build/SOURCES/libcacard-2.8.0.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libcacard-2.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #8 (0008-test-Add-32b-paths-for-softhsm.patch):' Patch #8 (0008-test-Add-32b-paths-for-softhsm.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/setup-softhsm2.sh Patch #12 (0012-Improve-non-deterministic-test-to-have-lower-chance-.patch): + echo 'Patch #12 (0012-Improve-non-deterministic-test-to-have-lower-chance-.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/gp.c patching file tests/common.c Patch #13 (0013-test-Run-hwtests-with-token-not-supporting-raw-RSA-s.patch): + echo 'Patch #13 (0013-test-Run-hwtests-with-token-not-supporting-raw-RSA-s.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/meson.build patching file tests/setup-softhsm2.sh Patch #16 (0016-vcard_emul_nss-Fix-RAW-deciphering-emulation-using-P.patch): + echo 'Patch #16 (0016-vcard_emul_nss-Fix-RAW-deciphering-emulation-using-P.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/vcard_emul_nss.c Patch #17 (0017-tests-Fix-ofset-calculation-while-reading-buffers.patch): + echo 'Patch #17 (0017-tests-Fix-ofset-calculation-while-reading-buffers.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/common.c + echo 'Patch #18 (0018-tests-Fix-comments.patch):' Patch #18 (0018-tests-Fix-comments.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/common.c patching file tests/hwtests.c Patch #19 (0019-tests-Temporarily-generate-only-one-key.patch): + echo 'Patch #19 (0019-tests-Temporarily-generate-only-one-key.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/setup-softhsm2.sh Patch #22 (0022-meson-avoid-unknown-variable-softhsm-warning-when-mi.patch): + echo 'Patch #22 (0022-meson-avoid-unknown-variable-softhsm-warning-when-mi.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/meson.build + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fW5llo + umask 022 + cd /builddir/build/BUILD + cd libcacard-2.8.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . aarch64-redhat-linux-gnu The Meson build system Version: 0.58.2 Source dir: /builddir/build/BUILD/libcacard-2.8.0 Build dir: /builddir/build/BUILD/libcacard-2.8.0/aarch64-redhat-linux-gnu Build type: native build Project name: libcacard Project version: 2.8.0 C compiler for the host machine: cc (gcc 8.5.0 "cc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3)") C linker for the host machine: cc ld.bfd 2.30-117 C++ compiler for the host machine: c++ (gcc 8.5.0 "c++ (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3)") C++ linker for the host machine: c++ ld.bfd 2.30-117 Host machine cpu family: aarch64 Host machine cpu: aarch64 Program build-aux/meson-dist found: YES (/builddir/build/BUILD/libcacard-2.8.0/build-aux/meson-dist) Found pkg-config: /usr/bin/pkg-config (1.4.2) Run-time dependency glib-2.0 found: YES 2.68.4 Run-time dependency nss found: YES 3.79.0 Run-time dependency libpcsclite found: YES 1.9.5 Compiler for C supports link arguments -Wl,--version-script,/builddir/build/BUILD/libcacard-2.8.0/src/libcacard.map: YES Configuring config.h using configuration Program pkcs11-tool found: YES (/usr/bin/pkcs11-tool) Program p11tool found: YES (/usr/bin/p11tool) Program modutil found: YES (/usr/bin/modutil) Program openssl found: YES (/usr/bin/openssl) Program softhsm2-util found: YES (/usr/bin/softhsm2-util) Program setup-softhsm2.sh found: YES (/builddir/build/BUILD/libcacard-2.8.0/tests/setup-softhsm2.sh) Library FuzzingEngine found: NO Build targets in project: 10 Found ninja-1.8.2 at /usr/bin/ninja + /usr/bin/meson compile -C aarch64-redhat-linux-gnu -j 8 --verbose ninja: Entering directory `aarch64-redhat-linux-gnu' [1/38] cc -Ilibcacard.so.0.0.0.p -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pthread '-DG_LOG_DOMAIN="libcacard"' -MD -MQ libcacard.so.0.0.0.p/src_common.c.o -MF libcacard.so.0.0.0.p/src_common.c.o.d -o libcacard.so.0.0.0.p/src_common.c.o -c ../src/common.c [2/38] cc -Ilibcacard.so.0.0.0.p -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pthread '-DG_LOG_DOMAIN="libcacard"' -MD -MQ libcacard.so.0.0.0.p/src_msft.c.o -MF libcacard.so.0.0.0.p/src_msft.c.o.d -o libcacard.so.0.0.0.p/src_msft.c.o -c ../src/msft.c [3/38] cc -Ilibcacard.so.0.0.0.p -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pthread '-DG_LOG_DOMAIN="libcacard"' -MD -MQ libcacard.so.0.0.0.p/src_gp.c.o -MF libcacard.so.0.0.0.p/src_gp.c.o.d -o libcacard.so.0.0.0.p/src_gp.c.o -c ../src/gp.c [4/38] cc -Ilibcacard.so.0.0.0.p -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pthread '-DG_LOG_DOMAIN="libcacard"' -MD -MQ libcacard.so.0.0.0.p/src_event.c.o -MF libcacard.so.0.0.0.p/src_event.c.o.d -o libcacard.so.0.0.0.p/src_event.c.o -c ../src/event.c [5/38] cc -Ilibcacard.so.0.0.0.p -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pthread '-DG_LOG_DOMAIN="libcacard"' -MD -MQ libcacard.so.0.0.0.p/src_simpletlv.c.o -MF libcacard.so.0.0.0.p/src_simpletlv.c.o.d -o libcacard.so.0.0.0.p/src_simpletlv.c.o -c ../src/simpletlv.c ../src/simpletlv.c: In function ‘simpletlv_clone’: ../src/simpletlv.c:295:13: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] new[i].value.value = g_memdup(tlv[i].value.value, tlv[i].length); ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../src/simpletlv.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here gpointer g_memdup (gconstpointer mem, ^~~~~~~~ ../src/simpletlv.c: In function ‘simpletlv_parse’: ../src/simpletlv.c:335:9: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] tlvp.value.value = g_memdup(p, vlen); ^~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../src/simpletlv.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here gpointer g_memdup (gconstpointer mem, ^~~~~~~~ [6/38] cc -Ilibcacard.so.0.0.0.p -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pthread '-DG_LOG_DOMAIN="libcacard"' -MD -MQ libcacard.so.0.0.0.p/src_vcard_emul_type.c.o -MF libcacard.so.0.0.0.p/src_vcard_emul_type.c.o.d -o libcacard.so.0.0.0.p/src_vcard_emul_type.c.o -c ../src/vcard_emul_type.c [7/38] cc -Ilibcacard.so.0.0.0.p -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pthread '-DG_LOG_DOMAIN="libcacard"' -MD -MQ libcacard.so.0.0.0.p/src_vcardt.c.o -MF libcacard.so.0.0.0.p/src_vcardt.c.o.d -o libcacard.so.0.0.0.p/src_vcardt.c.o -c ../src/vcardt.c [8/38] cc -Ilibcacard.so.0.0.0.p -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pthread '-DG_LOG_DOMAIN="libcacard"' -MD -MQ libcacard.so.0.0.0.p/src_vcard.c.o -MF libcacard.so.0.0.0.p/src_vcard.c.o.d -o libcacard.so.0.0.0.p/src_vcard.c.o -c ../src/vcard.c ../src/vcard.c: In function ‘vcard_buffer_response_new’: ../src/vcard.c:46:5: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] new_buffer->buffer = (unsigned char *)g_memdup(buffer, size); ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../src/vcard.c:8: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here gpointer g_memdup (gconstpointer mem, ^~~~~~~~ ../src/vcard.c: In function ‘vcard_new_applet’: ../src/vcard.c:111:5: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] applet->aid = g_memdup(aid, aid_len); ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../src/vcard.c:8: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here gpointer g_memdup (gconstpointer mem, ^~~~~~~~ [9/38] cc -Ilibcacard.so.0.0.0.p -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pthread '-DG_LOG_DOMAIN="libcacard"' -MD -MQ libcacard.so.0.0.0.p/src_card_7816.c.o -MF libcacard.so.0.0.0.p/src_card_7816.c.o.d -o libcacard.so.0.0.0.p/src_card_7816.c.o -c ../src/card_7816.c ../src/card_7816.c: In function ‘vcard_apdu_new’: ../src/card_7816.c:355:5: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] new_apdu->a_data = g_memdup(raw_apdu, len); ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../src/card_7816.c:8: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here gpointer g_memdup (gconstpointer mem, ^~~~~~~~ [10/38] cc -Ilibcacard.so.0.0.0.p -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pthread '-DG_LOG_DOMAIN="libcacard"' -MD -MQ libcacard.so.0.0.0.p/src_cac-aca.c.o -MF libcacard.so.0.0.0.p/src_cac-aca.c.o.d -o libcacard.so.0.0.0.p/src_cac-aca.c.o -c ../src/cac-aca.c [11/38] cc -Ilibcacard.so.0.0.0.p -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pthread '-DG_LOG_DOMAIN="libcacard"' -MD -MQ libcacard.so.0.0.0.p/src_vreader.c.o -MF libcacard.so.0.0.0.p/src_vreader.c.o.d -o libcacard.so.0.0.0.p/src_vreader.c.o -c ../src/vreader.c [12/38] cc -Itests/hwtests.p -Itests -I../tests -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -MD -MQ tests/hwtests.p/hwtests.c.o -MF tests/hwtests.p/hwtests.c.o.d -o tests/hwtests.p/hwtests.c.o -c ../tests/hwtests.c [13/38] cc -Ilibcacard.so.0.0.0.p -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pthread '-DG_LOG_DOMAIN="libcacard"' -MD -MQ libcacard.so.0.0.0.p/src_cac.c.o -MF libcacard.so.0.0.0.p/src_cac.c.o.d -o libcacard.so.0.0.0.p/src_cac.c.o -c ../src/cac.c ../src/cac.c: In function ‘cac_new_empty_applet_private’: ../src/cac.c:1975:9: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] applet_private->coids = g_memdup(objects, sizeof(struct coid) * objects_len); ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../src/cac.c:20: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here gpointer g_memdup (gconstpointer mem, ^~~~~~~~ [14/38] cc -Ilibcacard.so.0.0.0.p -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pthread '-DG_LOG_DOMAIN="libcacard"' -MD -MQ libcacard.so.0.0.0.p/src_capcsc.c.o -MF libcacard.so.0.0.0.p/src_capcsc.c.o.d -o libcacard.so.0.0.0.p/src_capcsc.c.o -c ../src/capcsc.c [15/38] cc -Ifuzz/fuzz_xfer.p -Ifuzz -I../fuzz -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -MD -MQ fuzz/fuzz_xfer.p/fuzzer.c.o -MF fuzz/fuzz_xfer.p/fuzzer.c.o.d -o fuzz/fuzz_xfer.p/fuzzer.c.o -c ../fuzz/fuzzer.c [16/38] cc -Itests/initialize.p -Itests -I../tests -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -MD -MQ tests/initialize.p/initialize.c.o -MF tests/initialize.p/initialize.c.o.d -o tests/initialize.p/initialize.c.o -c ../tests/initialize.c [17/38] cc -Ilibcacard.so.0.0.0.p -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pthread '-DG_LOG_DOMAIN="libcacard"' -MD -MQ libcacard.so.0.0.0.p/src_vcard_emul_nss.c.o -MF libcacard.so.0.0.0.p/src_vcard_emul_nss.c.o.d -o libcacard.so.0.0.0.p/src_vcard_emul_nss.c.o -c ../src/vcard_emul_nss.c ../src/vcard_emul_nss.c: In function ‘vcard_emul_read_object’: ../src/vcard_emul_nss.c:1473:5: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] ret = g_memdup(result.data, result.len); ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../src/vcard_emul_nss.c:14: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here gpointer g_memdup (gconstpointer mem, ^~~~~~~~ [18/38] cc -Ifuzz/fuzz_xfer.p -Ifuzz -I../fuzz -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -MD -MQ fuzz/fuzz_xfer.p/fuzz_xfer.c.o -MF fuzz/fuzz_xfer.p/fuzz_xfer.c.o.d -o fuzz/fuzz_xfer.p/fuzz_xfer.c.o -c ../fuzz/fuzz_xfer.c [19/38] cc -Ivscclient.p -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -MD -MQ vscclient.p/src_vscclient.c.o -MF vscclient.p/src_vscclient.c.o.d -o vscclient.p/src_vscclient.c.o -c ../src/vscclient.c [20/38] cc -o libcacard.so.0.0.0 libcacard.so.0.0.0.p/src_cac-aca.c.o libcacard.so.0.0.0.p/src_cac.c.o libcacard.so.0.0.0.p/src_card_7816.c.o libcacard.so.0.0.0.p/src_common.c.o libcacard.so.0.0.0.p/src_event.c.o libcacard.so.0.0.0.p/src_gp.c.o libcacard.so.0.0.0.p/src_msft.c.o libcacard.so.0.0.0.p/src_simpletlv.c.o libcacard.so.0.0.0.p/src_vcard.c.o libcacard.so.0.0.0.p/src_vcard_emul_nss.c.o libcacard.so.0.0.0.p/src_vcard_emul_type.c.o libcacard.so.0.0.0.p/src_vcardt.c.o libcacard.so.0.0.0.p/src_vreader.c.o libcacard.so.0.0.0.p/src_capcsc.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libcacard.so.0 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--version-script,/builddir/build/BUILD/libcacard-2.8.0/src/libcacard.map /usr/lib64/libglib-2.0.so /usr/lib64/libssl3.so /usr/lib64/libsmime3.so /usr/lib64/libnss3.so /usr/lib64/libnssutil3.so /usr/lib64/libplds4.so /usr/lib64/libplc4.so /usr/lib64/libnspr4.so -lpthread -ldl /usr/lib64/libpcsclite.so -Wl,--end-group [21/38] cc -Ifuzz/fuzz_simpletlv.p -Ifuzz -I../fuzz -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -MD -MQ fuzz/fuzz_simpletlv.p/fuzzer.c.o -MF fuzz/fuzz_simpletlv.p/fuzzer.c.o.d -o fuzz/fuzz_simpletlv.p/fuzzer.c.o -c ../fuzz/fuzzer.c [22/38] cc -Ifuzz/fuzz_simpletlv.p -Ifuzz -I../fuzz -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -MD -MQ fuzz/fuzz_simpletlv.p/fuzz_simpletlv.c.o -MF fuzz/fuzz_simpletlv.p/fuzz_simpletlv.c.o.d -o fuzz/fuzz_simpletlv.p/fuzz_simpletlv.c.o -c ../fuzz/fuzz_simpletlv.c [23/38] cc -Ifuzz/fuzz_options.p -Ifuzz -I../fuzz -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -MD -MQ fuzz/fuzz_options.p/fuzzer.c.o -MF fuzz/fuzz_options.p/fuzzer.c.o.d -o fuzz/fuzz_options.p/fuzzer.c.o -c ../fuzz/fuzzer.c [24/38] cc -Itests/simpletlv.p -Itests -I../tests -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -MD -MQ tests/simpletlv.p/simpletlv.c.o -MF tests/simpletlv.p/simpletlv.c.o.d -o tests/simpletlv.p/simpletlv.c.o -c ../tests/simpletlv.c [25/38] cc -Ifuzz/fuzz_options.p -Ifuzz -I../fuzz -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -MD -MQ fuzz/fuzz_options.p/fuzz_options.c.o -MF fuzz/fuzz_options.p/fuzz_options.c.o.d -o fuzz/fuzz_options.p/fuzz_options.c.o -c ../fuzz/fuzz_options.c [26/38] cc -Itests/hwtests.p -Itests -I../tests -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -MD -MQ tests/hwtests.p/common.c.o -MF tests/hwtests.p/common.c.o.d -o tests/hwtests.p/common.c.o -c ../tests/common.c [27/38] cc -Itests/libcacard.p -Itests -I../tests -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -MD -MQ tests/libcacard.p/libcacard.c.o -MF tests/libcacard.p/libcacard.c.o.d -o tests/libcacard.p/libcacard.c.o -c ../tests/libcacard.c [28/38] cc -Itests/libcacard.p -Itests -I../tests -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -MD -MQ tests/libcacard.p/common.c.o -MF tests/libcacard.p/common.c.o.d -o tests/libcacard.p/common.c.o -c ../tests/common.c [29/38] /usr/bin/meson --internal symbolextractor /builddir/build/BUILD/libcacard-2.8.0/aarch64-redhat-linux-gnu libcacard.so.0.0.0 libcacard.so.0.0.0 libcacard.so.0.0.0.p/libcacard.so.0.0.0.symbols [30/38] cc -o vscclient vscclient.p/src_vscclient.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libcacard-2.8.0/aarch64-redhat-linux-gnu/ -Wl,--start-group libcacard.so.0.0.0 /usr/lib64/libglib-2.0.so /usr/lib64/libssl3.so /usr/lib64/libsmime3.so /usr/lib64/libnss3.so /usr/lib64/libnssutil3.so /usr/lib64/libplds4.so /usr/lib64/libplc4.so /usr/lib64/libnspr4.so -lpthread -ldl /usr/lib64/libpcsclite.so -Wl,--end-group [31/38] cc -o tests/initialize tests/initialize.p/initialize.c.o libcacard.so.0.0.0.p/src_cac-aca.c.o libcacard.so.0.0.0.p/src_cac.c.o libcacard.so.0.0.0.p/src_card_7816.c.o libcacard.so.0.0.0.p/src_common.c.o libcacard.so.0.0.0.p/src_event.c.o libcacard.so.0.0.0.p/src_gp.c.o libcacard.so.0.0.0.p/src_msft.c.o libcacard.so.0.0.0.p/src_simpletlv.c.o libcacard.so.0.0.0.p/src_vcard.c.o libcacard.so.0.0.0.p/src_vcard_emul_nss.c.o libcacard.so.0.0.0.p/src_vcard_emul_type.c.o libcacard.so.0.0.0.p/src_vcardt.c.o libcacard.so.0.0.0.p/src_vreader.c.o libcacard.so.0.0.0.p/src_capcsc.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/builddir/build/BUILD/libcacard-2.8.0/aarch64-redhat-linux-gnu/ -Wl,--start-group libcacard.so.0.0.0 /usr/lib64/libglib-2.0.so /usr/lib64/libssl3.so /usr/lib64/libsmime3.so /usr/lib64/libnss3.so /usr/lib64/libnssutil3.so /usr/lib64/libplds4.so /usr/lib64/libplc4.so /usr/lib64/libnspr4.so -lpthread -ldl /usr/lib64/libpcsclite.so -Wl,--end-group [32/38] cc -o fuzz/fuzz_simpletlv fuzz/fuzz_simpletlv.p/fuzzer.c.o fuzz/fuzz_simpletlv.p/fuzz_simpletlv.c.o libcacard.so.0.0.0.p/src_cac-aca.c.o libcacard.so.0.0.0.p/src_cac.c.o libcacard.so.0.0.0.p/src_card_7816.c.o libcacard.so.0.0.0.p/src_common.c.o libcacard.so.0.0.0.p/src_event.c.o libcacard.so.0.0.0.p/src_gp.c.o libcacard.so.0.0.0.p/src_msft.c.o libcacard.so.0.0.0.p/src_simpletlv.c.o libcacard.so.0.0.0.p/src_vcard.c.o libcacard.so.0.0.0.p/src_vcard_emul_nss.c.o libcacard.so.0.0.0.p/src_vcard_emul_type.c.o libcacard.so.0.0.0.p/src_vcardt.c.o libcacard.so.0.0.0.p/src_vreader.c.o libcacard.so.0.0.0.p/src_capcsc.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/builddir/build/BUILD/libcacard-2.8.0/aarch64-redhat-linux-gnu/ -Wl,--start-group libcacard.so.0.0.0 /usr/lib64/libglib-2.0.so /usr/lib64/libssl3.so /usr/lib64/libsmime3.so /usr/lib64/libnss3.so /usr/lib64/libnssutil3.so /usr/lib64/libplds4.so /usr/lib64/libplc4.so /usr/lib64/libnspr4.so -lpthread -ldl /usr/lib64/libpcsclite.so -Wl,--end-group [33/38] cc -o tests/simpletlv tests/simpletlv.p/simpletlv.c.o libcacard.so.0.0.0.p/src_cac-aca.c.o libcacard.so.0.0.0.p/src_cac.c.o libcacard.so.0.0.0.p/src_card_7816.c.o libcacard.so.0.0.0.p/src_common.c.o libcacard.so.0.0.0.p/src_event.c.o libcacard.so.0.0.0.p/src_gp.c.o libcacard.so.0.0.0.p/src_msft.c.o libcacard.so.0.0.0.p/src_simpletlv.c.o libcacard.so.0.0.0.p/src_vcard.c.o libcacard.so.0.0.0.p/src_vcard_emul_nss.c.o libcacard.so.0.0.0.p/src_vcard_emul_type.c.o libcacard.so.0.0.0.p/src_vcardt.c.o libcacard.so.0.0.0.p/src_vreader.c.o libcacard.so.0.0.0.p/src_capcsc.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/builddir/build/BUILD/libcacard-2.8.0/aarch64-redhat-linux-gnu/ -Wl,--start-group libcacard.so.0.0.0 /usr/lib64/libglib-2.0.so /usr/lib64/libssl3.so /usr/lib64/libsmime3.so /usr/lib64/libnss3.so /usr/lib64/libnssutil3.so /usr/lib64/libplds4.so /usr/lib64/libplc4.so /usr/lib64/libnspr4.so -lpthread -ldl /usr/lib64/libpcsclite.so -Wl,--end-group [34/38] cc -o tests/hwtests tests/hwtests.p/hwtests.c.o tests/hwtests.p/common.c.o libcacard.so.0.0.0.p/src_cac-aca.c.o libcacard.so.0.0.0.p/src_cac.c.o libcacard.so.0.0.0.p/src_card_7816.c.o libcacard.so.0.0.0.p/src_common.c.o libcacard.so.0.0.0.p/src_event.c.o libcacard.so.0.0.0.p/src_gp.c.o libcacard.so.0.0.0.p/src_msft.c.o libcacard.so.0.0.0.p/src_simpletlv.c.o libcacard.so.0.0.0.p/src_vcard.c.o libcacard.so.0.0.0.p/src_vcard_emul_nss.c.o libcacard.so.0.0.0.p/src_vcard_emul_type.c.o libcacard.so.0.0.0.p/src_vcardt.c.o libcacard.so.0.0.0.p/src_vreader.c.o libcacard.so.0.0.0.p/src_capcsc.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/builddir/build/BUILD/libcacard-2.8.0/aarch64-redhat-linux-gnu/ -Wl,--start-group libcacard.so.0.0.0 /usr/lib64/libglib-2.0.so /usr/lib64/libssl3.so /usr/lib64/libsmime3.so /usr/lib64/libnss3.so /usr/lib64/libnssutil3.so /usr/lib64/libplds4.so /usr/lib64/libplc4.so /usr/lib64/libnspr4.so -lpthread -ldl /usr/lib64/libpcsclite.so -Wl,--end-group [35/38] cc -o fuzz/fuzz_xfer fuzz/fuzz_xfer.p/fuzzer.c.o fuzz/fuzz_xfer.p/fuzz_xfer.c.o libcacard.so.0.0.0.p/src_cac-aca.c.o libcacard.so.0.0.0.p/src_cac.c.o libcacard.so.0.0.0.p/src_card_7816.c.o libcacard.so.0.0.0.p/src_common.c.o libcacard.so.0.0.0.p/src_event.c.o libcacard.so.0.0.0.p/src_gp.c.o libcacard.so.0.0.0.p/src_msft.c.o libcacard.so.0.0.0.p/src_simpletlv.c.o libcacard.so.0.0.0.p/src_vcard.c.o libcacard.so.0.0.0.p/src_vcard_emul_nss.c.o libcacard.so.0.0.0.p/src_vcard_emul_type.c.o libcacard.so.0.0.0.p/src_vcardt.c.o libcacard.so.0.0.0.p/src_vreader.c.o libcacard.so.0.0.0.p/src_capcsc.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/builddir/build/BUILD/libcacard-2.8.0/aarch64-redhat-linux-gnu/ -Wl,--start-group libcacard.so.0.0.0 /usr/lib64/libglib-2.0.so /usr/lib64/libssl3.so /usr/lib64/libsmime3.so /usr/lib64/libnss3.so /usr/lib64/libnssutil3.so /usr/lib64/libplds4.so /usr/lib64/libplc4.so /usr/lib64/libnspr4.so -lpthread -ldl /usr/lib64/libpcsclite.so -Wl,--end-group [36/38] cc -o tests/libcacard tests/libcacard.p/libcacard.c.o tests/libcacard.p/common.c.o libcacard.so.0.0.0.p/src_cac-aca.c.o libcacard.so.0.0.0.p/src_cac.c.o libcacard.so.0.0.0.p/src_card_7816.c.o libcacard.so.0.0.0.p/src_common.c.o libcacard.so.0.0.0.p/src_event.c.o libcacard.so.0.0.0.p/src_gp.c.o libcacard.so.0.0.0.p/src_msft.c.o libcacard.so.0.0.0.p/src_simpletlv.c.o libcacard.so.0.0.0.p/src_vcard.c.o libcacard.so.0.0.0.p/src_vcard_emul_nss.c.o libcacard.so.0.0.0.p/src_vcard_emul_type.c.o libcacard.so.0.0.0.p/src_vcardt.c.o libcacard.so.0.0.0.p/src_vreader.c.o libcacard.so.0.0.0.p/src_capcsc.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/builddir/build/BUILD/libcacard-2.8.0/aarch64-redhat-linux-gnu/ -Wl,--start-group libcacard.so.0.0.0 /usr/lib64/libglib-2.0.so /usr/lib64/libssl3.so /usr/lib64/libsmime3.so /usr/lib64/libnss3.so /usr/lib64/libnssutil3.so /usr/lib64/libplds4.so /usr/lib64/libplc4.so /usr/lib64/libnspr4.so -lpthread -ldl /usr/lib64/libpcsclite.so -Wl,--end-group [37/38] cc -o fuzz/fuzz_options fuzz/fuzz_options.p/fuzzer.c.o fuzz/fuzz_options.p/fuzz_options.c.o libcacard.so.0.0.0.p/src_cac-aca.c.o libcacard.so.0.0.0.p/src_cac.c.o libcacard.so.0.0.0.p/src_card_7816.c.o libcacard.so.0.0.0.p/src_common.c.o libcacard.so.0.0.0.p/src_event.c.o libcacard.so.0.0.0.p/src_gp.c.o libcacard.so.0.0.0.p/src_msft.c.o libcacard.so.0.0.0.p/src_simpletlv.c.o libcacard.so.0.0.0.p/src_vcard.c.o libcacard.so.0.0.0.p/src_vcard_emul_nss.c.o libcacard.so.0.0.0.p/src_vcard_emul_type.c.o libcacard.so.0.0.0.p/src_vcardt.c.o libcacard.so.0.0.0.p/src_vreader.c.o libcacard.so.0.0.0.p/src_capcsc.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/builddir/build/BUILD/libcacard-2.8.0/aarch64-redhat-linux-gnu/ -Wl,--start-group libcacard.so.0.0.0 /usr/lib64/libglib-2.0.so /usr/lib64/libssl3.so /usr/lib64/libsmime3.so /usr/lib64/libnss3.so /usr/lib64/libnssutil3.so /usr/lib64/libplds4.so /usr/lib64/libplc4.so /usr/lib64/libnspr4.so -lpthread -ldl /usr/lib64/libpcsclite.so -Wl,--end-group [38/38] /usr/bin/meson --internal exe --capture tests/setup-softhsm2.log -- /builddir/build/BUILD/libcacard-2.8.0/tests/setup-softhsm2.sh + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.heEO49 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64 ++ dirname /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64 + cd libcacard-2.8.0 + DESTDIR=/builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64 + /usr/bin/meson install -C aarch64-redhat-linux-gnu --no-rebuild Installing libcacard.so.0.0.0 to /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64/usr/lib64 Installing /builddir/build/BUILD/libcacard-2.8.0/src/cac.h to /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64/usr/include/cacard Installing /builddir/build/BUILD/libcacard-2.8.0/src/card_7816.h to /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64/usr/include/cacard Installing /builddir/build/BUILD/libcacard-2.8.0/src/card_7816t.h to /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64/usr/include/cacard Installing /builddir/build/BUILD/libcacard-2.8.0/src/eventt.h to /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64/usr/include/cacard Installing /builddir/build/BUILD/libcacard-2.8.0/src/libcacard.h to /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64/usr/include/cacard Installing /builddir/build/BUILD/libcacard-2.8.0/src/vcard.h to /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64/usr/include/cacard Installing /builddir/build/BUILD/libcacard-2.8.0/src/vcard_emul.h to /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64/usr/include/cacard Installing /builddir/build/BUILD/libcacard-2.8.0/src/vcard_emul_type.h to /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64/usr/include/cacard Installing /builddir/build/BUILD/libcacard-2.8.0/src/vcardt.h to /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64/usr/include/cacard Installing /builddir/build/BUILD/libcacard-2.8.0/src/vevent.h to /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64/usr/include/cacard Installing /builddir/build/BUILD/libcacard-2.8.0/src/vreader.h to /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64/usr/include/cacard Installing /builddir/build/BUILD/libcacard-2.8.0/src/vreadert.h to /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64/usr/include/cacard Installing /builddir/build/BUILD/libcacard-2.8.0/src/vscard_common.h to /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64/usr/include/cacard Installing /builddir/build/BUILD/libcacard-2.8.0/aarch64-redhat-linux-gnu/meson-private/libcacard.pc to /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64/usr/lib64/pkgconfig + rm -f '/builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64/usr/lib64/*.la' + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 2.8.0-6.0.2.an8 --unique-debug-suffix -2.8.0-6.0.2.an8.aarch64 --unique-debug-src-base libcacard-2.8.0-6.0.2.an8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libcacard-2.8.0 extracting debug info from /builddir/build/BUILDROOT/libcacard-2.8.0-6.0.2.an8.aarch64/usr/lib64/libcacard.so.0.0.0 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 578 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.5Gimwu + umask 022 + cd /builddir/build/BUILD + cd libcacard-2.8.0 + /usr/bin/meson test -C aarch64-redhat-linux-gnu --num-processes 8 --print-errorlogs ninja: Entering directory `/builddir/build/BUILD/libcacard-2.8.0/aarch64-redhat-linux-gnu' ninja: no work to do. 1/5 simpletlv OK 0.01s 2/5 libcacard OK 0.08s 3/5 hwtests_no_raw OK 0.08s 4/5 initialize OK 0.11s 5/5 hwtests FAIL 0.54s killed by signal 6 SIGABRT >>> G_TEST_BUILDDIR=/builddir/build/BUILD/libcacard-2.8.0/aarch64-redhat-linux-gnu G_TEST_SRCDIR=/builddir/build/BUILD/libcacard-2.8.0/tests SOFTHSM2_CONF=/builddir/build/BUILD/libcacard-2.8.0/aarch64-redhat-linux-gnu/softhsm2.conf MALLOC_PERTURB_=52 /builddir/build/BUILD/libcacard-2.8.0/aarch64-redhat-linux-gnu/tests/hwtests ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― Listing only the last 100 lines from a long log. # libcacard-DEBUG: vreader_xfr_bytes: status=36864 sw1=0x90 sw2=0x0 len=0 (total=2) # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x80,INS=0x52,P1=0x0,P2=0x0,Lc=2,Le=2 read buffer # libcacard-DEBUG: vcard_emul_read_object: Search for generic objects: got (nil) # libcacard-DEBUG: cac_common_process_apdu_read: Requested offset: 0 bytes # libcacard-DEBUG: cac_common_process_apdu_read: Requested: 2 bytes # libcacard-DEBUG: cac_common_process_apdu_read: Returning: 2 bytes (have 2) # libcacard-DEBUG: vcard_response_new_bytes: Sending response (len = 2, Le = 2) # libcacard-DEBUG: vreader_xfr_bytes: status=36864 sw1=0x90 sw2=0x0 len=2 (total=4) # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x80,INS=0x52,P1=0x0,P2=0x0,Lc=2,Le=2 read buffer # libcacard-DEBUG: cac_common_process_apdu_read: Requested offset: 0 bytes # libcacard-DEBUG: vcard_response_new_bytes: Sending response (len = 2, Le = 2) # libcacard-DEBUG: vreader_xfr_bytes: status=36864 sw1=0x90 sw2=0x0 len=2 (total=4) # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x0,INS=0xa4,P1=0x4,P2=0x0,Lc=7,Le=0 select file # libcacard-DEBUG: vcard7816_vm_process_apdu: Selecting file 0xA0 0x00 0x00 0x00 0x79 0x02 0x01 # libcacard-DEBUG: vcard_response_new: Sending response (len = 13, Le = 0) # libcacard-DEBUG: vreader_xfr_bytes: status=24845 sw1=0x61 sw2=0xd len=0 (total=2) # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x80,INS=0x56,P1=0x1,P2=0x0,Lc=0,Le=256 get properties # libcacard-DEBUG: vreader_xfr_bytes: status=27674 sw1=0x6c sw2=0x1a len=0 (total=2) # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x80,INS=0x56,P1=0x1,P2=0x0,Lc=0,Le=26 get properties # libcacard-DEBUG: vcard_response_new: Sending response (len = 26, Le = 26) # libcacard-DEBUG: vreader_xfr_bytes: status=36864 sw1=0x90 sw2=0x0 len=26 (total=28) # DEBUG: Tag: 0x01, Len: 5 # DEBUG: Tag: 0x40, Len: 1 # DEBUG: Tag: 0x50, Len: 14 # DEBUG: Tag: 0x41, Len: 2 # DEBUG: Tag: 0x42, Len: 5 # DEBUG: Tag: 0x26, Len: 1 # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x80,INS=0x56,P1=0x2,P2=0x0,Lc=2,Le=256 get properties # libcacard-DEBUG: vreader_xfr_bytes: status=27662 sw1=0x6c sw2=0xe len=0 (total=2) # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x80,INS=0x56,P1=0x2,P2=0x0,Lc=2,Le=14 get properties # libcacard-DEBUG: vcard_response_new: Sending response (len = 14, Le = 14) # libcacard-DEBUG: vreader_xfr_bytes: status=36864 sw1=0x90 sw2=0x0 len=14 (total=16) # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x80,INS=0x56,P1=0x40,P2=0x0,Lc=0,Le=256 get properties # libcacard-DEBUG: vreader_xfr_bytes: status=27674 sw1=0x6c sw2=0x1a len=0 (total=2) # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x80,INS=0x56,P1=0x40,P2=0x0,Lc=0,Le=26 get properties # libcacard-DEBUG: vcard_response_new: Sending response (len = 26, Le = 26) # libcacard-DEBUG: vreader_xfr_bytes: status=36864 sw1=0x90 sw2=0x0 len=26 (total=28) # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x80,INS=0x52,P1=0x0,P2=0x0,Lc=2,Le=2 read buffer # libcacard-DEBUG: vcard_emul_read_object: Search for generic objects: got (nil) # libcacard-DEBUG: cac_common_process_apdu_read: Requested offset: 0 bytes # libcacard-DEBUG: cac_common_process_apdu_read: Requested: 2 bytes # libcacard-DEBUG: cac_common_process_apdu_read: Returning: 2 bytes (have 2) # libcacard-DEBUG: vcard_response_new_bytes: Sending response (len = 2, Le = 2) # libcacard-DEBUG: vreader_xfr_bytes: status=36864 sw1=0x90 sw2=0x0 len=2 (total=4) # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x80,INS=0x52,P1=0x0,P2=0x0,Lc=2,Le=2 read buffer # libcacard-DEBUG: cac_common_process_apdu_read: Requested offset: 0 bytes # libcacard-DEBUG: vcard_response_new_bytes: Sending response (len = 2, Le = 2) # libcacard-DEBUG: vreader_xfr_bytes: status=36864 sw1=0x90 sw2=0x0 len=2 (total=4) ok 2 /hw-tests/passthrough-applet # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x0,INS=0x20,P1=0x0,P2=0x0,Lc=0,Le=256 verify # libcacard-DEBUG: vreader_xfr_bytes: status=27272 sw1=0x6a sw2=0x88 len=0 (total=2) # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x0,INS=0x20,P1=0x1,P2=0x0,Lc=0,Le=256 verify # libcacard-DEBUG: vreader_xfr_bytes: status=27136 sw1=0x6a sw2=0x0 len=0 (total=2) ok 3 /hw-tests/check-login-count # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x0,INS=0x20,P1=0x0,P2=0x0,Lc=0,Le=256 verify # libcacard-DEBUG: vreader_xfr_bytes: status=27272 sw1=0x6a sw2=0x88 len=0 (total=2) # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x0,INS=0x20,P1=0x1,P2=0x0,Lc=0,Le=256 verify # libcacard-DEBUG: vreader_xfr_bytes: status=27136 sw1=0x6a sw2=0x0 len=0 (total=2) ok 4 /hw-tests/msft-applet # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x0,INS=0xa4,P1=0x4,P2=0x0,Lc=7,Le=0 select file # libcacard-DEBUG: vcard7816_vm_process_apdu: Selecting file 0xA0 0x00 0x00 0x00 0x03 0x00 0x00 # libcacard-DEBUG: vcard_response_new: Sending response (len = 27, Le = 0) # libcacard-DEBUG: vreader_xfr_bytes: status=24859 sw1=0x61 sw2=0x1b len=0 (total=2) # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x0,INS=0xc0,P1=0x0,P2=0x0,Lc=0,Le=256 get response # libcacard-DEBUG: vcard_response_new_bytes: Sending response (len = 27, Le = 256) # libcacard-DEBUG: vreader_xfr_bytes: status=36864 sw1=0x90 sw2=0x0 len=27 (total=29) # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x0,INS=0xca,P1=0x9f,P2=0x7f,Lc=0,Le=256 get data # libcacard-DEBUG: vcard_response_new: Sending response (len = 45, Le = 256) # libcacard-DEBUG: vreader_xfr_bytes: status=36864 sw1=0x90 sw2=0x0 len=45 (total=47) ok 5 /hw-tests/gp-applet # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x0,INS=0xa4,P1=0x4,P2=0x0,Lc=7,Le=0 select file # libcacard-DEBUG: vcard7816_vm_process_apdu: Selecting file 0xA0 0x00 0x00 0x00 0x79 0x03 0x00 # libcacard-DEBUG: vcard_response_new: Sending response (len = 13, Le = 0) # libcacard-DEBUG: vreader_xfr_bytes: status=24845 sw1=0x61 sw2=0xd len=0 (total=2) # libcacard-DEBUG: vreader_xfr_bytes: called # libcacard-DEBUG: vreader_xfr_bytes: CLS=0x0,INS=0x20,P1=0x0,P2=0x0,Lc=8,Le=0 verify # libcacard-DEBUG: vreader_xfr_bytes: status=27013 sw1=0x69 sw2=0x85 len=0 (total=2) Bail out! ERROR:../tests/hwtests.c:148:do_login: assertion failed (pbRecvBuffer[0] == VCARD7816_SW1_SUCCESS): (0x00000069 == 0x00000090) stderr: ** ERROR:../tests/hwtests.c:148:do_login: assertion failed (pbRecvBuffer[0] == VCARD7816_SW1_SUCCESS): (0x00000069 == 0x00000090) ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― Summary of Failures: 5/5 hwtests FAIL 0.54s killed by signal 6 SIGABRT Ok: 4 Expected Fail: 0 Fail: 1 Unexpected Pass: 0 Skipped: 0 Timeout: 0 Full log written to /builddir/build/BUILD/libcacard-2.8.0/aarch64-redhat-linux-gnu/meson-logs/testlog.txt error: Bad exit status from /var/tmp/rpm-tmp.5Gimwu (%check) Bad exit status from /var/tmp/rpm-tmp.5Gimwu (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/libcacard.spec