Package: pesign
Version: 0.110-2
Severity: important
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-unused-const-variable

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> /usr/bin/gcc -I/<<PKGBUILDDIR>>/include -g -O0  -Wall -fshort-wchar 
> -fno-strict-aliasing -fno-merge-constants --std=gnu99 -D_GNU_SOURCE 
> -Wno-unused-result -Wno-unused-function -I../include/  -I/usr/include/nss 
> -I/usr/include/nspr  -I/usr/include/efivar -Werror -fPIE -DCONFIG_x86_64 -c 
> daemon.c -o daemon.o
> /usr/bin/gcc -I/<<PKGBUILDDIR>>/include -g -O0  -Wall -fshort-wchar 
> -fno-strict-aliasing -fno-merge-constants --std=gnu99 -D_GNU_SOURCE 
> -Wno-unused-result -Wno-unused-function -I../include/  -I/usr/include/nss 
> -I/usr/include/nspr  -I/usr/include/efivar -Werror -fPIE -DCONFIG_x86_64 -c 
> cms_common.c -o cms_common.o
> cms_common.c:1668:31: error: 'KeyIdTemplate' defined but not used 
> [-Werror=unused-const-variable]
>  static const SEC_ASN1Template KeyIdTemplate[] = {
>                                ^~~~~~~~~~~~~
> 
> cc1: all warnings being treated as errors
> /<<PKGBUILDDIR>>/Make.rules:11: recipe for target 'cms_common.o' failed
> make[2]: *** [cms_common.o] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Makefile:12: recipe for target 'src' failed

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to