Package: xml-security-c Version: 1.7.3-1 Severity: important User: debian-...@lists.debian.org Usertags: ftbfs-gcc-6 gcc-6-cannot-convert
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. > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux ... > /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -g -O2 -fPIE > -fstack-protector-strong -Wformat -Werror=format-security -O2 -DNDEBUG > -pthread -DXSEC_LIBRARY_BUILD -fPIE -pie -Wl,-z,relro -Wl,-z,now > -Wl,--as-needed -o xsec-c14n tools/c14n/c14n.o libxml-security-c.la > -lxerces-c -lm -lssl -lcrypto > libtool: link: g++ -Wall -g -O2 -fPIE -fstack-protector-strong -Wformat > -Werror=format-security -O2 -DNDEBUG -pthread -DXSEC_LIBRARY_BUILD -fPIE -pie > -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/xsec-c14n tools/c14n/c14n.o > -Wl,--as-needed ./.libs/libxml-security-c.so -lxerces-c -lm -lssl -lcrypto > -pthread > g++ -DHAVE_CONFIG_H -I. -I.. -I../xsec/framework -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fPIE -fstack-protector-strong -Wformat > -Werror=format-security -O2 -DNDEBUG -pthread -DXSEC_LIBRARY_BUILD -c -o > tools/checksig/checksig.o tools/checksig/checksig.cpp > In file included from ../xsec/enc/XSECCryptoProvider.hpp:42:0, > from ../xsec/utils/XSECPlatformUtils.hpp:39, > from ../xsec/utils/XSECDOMUtils.hpp:36, > from ../xsec/dsig/DSIGKeyInfo.hpp:36, > from ../xsec/dsig/DSIGKeyInfoList.hpp:35, > from ../xsec/enc/XSECKeyInfoResolver.hpp:36, > from tools/checksig/InteropResolver.hpp:35, > from tools/checksig/checksig.cpp:30: > ../xsec/enc/XSECCryptoSymmetricKey.hpp:188:52: warning: converting to > non-pointer type 'unsigned int' from NULL [-Wconversion-null] > unsigned int taglen = NULL) = 0; > ^~~~ > > g++ -DHAVE_CONFIG_H -I. -I.. -I../xsec/framework -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fPIE -fstack-protector-strong -Wformat > -Werror=format-security -O2 -DNDEBUG -pthread -DXSEC_LIBRARY_BUILD -c -o > tools/checksig/AnonymousResolver.o tools/checksig/AnonymousResolver.cpp > In file included from ../xsec/enc/XSECCryptoProvider.hpp:42:0, > from ../xsec/utils/XSECPlatformUtils.hpp:39, > from ../xsec/utils/XSECDOMUtils.hpp:36, > from tools/checksig/AnonymousResolver.cpp:36: > ../xsec/enc/XSECCryptoSymmetricKey.hpp:188:52: warning: converting to > non-pointer type 'unsigned int' from NULL [-Wconversion-null] > unsigned int taglen = NULL) = 0; > ^~~~ > > g++ -DHAVE_CONFIG_H -I. -I.. -I../xsec/framework -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fPIE -fstack-protector-strong -Wformat > -Werror=format-security -O2 -DNDEBUG -pthread -DXSEC_LIBRARY_BUILD -c -o > tools/checksig/InteropResolver.o tools/checksig/InteropResolver.cpp > In file included from ../xsec/enc/XSECCryptoProvider.hpp:42:0, > from ../xsec/utils/XSECPlatformUtils.hpp:39, > from ../xsec/utils/XSECDOMUtils.hpp:36, > from ../xsec/dsig/DSIGKeyInfo.hpp:36, > from ../xsec/dsig/DSIGKeyInfoList.hpp:35, > from ../xsec/enc/XSECKeyInfoResolver.hpp:36, > from tools/checksig/InteropResolver.hpp:35, > from tools/checksig/InteropResolver.cpp:32: > ../xsec/enc/XSECCryptoSymmetricKey.hpp:188:52: warning: converting to > non-pointer type 'unsigned int' from NULL [-Wconversion-null] > unsigned int taglen = NULL) = 0; > ^~~~ > > tools/checksig/InteropResolver.cpp: In member function 'virtual > XSECCryptoKey* InteropResolver::resolveKey(DSIGKeyInfoList*)': > tools/checksig/InteropResolver.cpp:648:9: error: cannot convert 'bool' to > 'XSECCryptoKey*' in return > return false; > ^~~~~ > > Makefile:2099: recipe for target 'tools/checksig/InteropResolver.o' failed > make[3]: *** [tools/checksig/InteropResolver.o] Error 1 -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise