[pkg-opensc-maint] Bug#1075343: opensc: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:38:52 BST 2024
Package: src:opensc
Version: 0.25.0~rc1-1
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/opensc_0.25.0~rc1-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html
[...]
Making all in tests
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/tests'
Making all in regression
make[5]: Entering directory '/<<PKGBUILDDIR>>/src/tests/regression'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/tests/regression'
Making all in p11test
make[5]: Entering directory '/<<PKGBUILDDIR>>/src/tests/p11test'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/tests/p11test'
Making all in fuzzing
make[5]: Entering directory '/<<PKGBUILDDIR>>/src/tests/fuzzing'
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -D'DEFAULT_PKCS11_PROVIDER="/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -c -o fuzz_asn1_print.o fuzz_asn1_print.c
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -D'DEFAULT_PKCS11_PROVIDER="/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -c -o fuzzer.o fuzzer.c
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -D'DEFAULT_PKCS11_PROVIDER="/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -c -o fuzz_asn1_sig_value.o fuzz_asn1_sig_value.c
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -D'DEFAULT_PKCS11_PROVIDER="/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -c -o fuzz_pkcs15_decode.o fuzz_pkcs15_decode.c
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -D'DEFAULT_PKCS11_PROVIDER="/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -c -o fuzzer_reader.o fuzzer_reader.c
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -D'DEFAULT_PKCS11_PROVIDER="/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -c -o fuzz_pkcs15_reader.o fuzz_pkcs15_reader.c
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -D'DEFAULT_PKCS11_PROVIDER="/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -c -o fuzz_scconf_parse_string.o fuzz_scconf_parse_string.c
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -D'DEFAULT_PKCS11_PROVIDER="/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -c -o fuzz_pkcs15_encode.o fuzz_pkcs15_encode.c
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -D'DEFAULT_PKCS11_PROVIDER="/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -c -o fuzz_card.o fuzz_card.c
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -D'DEFAULT_PKCS11_PROVIDER="/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -c -o fuzz_pkcs15_tool.o fuzz_pkcs15_tool.c
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -D'DEFAULT_PKCS11_PROVIDER="/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -c -o fuzzer_tool.o fuzzer_tool.c
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -D'DEFAULT_PKCS11_PROVIDER="/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -c -o fuzz_pkcs15_crypt.o fuzz_pkcs15_crypt.c
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -D'DEFAULT_PKCS11_PROVIDER="/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -c -o fuzz_pkcs15init.o fuzz_pkcs15init.c
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -D'DEFAULT_PKCS11_PROVIDER="/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -c -o fuzz_piv_tool.o fuzz_piv_tool.c
/bin/bash ../../../libtool --tag=CC --mode=link gcc -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z,relro -o fuzz_asn1_print fuzz_asn1_print.o fuzzer.o ../../../src/libopensc/libopensc.la ../../../src/common/libscdl.la ../../../src/pkcs15init/libpkcs15init.la ../../../src/common/libcompat.la
/bin/bash ../../../libtool --tag=CC --mode=link gcc -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z,relro -o fuzz_asn1_sig_value fuzz_asn1_sig_value.o fuzzer.o ../../../src/libopensc/libopensc.la ../../../src/common/libscdl.la ../../../src/pkcs15init/libpkcs15init.la ../../../src/common/libcompat.la
/bin/bash ../../../libtool --tag=CC --mode=link gcc -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z,relro -o fuzz_pkcs15_decode fuzz_pkcs15_decode.o fuzzer_reader.o fuzzer.o ../../../src/libopensc/libopensc.la ../../../src/common/libscdl.la ../../../src/pkcs15init/libpkcs15init.la ../../../src/common/libcompat.la
/bin/bash ../../../libtool --tag=CC --mode=link gcc -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z,relro -o fuzz_pkcs15_reader fuzz_pkcs15_reader.o fuzzer_reader.o fuzzer.o ../../../src/libopensc/libopensc.la ../../../src/common/libscdl.la ../../../src/pkcs15init/libpkcs15init.la ../../../src/common/libcompat.la
libtool: link: gcc -g -O0 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z -Wl,relro -o .libs/fuzz_asn1_sig_value fuzz_asn1_sig_value.o fuzzer.o ../../../src/libopensc/.libs/libopensc.so ../../../src/common/.libs/libscdl.a -ldl ../../../src/pkcs15init/.libs/libpkcs15init.a ../../../src/common/.libs/libcompat.a -pthread
libtool: link: gcc -g -O0 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z -Wl,relro -o .libs/fuzz_pkcs15_reader fuzz_pkcs15_reader.o fuzzer_reader.o fuzzer.o ../../../src/libopensc/.libs/libopensc.so ../../../src/common/.libs/libscdl.a -ldl ../../../src/pkcs15init/.libs/libpkcs15init.a ../../../src/common/.libs/libcompat.a -pthread
libtool: link: gcc -g -O0 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z -Wl,relro -o .libs/fuzz_asn1_print fuzz_asn1_print.o fuzzer.o ../../../src/libopensc/.libs/libopensc.so ../../../src/common/.libs/libscdl.a -ldl ../../../src/pkcs15init/.libs/libpkcs15init.a ../../../src/common/.libs/libcompat.a -pthread
/bin/bash ../../../libtool --tag=CC --mode=link gcc -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z,relro -o fuzz_scconf_parse_string fuzz_scconf_parse_string.o fuzzer.o ../../../src/libopensc/libopensc.la ../../../src/common/libscdl.la ../../../src/pkcs15init/libpkcs15init.la ../../../src/common/libcompat.la
/bin/bash ../../../libtool --tag=CC --mode=link gcc -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z,relro -o fuzz_pkcs15_encode fuzz_pkcs15_encode.o fuzzer_reader.o fuzzer.o ../../../src/libopensc/libopensc.la ../../../src/common/libscdl.la ../../../src/pkcs15init/libpkcs15init.la ../../../src/common/libcompat.la
libtool: link: gcc -g -O0 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z -Wl,relro -o .libs/fuzz_pkcs15_decode fuzz_pkcs15_decode.o fuzzer_reader.o fuzzer.o ../../../src/libopensc/.libs/libopensc.so ../../../src/common/.libs/libscdl.a -ldl ../../../src/pkcs15init/.libs/libpkcs15init.a ../../../src/common/.libs/libcompat.a -pthread
/bin/bash ../../../libtool --tag=CC --mode=link gcc -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z,relro -o fuzz_card fuzz_card.o fuzzer_reader.o fuzzer.o ../../../src/libopensc/libopensc.la ../../../src/common/libscdl.la ../../../src/pkcs15init/libpkcs15init.la ../../../src/common/libcompat.la
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -D'DEFAULT_PKCS11_PROVIDER="/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -c -o ../../tools/util.o ../../tools/util.c
libtool: link: gcc -g -O0 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z -Wl,relro -o .libs/fuzz_pkcs15_encode fuzz_pkcs15_encode.o fuzzer_reader.o fuzzer.o ../../../src/libopensc/.libs/libopensc.so ../../../src/common/.libs/libscdl.a -ldl ../../../src/pkcs15init/.libs/libpkcs15init.a ../../../src/common/.libs/libcompat.a -pthread
libtool: link: gcc -g -O0 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z -Wl,relro -o .libs/fuzz_scconf_parse_string fuzz_scconf_parse_string.o fuzzer.o ../../../src/libopensc/.libs/libopensc.so ../../../src/common/.libs/libscdl.a -ldl ../../../src/pkcs15init/.libs/libpkcs15init.a ../../../src/common/.libs/libcompat.a -pthread
libtool: link: gcc -g -O0 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z -Wl,relro -o .libs/fuzz_card fuzz_card.o fuzzer_reader.o fuzzer.o ../../../src/libopensc/.libs/libopensc.so ../../../src/common/.libs/libscdl.a -ldl ../../../src/pkcs15init/.libs/libpkcs15init.a ../../../src/common/.libs/libcompat.a -pthread
/bin/bash ../../../libtool --tag=CC --mode=link gcc -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z,relro -o fuzz_piv_tool fuzz_piv_tool.o fuzzer_reader.o fuzzer_tool.o fuzzer.o ../../tools/util.o -lcrypto ../../../src/libopensc/libopensc.la ../../../src/common/libscdl.la ../../../src/pkcs15init/libpkcs15init.la ../../../src/common/libcompat.la
/bin/bash ../../../libtool --tag=CC --mode=link gcc -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z,relro -o fuzz_pkcs15_crypt fuzz_pkcs15_crypt.o fuzzer_reader.o fuzzer_tool.o fuzzer.o ../../tools/util.o -lcrypto ../../../src/libopensc/libopensc.la ../../../src/common/libscdl.la ../../../src/pkcs15init/libpkcs15init.la ../../../src/common/libcompat.la
libtool: link: gcc -g -O0 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z -Wl,relro -o .libs/fuzz_pkcs15_crypt fuzz_pkcs15_crypt.o fuzzer_reader.o fuzzer_tool.o fuzzer.o ../../tools/util.o -lcrypto ../../../src/libopensc/.libs/libopensc.so ../../../src/common/.libs/libscdl.a -ldl ../../../src/pkcs15init/.libs/libpkcs15init.a ../../../src/common/.libs/libcompat.a -pthread
libtool: link: gcc -g -O0 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z -Wl,relro -o .libs/fuzz_piv_tool fuzz_piv_tool.o fuzzer_reader.o fuzzer_tool.o fuzzer.o ../../tools/util.o -lcrypto ../../../src/libopensc/.libs/libopensc.so ../../../src/common/.libs/libscdl.a -ldl ../../../src/pkcs15init/.libs/libpkcs15init.a ../../../src/common/.libs/libcompat.a -pthread
/bin/bash ../../../libtool --tag=CC --mode=link gcc -g -O0 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z,relro -o fuzz_pkcs15_tool fuzz_pkcs15_tool.o fuzzer_reader.o fuzzer_tool.o fuzzer.o ../../tools/util.o ../../pkcs11/pkcs11-display.o -lcrypto ../../../src/libopensc/libopensc.la ../../../src/common/libscdl.la ../../../src/pkcs15init/libpkcs15init.la ../../../src/common/libcompat.la
libtool: link: gcc -g -O0 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wno-error=stringop-overflow -Wl,-z -Wl,relro -o .libs/fuzz_pkcs15_tool fuzz_pkcs15_tool.o fuzzer_reader.o fuzzer_tool.o fuzzer.o ../../tools/util.o ../../pkcs11/pkcs11-display.o -lcrypto ../../../src/libopensc/.libs/libopensc.so ../../../src/common/.libs/libscdl.a -ldl ../../../src/pkcs15init/.libs/libpkcs15init.a ../../../src/common/.libs/libcompat.a -pthread
fuzz_pkcs15init.c: In function ‘do_init_app’:
fuzz_pkcs15init.c:130:70: error: ‘((unsigned int*)&info.attrs.pin)[0]’ may be used uninitialized [-Werror=maybe-uninitialized]
130 | if ((info.attrs.pin.flags & SC_PKCS15_PIN_FLAG_UNBLOCK_DISABLED) &&
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
131 | (info.attrs.pin.flags & SC_PKCS15_PIN_FLAG_SO_PIN))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fuzz_pkcs15init.c:125:35: note: ‘((unsigned int*)&info.attrs.pin)[0]’ was declared here
125 | sc_pkcs15_auth_info_t info;
| ^~~~
cc1: all warnings being treated as errors
make[5]: *** [Makefile:742: fuzz_pkcs15init.o] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/tests/fuzzing'
make[4]: *** [Makefile:663: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/tests'
make[3]: *** [Makefile:483: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:626: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:534: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the pkg-opensc-maint
mailing list