Your message dated Sun, 17 Oct 2021 15:19:10 +0000
with message-id <e1mc7wm-000gsu...@fasolo.debian.org>
and subject line Bug#984368: fixed in tpm2-pkcs11 1.7.0-1
has caused the Debian Bug report #984368,
regarding tpm2-pkcs11: ftbfs with GCC-11
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 ow...@bugs.debian.org
immediately.)
--
984368: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984368
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:tpm2-pkcs11
Version: 1.5.0-4
Severity: normal
Tags: sid bookworm
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-11
[This bug is not targeted to the upcoming bullseye 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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.
The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/tpm2-pkcs11_1.5.0-4_unstable_gcc11.log
The last lines of the build log are at the end of this report.
To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html
GCC 11 defaults to the GNU++17 standard. If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.
[...]
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/emitter.c -fPIC -DPIC -o src/lib/.libs/emitter.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/emitter.c -fPIE -o src/lib/emitter.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./src/lib -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra
-Werror -Wformat -Wformat-security -Wstack-protector -fstack-protector-all
-Wstrict-overflow=5 -O2 -fPIC -fPIE -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -I/usr/include/tss2 -pthread -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -g -c -o src/lib/encrypt.lo src/lib/encrypt.c
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./src/lib -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra
-Werror -Wformat -Wformat-security -Wstack-protector -fstack-protector-all
-Wstrict-overflow=5 -O2 -fPIC -fPIE -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -I/usr/include/tss2 -pthread -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -g -c -o src/lib/general.lo src/lib/general.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c src/lib/db.c
-fPIE -o src/lib/db.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/encrypt.c -fPIC -DPIC -o src/lib/.libs/encrypt.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/general.c -fPIC -DPIC -o src/lib/.libs/general.o
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./src/lib -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra
-Werror -Wformat -Wformat-security -Wstack-protector -fstack-protector-all
-Wstrict-overflow=5 -O2 -fPIC -fPIE -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -I/usr/include/tss2 -pthread -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -g -c -o src/lib/key.lo src/lib/key.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c src/lib/key.c
-fPIC -DPIC -o src/lib/.libs/key.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/general.c -fPIE -o src/lib/general.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c src/lib/key.c
-fPIE -o src/lib/key.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/encrypt.c -fPIE -o src/lib/encrypt.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./src/lib -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra
-Werror -Wformat -Wformat-security -Wstack-protector -fstack-protector-all
-Wstrict-overflow=5 -O2 -fPIC -fPIE -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -I/usr/include/tss2 -pthread -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -g -c -o src/lib/mech.lo src/lib/mech.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c src/lib/mech.c
-fPIC -DPIC -o src/lib/.libs/mech.o
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./src/lib -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra
-Werror -Wformat -Wformat-security -Wstack-protector -fstack-protector-all
-Wstrict-overflow=5 -O2 -fPIC -fPIE -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -I/usr/include/tss2 -pthread -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -g -c -o src/lib/mutex.lo src/lib/mutex.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c src/lib/mutex.c
-fPIC -DPIC -o src/lib/.libs/mutex.o
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./src/lib -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra
-Werror -Wformat -Wformat-security -Wstack-protector -fstack-protector-all
-Wstrict-overflow=5 -O2 -fPIC -fPIE -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -I/usr/include/tss2 -pthread -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -g -c -o src/lib/object.lo src/lib/object.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/object.c -fPIC -DPIC -o src/lib/.libs/object.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c src/lib/mutex.c
-fPIE -o src/lib/mutex.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./src/lib -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra
-Werror -Wformat -Wformat-security -Wstack-protector -fstack-protector-all
-Wstrict-overflow=5 -O2 -fPIC -fPIE -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -I/usr/include/tss2 -pthread -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -g -c -o src/lib/parser.lo src/lib/parser.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/parser.c -fPIC -DPIC -o src/lib/.libs/parser.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/parser.c -fPIE -o src/lib/parser.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./src/lib -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra
-Werror -Wformat -Wformat-security -Wstack-protector -fstack-protector-all
-Wstrict-overflow=5 -O2 -fPIC -fPIE -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -I/usr/include/tss2 -pthread -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -g -c -o src/lib/random.lo src/lib/random.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c src/lib/mech.c
-fPIE -o src/lib/mech.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/random.c -fPIC -DPIC -o src/lib/.libs/random.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/object.c -fPIE -o src/lib/object.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/random.c -fPIE -o src/lib/random.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./src/lib -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra
-Werror -Wformat -Wformat-security -Wstack-protector -fstack-protector-all
-Wstrict-overflow=5 -O2 -fPIC -fPIE -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -I/usr/include/tss2 -pthread -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -g -c -o src/lib/session.lo src/lib/session.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/session.c -fPIC -DPIC -o src/lib/.libs/session.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/session.c -fPIE -o src/lib/session.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./src/lib -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra
-Werror -Wformat -Wformat-security -Wstack-protector -fstack-protector-all
-Wstrict-overflow=5 -O2 -fPIC -fPIE -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -I/usr/include/tss2 -pthread -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -g -c -o src/lib/session_ctx.lo src/lib/session_ctx.c
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./src/lib -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra
-Werror -Wformat -Wformat-security -Wstack-protector -fstack-protector-all
-Wstrict-overflow=5 -O2 -fPIC -fPIE -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -I/usr/include/tss2 -pthread -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -g -c -o src/lib/session_table.lo
src/lib/session_table.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/session_ctx.c -fPIC -DPIC -o src/lib/.libs/session_ctx.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/session_table.c -fPIC -DPIC -o src/lib/.libs/session_table.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/session_table.c -fPIE -o src/lib/session_table.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/session_ctx.c -fPIE -o src/lib/session_ctx.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./src/lib -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra
-Werror -Wformat -Wformat-security -Wstack-protector -fstack-protector-all
-Wstrict-overflow=5 -O2 -fPIC -fPIE -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -I/usr/include/tss2 -pthread -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -g -c -o src/lib/sign.lo src/lib/sign.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c src/lib/sign.c
-fPIC -DPIC -o src/lib/.libs/sign.o
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./src/lib -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra
-Werror -Wformat -Wformat-security -Wstack-protector -fstack-protector-all
-Wstrict-overflow=5 -O2 -fPIC -fPIE -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -I/usr/include/tss2 -pthread -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -g -c -o src/lib/slot.lo src/lib/slot.c
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./src/lib -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra
-Werror -Wformat -Wformat-security -Wstack-protector -fstack-protector-all
-Wstrict-overflow=5 -O2 -fPIC -fPIE -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -I/usr/include/tss2 -pthread -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -g -c -o src/lib/ssl_util.lo src/lib/ssl_util.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c src/lib/slot.c
-fPIC -DPIC -o src/lib/.libs/slot.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/ssl_util.c -fPIC -DPIC -o src/lib/.libs/ssl_util.o
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./src/lib -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra
-Werror -Wformat -Wformat-security -Wstack-protector -fstack-protector-all
-Wstrict-overflow=5 -O2 -fPIC -fPIE -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -I/usr/include/tss2 -pthread -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -g -c -o src/lib/token.lo src/lib/token.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c src/lib/token.c
-fPIC -DPIC -o src/lib/.libs/token.o
In file included from src/lib/mutex.h:10,
from src/lib/session_ctx.h:6,
from src/lib/token.h:8,
from src/lib/backend.h:7,
from src/lib/slot.c:7:
In function ‘str_padded_copy’,
inlined from ‘slot_get_info’ at src/lib/slot.c:123:5:
src/lib/utils.h:42:5: error: ‘strnlen’ specified bound 64 exceeds source size
32 [-Werror=stringop-overread]
42 | memcpy(dst, src, strnlen((char *)(src), dst_len));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/lib/checks.h:6,
from src/lib/slot.c:6:
src/lib/utils.h: In function ‘slot_get_info’:
./src/pkcs11.h:259:17: note: source object declared here
259 | unsigned char label[32];
| ^~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:1984: src/lib/slot.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c
src/lib/ssl_util.c -fPIE -o src/lib/ssl_util.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c src/lib/sign.c
-fPIE -o src/lib/sign.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Werror -Wformat
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5
-O2 -fPIC -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2
-I/usr/include/tss2 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -g -c src/lib/token.c
-fPIE -o src/lib/token.o >/dev/null 2>&1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:24: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
Source: tpm2-pkcs11
Source-Version: 1.7.0-1
Done: SZ Lin (林上智) <sz...@debian.org>
We believe that the bug you reported is fixed in the latest version of
tpm2-pkcs11, 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 984...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
SZ Lin (林上智) <sz...@debian.org> (supplier of updated tpm2-pkcs11 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 17 Oct 2021 17:06:37 +0800
Source: tpm2-pkcs11
Architecture: source
Version: 1.7.0-1
Distribution: unstable
Urgency: medium
Maintainer: Alvin Chen <sonoma...@gmail.com>
Changed-By: SZ Lin (林上智) <sz...@debian.org>
Closes: 984368
Changes:
tpm2-pkcs11 (1.7.0-1) unstable; urgency=medium
.
* Import new upstream release (Closes: #984368)
* Update symbols
Checksums-Sha1:
ad564bf09a38b8a3fbcb4ac9bda488fd8924adf3 3195 tpm2-pkcs11_1.7.0-1.dsc
95ea810e2e347b9be513d9326c9dc91c72147327 1386693 tpm2-pkcs11_1.7.0.orig.tar.gz
50514d3bf3c324ff0b7e45adcf11bb07d1ad8d2c 833 tpm2-pkcs11_1.7.0.orig.tar.gz.asc
f89805c92540971bffa962b9790fe9784106bfa6 11284
tpm2-pkcs11_1.7.0-1.debian.tar.xz
70d275fb5f2d99892ab831c163c55308cc29f789 9707
tpm2-pkcs11_1.7.0-1_amd64.buildinfo
Checksums-Sha256:
503958230e675cd44cb6180954aaa289e112a480dc6ac34a8b38c6b1af9235b7 3195
tpm2-pkcs11_1.7.0-1.dsc
078a445ed0e9f5009675a162b4b7b88f3520436cfbc791bb2249f37bd1f475bd 1386693
tpm2-pkcs11_1.7.0.orig.tar.gz
332a77ff9ed1a07518d9a6884245760ae3dababfb700c1741325927954123dc7 833
tpm2-pkcs11_1.7.0.orig.tar.gz.asc
6283399332ea40b23408922aca83959190e517296cf021cfaca8320928c65319 11284
tpm2-pkcs11_1.7.0-1.debian.tar.xz
7edbda92180cd17099e65a40635024ba886803ed0138a8e71b66edee7ffec1f9 9707
tpm2-pkcs11_1.7.0-1_amd64.buildinfo
Files:
c5d830b7cb653662a6e975037fa42e49 3195 libs optional tpm2-pkcs11_1.7.0-1.dsc
eecd1e21a5f6f06d9a1403808b2cdc64 1386693 libs optional
tpm2-pkcs11_1.7.0.orig.tar.gz
7191cb600b46cb27acf9ce0255419630 833 libs optional
tpm2-pkcs11_1.7.0.orig.tar.gz.asc
fc5dd566f0249cc0dcddbfeb3aad3328 11284 libs optional
tpm2-pkcs11_1.7.0-1.debian.tar.xz
fbd1d525764f6c42845150a938770e13 9707 libs optional
tpm2-pkcs11_1.7.0-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEF4+DOLMUAeME/ES6qVmzipVh8/kFAmFsOekACgkQqVmzipVh
8/lWcA//WRUl5QZ92XXKG57jpAFM446iLBOiRP841/mjuH5qUiLoq6HYy2cU33Z0
iX5e+sn+P7KNA+mqV2VIX01LFuIMupLr1vntEGKK0mOUb7TWPmMAiEEuu7lUo9sh
wEVu1RjAdarqwLyUhpNBcoMy72AmuwhZNCD7qv6WNLK51Lyq57o/snS6c7SliB8I
UWcDdN5uGyQfAhpc2Z21Y+BKaIapmPFhrkB1peEFjtcMGg7hBNsHrRg7NzTZ0xcw
/xeZH3vdYplrOXDXXmvIV1MzG2FiL8Z5jiH2JRvnwbyNJihwiXXb+Y3LWhgFE2I1
R7w+2FkjxJxbvcWOTNTa6ZPMDffOOL4V/Y0twMfUyUz0sje1ad02pb2XTPBEEduw
h96E0+UGbqRBdlbtaIvAUYJ0EmwU80WzKPOm3d9fd8IpYvuESG6rEJr/OlDbaKou
hOIIKenKWCeVgtkGeMcHvIfoyVE9501/WjBtvID1yElNWhZl3uXZviffpmMh7qUy
a7c0LIeBGDBN1qVxg/X6OLOOjFuSqfCz555kcLVv3xCTi+9w4NTNQTfrTxEFUD5B
t4IppWAlxaWrAtNxKdIqfmVKAa7FOygWd4/JykSjMxybwjIj4GPxjjx+Ygmy+Nb3
Cgh74h2fnr11+f76v+QaxbTW7zE9GxjY3krSBl1niKSXBShuH18=
=J9Qh
-----END PGP SIGNATURE-----
--- End Message ---