Your message dated Fri, 05 Sep 2025 14:38:05 +0000
with message-id <[email protected]>
and subject line Bug#1097522: fixed in opensc 0.26.1-3
has caused the Debian Bug report #1097522,
regarding opensc: ftbfs with GCC-15
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1097522: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097522
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:opensc
Version: 0.26.0-1
Severity: important
Tags: sid forky
User: [email protected]
Usertags: ftbfs-gcc-15
[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.
The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/opensc_0.26.0-1_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.
To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html
[...]
card-piv.c:782:73: error: initializer-string for array of 'unsigned char' is
too long [-Werror=unterminated-string-initialization]
782 | "2.16.840.1.101.3.7.2.9999.107", 2, "\x88\x06",
"\x88\x06", PIV_OBJECT_TYPE_PUBKEY},
|
^~~~~~~~~~
card-piv.c:785:73: error: initializer-string for array of 'unsigned char' is
too long [-Werror=unterminated-string-initialization]
785 | "2.16.840.1.101.3.7.2.9999.108", 2, "\x89\x06",
"\x89\x06", PIV_OBJECT_TYPE_PUBKEY},
|
^~~~~~~~~~
card-piv.c:788:73: error: initializer-string for array of 'unsigned char' is
too long [-Werror=unterminated-string-initialization]
788 | "2.16.840.1.101.3.7.2.9999.109", 2, "\x8A\x06",
"\x8A\x06", PIV_OBJECT_TYPE_PUBKEY},
|
^~~~~~~~~~
card-piv.c:791:73: error: initializer-string for array of 'unsigned char' is
too long [-Werror=unterminated-string-initialization]
791 | "2.16.840.1.101.3.7.2.9999.110", 2, "\x8B\x06",
"\x8B\x06", PIV_OBJECT_TYPE_PUBKEY},
|
^~~~~~~~~~
card-piv.c:794:73: error: initializer-string for array of 'unsigned char' is
too long [-Werror=unterminated-string-initialization]
794 | "2.16.840.1.101.3.7.2.9999.111", 2, "\x8C\x06",
"\x8C\x06", PIV_OBJECT_TYPE_PUBKEY},
|
^~~~~~~~~~
card-piv.c:797:73: error: initializer-string for array of 'unsigned char' is
too long [-Werror=unterminated-string-initialization]
797 | "2.16.840.1.101.3.7.2.9999.112", 2, "\x8D\x06",
"\x8D\x06", PIV_OBJECT_TYPE_PUBKEY},
|
^~~~~~~~~~
card-piv.c:800:73: error: initializer-string for array of 'unsigned char' is
too long [-Werror=unterminated-string-initialization]
800 | "2.16.840.1.101.3.7.2.9999.113", 2, "\x8E\x06",
"\x8E\x06", PIV_OBJECT_TYPE_PUBKEY},
|
^~~~~~~~~~
card-piv.c:803:73: error: initializer-string for array of 'unsigned char' is
too long [-Werror=unterminated-string-initialization]
803 | "2.16.840.1.101.3.7.2.9999.114", 2, "\x8F\x06",
"\x8F\x06", PIV_OBJECT_TYPE_PUBKEY},
|
^~~~~~~~~~
card-piv.c:806:73: error: initializer-string for array of 'unsigned char' is
too long [-Werror=unterminated-string-initialization]
806 | "2.16.840.1.101.3.7.2.9999.115", 2, "\x90\x06",
"\x90\x06", PIV_OBJECT_TYPE_PUBKEY},
|
^~~~~~~~~~
card-piv.c:809:73: error: initializer-string for array of 'unsigned char' is
too long [-Werror=unterminated-string-initialization]
809 | "2.16.840.1.101.3.7.2.9999.116", 2, "\x91\x06",
"\x91\x06", PIV_OBJECT_TYPE_PUBKEY},
|
^~~~~~~~~~
card-piv.c:812:73: error: initializer-string for array of 'unsigned char' is
too long [-Werror=unterminated-string-initialization]
812 | "2.16.840.1.101.3.7.2.9999.117", 2, "\x92\x06",
"\x92\x06", PIV_OBJECT_TYPE_PUBKEY},
|
^~~~~~~~~~
card-piv.c:815:73: error: initializer-string for array of 'unsigned char' is
too long [-Werror=unterminated-string-initialization]
815 | "2.16.840.1.101.3.7.2.9999.118", 2, "\x93\x06",
"\x93\x06", PIV_OBJECT_TYPE_PUBKEY},
|
^~~~~~~~~~
card-piv.c:818:73: error: initializer-string for array of 'unsigned char' is
too long [-Werror=unterminated-string-initialization]
818 | "2.16.840.1.101.3.7.2.9999.119", 2, "\x94\x06",
"\x94\x06", PIV_OBJECT_TYPE_PUBKEY},
|
^~~~~~~~~~
card-piv.c:821:73: error: initializer-string for array of 'unsigned char' is
too long [-Werror=unterminated-string-initialization]
821 | "2.16.840.1.101.3.7.2.9999.120", 2, "\x95\x06",
"\x95\x06", PIV_OBJECT_TYPE_PUBKEY},
|
^~~~~~~~~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-DOPENSC_CONF_PATH=\"/etc/opensc/opensc.conf\"
-DDEFAULT_SM_MODULE_PATH=\"/usr/lib/x86_64-linux-gnu\"
-DDEFAULT_SM_MODULE=\"libsmm-local.so\" -I../../src -Wdate-time
-D_FORTIFY_SOURCE=2 -I/usr/include/PCSC -Wall -Wextra -Wno-unused-parameter
-Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/opensc-0.26.0=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wno-error=maybe-uninitialized -c
card-oberthur.c -o libopensc_la-card-oberthur.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-DOPENSC_CONF_PATH=\"/etc/opensc/opensc.conf\"
-DDEFAULT_SM_MODULE_PATH=\"/usr/lib/x86_64-linux-gnu\"
-DDEFAULT_SM_MODULE=\"libsmm-local.so\" -I../../src -Wdate-time
-D_FORTIFY_SOURCE=2 -I/usr/include/PCSC -Wall -Wextra -Wno-unused-parameter
-Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/opensc-0.26.0=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wno-error=maybe-uninitialized -c
card-entersafe.c -o libopensc_la-card-entersafe.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --tag CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../.. -D'OPENSC_CONF_PATH="/etc/opensc/opensc.conf"'
-D'DEFAULT_SM_MODULE_PATH="/usr/lib/x86_64-linux-gnu"'
-D'DEFAULT_SM_MODULE="libsmm-local.so"' -I../../src -Wdate-time
-D_FORTIFY_SOURCE=2 -I/usr/include/PCSC -Wall -Wextra
-Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/opensc-0.26.0=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wno-error=maybe-uninitialized -c -o
libopensc_la-card-cac-common.lo `test -f 'card-cac-common.c' || echo
'./'`card-cac-common.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-DOPENSC_CONF_PATH=\"/etc/opensc/opensc.conf\"
-DDEFAULT_SM_MODULE_PATH=\"/usr/lib/x86_64-linux-gnu\"
-DDEFAULT_SM_MODULE=\"libsmm-local.so\" -I../../src -Wdate-time
-D_FORTIFY_SOURCE=2 -I/usr/include/PCSC -Wall -Wextra -Wno-unused-parameter
-Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/opensc-0.26.0=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wno-error=maybe-uninitialized -c
card-cac-common.c -fPIC -DPIC -o .libs/libopensc_la-card-cac-common.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-DOPENSC_CONF_PATH=\"/etc/opensc/opensc.conf\"
-DDEFAULT_SM_MODULE_PATH=\"/usr/lib/x86_64-linux-gnu\"
-DDEFAULT_SM_MODULE=\"libsmm-local.so\" -I../../src -Wdate-time
-D_FORTIFY_SOURCE=2 -I/usr/include/PCSC -Wall -Wextra -Wno-unused-parameter
-Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/opensc-0.26.0=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wno-error=maybe-uninitialized -c
card-cac-common.c -o libopensc_la-card-cac-common.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --tag CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../.. -D'OPENSC_CONF_PATH="/etc/opensc/opensc.conf"'
-D'DEFAULT_SM_MODULE_PATH="/usr/lib/x86_64-linux-gnu"'
-D'DEFAULT_SM_MODULE="libsmm-local.so"' -I../../src -Wdate-time
-D_FORTIFY_SOURCE=2 -I/usr/include/PCSC -Wall -Wextra
-Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/opensc-0.26.0=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wno-error=maybe-uninitialized -c -o
libopensc_la-card-cac.lo `test -f 'card-cac.c' || echo './'`card-cac.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-DOPENSC_CONF_PATH=\"/etc/opensc/opensc.conf\"
-DDEFAULT_SM_MODULE_PATH=\"/usr/lib/x86_64-linux-gnu\"
-DDEFAULT_SM_MODULE=\"libsmm-local.so\" -I../../src -Wdate-time
-D_FORTIFY_SOURCE=2 -I/usr/include/PCSC -Wall -Wextra -Wno-unused-parameter
-Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/opensc-0.26.0=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wno-error=maybe-uninitialized -c
card-cac.c -fPIC -DPIC -o .libs/libopensc_la-card-cac.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-DOPENSC_CONF_PATH=\"/etc/opensc/opensc.conf\"
-DDEFAULT_SM_MODULE_PATH=\"/usr/lib/x86_64-linux-gnu\"
-DDEFAULT_SM_MODULE=\"libsmm-local.so\" -I../../src -Wdate-time
-D_FORTIFY_SOURCE=2 -I/usr/include/PCSC -Wall -Wextra -Wno-unused-parameter
-Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/opensc-0.26.0=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wno-error=maybe-uninitialized -c
card-openpgp.c -o libopensc_la-card-openpgp.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-DOPENSC_CONF_PATH=\"/etc/opensc/opensc.conf\"
-DDEFAULT_SM_MODULE_PATH=\"/usr/lib/x86_64-linux-gnu\"
-DDEFAULT_SM_MODULE=\"libsmm-local.so\" -I../../src -Wdate-time
-D_FORTIFY_SOURCE=2 -I/usr/include/PCSC -Wall -Wextra -Wno-unused-parameter
-Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/opensc-0.26.0=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wno-error=maybe-uninitialized -c
card-coolkey.c -o libopensc_la-card-coolkey.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --tag CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../.. -D'OPENSC_CONF_PATH="/etc/opensc/opensc.conf"'
-D'DEFAULT_SM_MODULE_PATH="/usr/lib/x86_64-linux-gnu"'
-D'DEFAULT_SM_MODULE="libsmm-local.so"' -I../../src -Wdate-time
-D_FORTIFY_SOURCE=2 -I/usr/include/PCSC -Wall -Wextra
-Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/opensc-0.26.0=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wno-error=maybe-uninitialized -c -o
libopensc_la-card-cac1.lo `test -f 'card-cac1.c' || echo './'`card-cac1.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-DOPENSC_CONF_PATH=\"/etc/opensc/opensc.conf\"
-DDEFAULT_SM_MODULE_PATH=\"/usr/lib/x86_64-linux-gnu\"
-DDEFAULT_SM_MODULE=\"libsmm-local.so\" -I../../src -Wdate-time
-D_FORTIFY_SOURCE=2 -I/usr/include/PCSC -Wall -Wextra -Wno-unused-parameter
-Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/opensc-0.26.0=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wno-error=maybe-uninitialized -c
card-cac1.c -fPIC -DPIC -o .libs/libopensc_la-card-cac1.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-DOPENSC_CONF_PATH=\"/etc/opensc/opensc.conf\"
-DDEFAULT_SM_MODULE_PATH=\"/usr/lib/x86_64-linux-gnu\"
-DDEFAULT_SM_MODULE=\"libsmm-local.so\" -I../../src -Wdate-time
-D_FORTIFY_SOURCE=2 -I/usr/include/PCSC -Wall -Wextra -Wno-unused-parameter
-Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/opensc-0.26.0=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wno-error=maybe-uninitialized -c
card-cac1.c -o libopensc_la-card-cac1.o >/dev/null 2>&1
cc1: all warnings being treated as errors
make[4]: *** [Makefile:1780: libopensc_la-card-epass2003.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-DOPENSC_CONF_PATH=\"/etc/opensc/opensc.conf\"
-DDEFAULT_SM_MODULE_PATH=\"/usr/lib/x86_64-linux-gnu\"
-DDEFAULT_SM_MODULE=\"libsmm-local.so\" -I../../src -Wdate-time
-D_FORTIFY_SOURCE=2 -I/usr/include/PCSC -Wall -Wextra -Wno-unused-parameter
-Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/opensc-0.26.0=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wno-error=maybe-uninitialized -c
card-cac.c -o libopensc_la-card-cac.o >/dev/null 2>&1
cc1: all warnings being treated as errors
make[4]: *** [Makefile:1794: libopensc_la-card-piv.lo] Error 1
make[4]: Leaving directory
'/build/reproducible-path/opensc-0.26.0/src/libopensc'
make[3]: *** [Makefile:487: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/opensc-0.26.0/src'
make[2]: *** [Makefile:631: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/opensc-0.26.0'
make[1]: *** [Makefile:539: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/opensc-0.26.0'
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
--- End Message ---
--- Begin Message ---
Source: opensc
Source-Version: 0.26.1-3
Done: Bastian Germann <[email protected]>
We believe that the bug you reported is fixed in the latest version of
opensc, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bastian Germann <[email protected]> (supplier of updated opensc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 05 Sep 2025 12:54:24 +0200
Source: opensc
Architecture: source
Version: 0.26.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenSC Maintainers <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 1097522
Changes:
opensc (0.26.1-3) unstable; urgency=medium
.
* Team upload
* Override -Werror (Closes: #1097522)
.
[ Eric Dorland ]
* Standards-Version to 4.7.0
* Switch to pkgconf
* Add lintian overrides for pkcs11 module
Checksums-Sha1:
a289f40e65a99e1572be381d154b5909e6e038ef 2007 opensc_0.26.1-3.dsc
28044122c4113c8d96a64ac77785403e65d9f5e5 18308 opensc_0.26.1-3.debian.tar.xz
b65dd82f5b08d926ac0397d99a7e36b154fdbbe6 7596 opensc_0.26.1-3_source.buildinfo
Checksums-Sha256:
f6b3e969aa39bfe1fcf61205caca5b673ffdefc18934193ea342c0ac3a7d0287 2007
opensc_0.26.1-3.dsc
6112201e3879f9a64e8158b662b928a5ed2a2b96af7c18e60e8ece4cec58e88c 18308
opensc_0.26.1-3.debian.tar.xz
dc3e5639dceec6bc9a35cd24d08310cf3b59a40b30315fa44c5e8d2299ad5271 7596
opensc_0.26.1-3_source.buildinfo
Files:
f94a5338c424a3c80f652180b6ad95ad 2007 utils optional opensc_0.26.1-3.dsc
8eaae24b568b1cd77e325817becce3ec 18308 utils optional
opensc_0.26.1-3.debian.tar.xz
7d0a7d56cc44e06b7d80c5d335d6f017 7596 utils optional
opensc_0.26.1-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmi66XMQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFO9vC/4s3sBQCKGVi3lKp05xOaATWTZ+1oZxJpto
nxP0x+D0mBDcda/qTXfBnHcKclImBHRZ3O9qwXW7+76gPvhhQASn1VfjZsyPOPSl
35B8GPNyDOS7I+bY9D+Ixe5ewehp1Uk64vw8tDr0Nx1lohGs09MA4WDFNO4aCe9b
2ZmaRTKx0djYf7rjawe6Oqe8KtPeMVt97ewPU1gfRyorMNJp2LX4a/neD/pp56s9
1wELRQP9j2hi+hcZIMvbsXXRIaM5nrKqLDIWM9GgpjRsF6mHKtt+BolvonIvjusY
tzQ1xnUHjK+f6pGDtU/aOGdNw1wNKN7HfQtYGnw4guOj1Y12TrW5k9RZMbW+QGIH
CSJHosrxiTTgfuB7HMTC9ZO/yQoHBFKMEeV9cmFp7XuBn8FHCXc9ye9HUqsWj/lw
9RuHLKn0HOlzVW6KNCxqBtep1Y529ToivCSsGjlOpwGyZQmW4mGOa5/fM+WAIqWf
z3cmRns6oIzGUlKcFit9RmqorXtPtoQ=
=dR2q
-----END PGP SIGNATURE-----
pgpCUqPgwEMQX.pgp
Description: PGP signature
--- End Message ---