[pkg-opensc-maint] Bug#1013011: opensc: ftbfs with GCC-12

Matthias Klose doko at debian.org
Thu Jun 16 13:12:21 BST 2022


Package: src:opensc
Version: 0.22.0-2
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-12

[This bug is targeted to the upcoming bookworm 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-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/opensc_0.22.0-2_unstable_gcc12.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../.. -DSC_PKCS15_PROFILE_DIRECTORY=\"/usr/share/opensc\" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c pkcs15-rtecp.c -o pkcs15-rtecp.o >/dev/null 2>&1
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -I../../src -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c -o pkcs15-authentic.lo pkcs15-authentic.c
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -I../../src -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c -o pkcs15-iasecc.lo pkcs15-iasecc.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DSC_PKCS15_PROFILE_DIRECTORY=\"/usr/share/opensc\" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c pkcs15-authentic.c  -fPIC -DPIC -o .libs/pkcs15-authentic.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DSC_PKCS15_PROFILE_DIRECTORY=\"/usr/share/opensc\" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c pkcs15-myeid.c -o pkcs15-myeid.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DSC_PKCS15_PROFILE_DIRECTORY=\"/usr/share/opensc\" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c pkcs15-iasecc.c  -fPIC -DPIC -o .libs/pkcs15-iasecc.o
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -I../../src -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c -o pkcs15-openpgp.lo pkcs15-openpgp.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DSC_PKCS15_PROFILE_DIRECTORY=\"/usr/share/opensc\" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c pkcs15-oberthur.c -o pkcs15-oberthur.o >/dev/null 2>&1
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -I../../src -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c -o pkcs15-sc-hsm.lo pkcs15-sc-hsm.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DSC_PKCS15_PROFILE_DIRECTORY=\"/usr/share/opensc\" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c pkcs15-openpgp.c  -fPIC -DPIC -o .libs/pkcs15-openpgp.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DSC_PKCS15_PROFILE_DIRECTORY=\"/usr/share/opensc\" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c pkcs15-sc-hsm.c  -fPIC -DPIC -o .libs/pkcs15-sc-hsm.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DSC_PKCS15_PROFILE_DIRECTORY=\"/usr/share/opensc\" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c pkcs15-lib.c -o pkcs15-lib.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DSC_PKCS15_PROFILE_DIRECTORY=\"/usr/share/opensc\" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c pkcs15-openpgp.c -o pkcs15-openpgp.o >/dev/null 2>&1
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -I../../src -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c -o pkcs15-isoApplet.lo pkcs15-isoApplet.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DSC_PKCS15_PROFILE_DIRECTORY=\"/usr/share/opensc\" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c pkcs15-sc-hsm.c -o pkcs15-sc-hsm.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DSC_PKCS15_PROFILE_DIRECTORY=\"/usr/share/opensc\" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c pkcs15-authentic.c -o pkcs15-authentic.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DSC_PKCS15_PROFILE_DIRECTORY=\"/usr/share/opensc\" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c pkcs15-isoApplet.c  -fPIC -DPIC -o .libs/pkcs15-isoApplet.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DSC_PKCS15_PROFILE_DIRECTORY=\"/usr/share/opensc\" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c pkcs15-oberthur-awp.c -o pkcs15-oberthur-awp.o >/dev/null 2>&1
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -D'SC_PKCS15_PROFILE_DIRECTORY="/usr/share/opensc"' -I../../src -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c -o pkcs15-gids.lo pkcs15-gids.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DSC_PKCS15_PROFILE_DIRECTORY=\"/usr/share/opensc\" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c pkcs15-gids.c  -fPIC -DPIC -o .libs/pkcs15-gids.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DSC_PKCS15_PROFILE_DIRECTORY=\"/usr/share/opensc\" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c pkcs15-isoApplet.c -o pkcs15-isoApplet.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DSC_PKCS15_PROFILE_DIRECTORY=\"/usr/share/opensc\" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c pkcs15-gids.c -o pkcs15-gids.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DSC_PKCS15_PROFILE_DIRECTORY=\"/usr/share/opensc\" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c pkcs15-iasecc.c -o pkcs15-iasecc.o >/dev/null 2>&1
/bin/bash ../../libtool  --tag=CC   --mode=link gcc  -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized  -Wl,-z,relro -o libpkcs15init.la  pkcs15-lib.lo profile.lo pkcs15-westcos.lo pkcs15-gpk.lo pkcs15-miocos.lo pkcs15-cflex.lo pkcs15-cardos.lo pkcs15-jcop.lo pkcs15-starcos.lo pkcs15-setcos.lo pkcs15-incrypto34.lo pkcs15-muscle.lo pkcs15-asepcos.lo pkcs15-rutoken.lo pkcs15-entersafe.lo pkcs15-epass2003.lo pkcs15-rtecp.lo pkcs15-myeid.lo pkcs15-oberthur.lo pkcs15-oberthur-awp.lo pkcs15-authentic.lo pkcs15-iasecc.lo pkcs15-openpgp.lo pkcs15-sc-hsm.lo pkcs15-isoApplet.lo pkcs15-gids.lo  -ldl 
libtool: link: ar cr .libs/libpkcs15init.a .libs/pkcs15-lib.o .libs/profile.o .libs/pkcs15-westcos.o .libs/pkcs15-gpk.o .libs/pkcs15-miocos.o .libs/pkcs15-cflex.o .libs/pkcs15-cardos.o .libs/pkcs15-jcop.o .libs/pkcs15-starcos.o .libs/pkcs15-setcos.o .libs/pkcs15-incrypto34.o .libs/pkcs15-muscle.o .libs/pkcs15-asepcos.o .libs/pkcs15-rutoken.o .libs/pkcs15-entersafe.o .libs/pkcs15-epass2003.o .libs/pkcs15-rtecp.o .libs/pkcs15-myeid.o .libs/pkcs15-oberthur.o .libs/pkcs15-oberthur-awp.o .libs/pkcs15-authentic.o .libs/pkcs15-iasecc.o .libs/pkcs15-openpgp.o .libs/pkcs15-sc-hsm.o .libs/pkcs15-isoApplet.o .libs/pkcs15-gids.o 
libtool: link: ranlib .libs/libpkcs15init.a
libtool: link: ( cd ".libs" && rm -f "libpkcs15init.la" && ln -s "../libpkcs15init.la" "libpkcs15init.la" )
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/pkcs15init'
Making all in sm
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/sm'
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2   -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c -o sm-iso.lo sm-iso.c
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2   -I../../src -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c -o libsmeac_la-sm-eac.lo `test -f 'sm-eac.c' || echo './'`sm-eac.c
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2   -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c -o sm-common.lo sm-common.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -I../../src -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c sm-eac.c  -fPIC -DPIC -o .libs/libsmeac_la-sm-eac.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c sm-common.c  -fPIC -DPIC -o .libs/sm-common.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c sm-iso.c  -fPIC -DPIC -o .libs/sm-iso.o
In file included from /usr/include/string.h:519,
                 from sm-iso.c:29:
In function ‘memcpy’,
    inlined from ‘prefix_buf’ at sm-iso.c:194:3,
    inlined from ‘format_data’ at sm-iso.c:234:7:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: error: pointer may be used after ‘realloc’ [-Werror=use-after-free]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘prefix_buf’,
    inlined from ‘format_data’ at sm-iso.c:234:7:
sm-iso.c:186:13: note: call to ‘realloc’ here
  186 |         p = realloc(*cat, buflen + 1);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -I../../src -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c sm-eac.c -o libsmeac_la-sm-eac.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -c sm-common.c -o sm-common.o >/dev/null 2>&1
/bin/bash ../../libtool  --tag=CC   --mode=link gcc   -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized  -Wl,-z,relro -o libsm.la  sm-common.lo  -ldl 
cc1: all warnings being treated as errors
make[4]: *** [Makefile:526: sm-iso.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: link: ar cr .libs/libsm.a .libs/sm-common.o 
libtool: link: ranlib .libs/libsm.a
libtool: link: ( cd ".libs" && rm -f "libsm.la" && ln -s "../libsm.la" "libsm.la" )
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/sm'
make[3]: *** [Makefile:465: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:609: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:517: 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