Your message dated Sat, 5 Aug 2017 21:57:13 +0300
with message-id <20170805185713.qttk2mpvm4ln7uuu@localhost>
and subject line nss builds with gcc 7
has caused the Debian Bug report #853576,
regarding nss: ftbfs with GCC-7
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.)


-- 
853576: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853576
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:nss
Version: 2:3.26.2-1
Severity: normal
Tags: sid buster
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-7

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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/nss_3.26.2-1_unstable_gcc7.log
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 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-7/porting_to.html

[...]
make[6]: Leaving directory '/<<PKGBUILDDIR>>/nss/lib/libpkix/pkix/util'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/nss/lib/libpkix/pkix'
cd pkix_pl_nss; /usr/bin/make libs
make[5]: Entering directory '/<<PKGBUILDDIR>>/nss/lib/libpkix/pkix_pl_nss'
cd pki; /usr/bin/make libs
make[6]: Entering directory '/<<PKGBUILDDIR>>/nss/lib/libpkix/pkix_pl_nss/pki'
gcc -o OBJS/pkix_pl_basicconstraints.o -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-DLINUX2_1 -m64 -pipe -ffunction-sections -fdata-sections -DHAVE_STRERROR 
-DLINUX -Dlinux -Wall -Werror -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT 
-DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT 
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -I/usr/include/nspr 
-I/<<PKGBUILDDIR>>/dist/include -I/<<PKGBUILDDIR>>/dist/public/nss 
-I/<<PKGBUILDDIR>>/dist/private/nss  pkix_pl_basicconstraints.c
gcc -o OBJS/pkix_pl_cert.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pipe 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DLINUX2_1 -m64 -pipe -ffunction-sections 
-fdata-sections -DHAVE_STRERROR -DLINUX -Dlinux -Wall -Werror -DXP_UNIX -UDEBUG 
-DNDEBUG -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY 
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES 
-I/usr/include/nspr -I/<<PKGBUILDDIR>>/dist/include 
-I/<<PKGBUILDDIR>>/dist/public/nss -I/<<PKGBUILDDIR>>/dist/private/nss  
pkix_pl_cert.c
gcc -o OBJS/pkix_pl_certpolicyinfo.o -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-DLINUX2_1 -m64 -pipe -ffunction-sections -fdata-sections -DHAVE_STRERROR 
-DLINUX -Dlinux -Wall -Werror -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT 
-DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT 
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -I/usr/include/nspr 
-I/<<PKGBUILDDIR>>/dist/include -I/<<PKGBUILDDIR>>/dist/public/nss 
-I/<<PKGBUILDDIR>>/dist/private/nss  pkix_pl_certpolicyinfo.c
gcc -o OBJS/pkix_pl_certpolicymap.o -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-DLINUX2_1 -m64 -pipe -ffunction-sections -fdata-sections -DHAVE_STRERROR 
-DLINUX -Dlinux -Wall -Werror -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT 
-DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT 
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -I/usr/include/nspr 
-I/<<PKGBUILDDIR>>/dist/include -I/<<PKGBUILDDIR>>/dist/public/nss 
-I/<<PKGBUILDDIR>>/dist/private/nss  pkix_pl_certpolicymap.c
gcc -o OBJS/pkix_pl_certpolicyqualifier.o -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-DLINUX2_1 -m64 -pipe -ffunction-sections -fdata-sections -DHAVE_STRERROR 
-DLINUX -Dlinux -Wall -Werror -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT 
-DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT 
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -I/usr/include/nspr 
-I/<<PKGBUILDDIR>>/dist/include -I/<<PKGBUILDDIR>>/dist/public/nss 
-I/<<PKGBUILDDIR>>/dist/private/nss  pkix_pl_certpolicyqualifier.c
gcc -o OBJS/pkix_pl_crl.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pipe 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DLINUX2_1 -m64 -pipe -ffunction-sections 
-fdata-sections -DHAVE_STRERROR -DLINUX -Dlinux -Wall -Werror -DXP_UNIX -UDEBUG 
-DNDEBUG -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY 
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES 
-I/usr/include/nspr -I/<<PKGBUILDDIR>>/dist/include 
-I/<<PKGBUILDDIR>>/dist/public/nss -I/<<PKGBUILDDIR>>/dist/private/nss  
pkix_pl_crl.c
gcc -o OBJS/pkix_pl_crldp.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pipe 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DLINUX2_1 -m64 -pipe -ffunction-sections 
-fdata-sections -DHAVE_STRERROR -DLINUX -Dlinux -Wall -Werror -DXP_UNIX -UDEBUG 
-DNDEBUG -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY 
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES 
-I/usr/include/nspr -I/<<PKGBUILDDIR>>/dist/include 
-I/<<PKGBUILDDIR>>/dist/public/nss -I/<<PKGBUILDDIR>>/dist/private/nss  
pkix_pl_crldp.c
gcc -o OBJS/pkix_pl_crlentry.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pipe 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DLINUX2_1 -m64 -pipe -ffunction-sections 
-fdata-sections -DHAVE_STRERROR -DLINUX -Dlinux -Wall -Werror -DXP_UNIX -UDEBUG 
-DNDEBUG -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY 
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES 
-I/usr/include/nspr -I/<<PKGBUILDDIR>>/dist/include 
-I/<<PKGBUILDDIR>>/dist/public/nss -I/<<PKGBUILDDIR>>/dist/private/nss  
pkix_pl_crlentry.c
gcc -o OBJS/pkix_pl_date.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pipe 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DLINUX2_1 -m64 -pipe -ffunction-sections 
-fdata-sections -DHAVE_STRERROR -DLINUX -Dlinux -Wall -Werror -DXP_UNIX -UDEBUG 
-DNDEBUG -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY 
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES 
-I/usr/include/nspr -I/<<PKGBUILDDIR>>/dist/include 
-I/<<PKGBUILDDIR>>/dist/public/nss -I/<<PKGBUILDDIR>>/dist/private/nss  
pkix_pl_date.c
gcc -o OBJS/pkix_pl_generalname.o -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-DLINUX2_1 -m64 -pipe -ffunction-sections -fdata-sections -DHAVE_STRERROR 
-DLINUX -Dlinux -Wall -Werror -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT 
-DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT 
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -I/usr/include/nspr 
-I/<<PKGBUILDDIR>>/dist/include -I/<<PKGBUILDDIR>>/dist/public/nss 
-I/<<PKGBUILDDIR>>/dist/private/nss  pkix_pl_generalname.c
gcc -o OBJS/pkix_pl_infoaccess.o -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-DLINUX2_1 -m64 -pipe -ffunction-sections -fdata-sections -DHAVE_STRERROR 
-DLINUX -Dlinux -Wall -Werror -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT 
-DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT 
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -I/usr/include/nspr 
-I/<<PKGBUILDDIR>>/dist/include -I/<<PKGBUILDDIR>>/dist/public/nss 
-I/<<PKGBUILDDIR>>/dist/private/nss  pkix_pl_infoaccess.c
gcc -o OBJS/pkix_pl_nameconstraints.o -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-DLINUX2_1 -m64 -pipe -ffunction-sections -fdata-sections -DHAVE_STRERROR 
-DLINUX -Dlinux -Wall -Werror -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT 
-DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT 
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -I/usr/include/nspr 
-I/<<PKGBUILDDIR>>/dist/include -I/<<PKGBUILDDIR>>/dist/public/nss 
-I/<<PKGBUILDDIR>>/dist/private/nss  pkix_pl_nameconstraints.c
gcc -o OBJS/pkix_pl_ocsprequest.o -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-DLINUX2_1 -m64 -pipe -ffunction-sections -fdata-sections -DHAVE_STRERROR 
-DLINUX -Dlinux -Wall -Werror -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT 
-DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT 
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -I/usr/include/nspr 
-I/<<PKGBUILDDIR>>/dist/include -I/<<PKGBUILDDIR>>/dist/public/nss 
-I/<<PKGBUILDDIR>>/dist/private/nss  pkix_pl_ocsprequest.c
pkix_pl_ocsprequest.c: In function 'pkix_pl_OcspRequest_Hashcode':
pkix_pl_ocsprequest.c:92:60: error: '<<' in boolean context, did you mean '<' ? 
[-Werror=int-in-bool-context]
         *pHashcode = (((((extensionHash << 8) || certHash) << 8) ||
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
pkix_pl_ocsprequest.c:93:27: error: '<<' in boolean context, did you mean '<' ? 
[-Werror=int-in-bool-context]
         *pHashcode = (((((extensionHash << 8) || certHash) << 8) ||
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 dateHash) << 8) || signerHash;
                 ~~~~~~~~~~^~~~~
cc1: all warnings being treated as errors
../../../../coreconf/rules.mk:388: recipe for target 
'OBJS/pkix_pl_ocsprequest.o' failed
make[6]: *** [OBJS/pkix_pl_ocsprequest.o] Error 1
make[6]: Leaving directory '/<<PKGBUILDDIR>>/nss/lib/libpkix/pkix_pl_nss/pki'
../../../coreconf/rules.mk:101: recipe for target 'libs' failed
make[5]: *** [libs] Error 2
make[5]: Leaving directory '/<<PKGBUILDDIR>>/nss/lib/libpkix/pkix_pl_nss'
../../coreconf/rules.mk:101: recipe for target 'libs' failed
make[4]: *** [libs] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/nss/lib/libpkix'
../coreconf/rules.mk:101: recipe for target 'libs' failed
make[3]: *** [libs] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/nss/lib'
coreconf/rules.mk:101: recipe for target 'libs' failed
make[2]: *** [libs] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/nss'
debian/rules:100: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:195: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

--- End Message ---
--- Begin Message ---
nss builds with gcc 7:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/nss.html

Most likely the new upstream version fixed it.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--- End Message ---

Reply via email to