Package: nss Version: 2:3.55-1 Hi, this will only really hit you with gcc-10.2 and glibc2.32. A discussion about it can be found at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96832
Until upstream nss has agreed on how to proceed (I'm concerned gwtcdw(0,0) might imply unwanted behavior changes) we could ignore the error on just nsinstall build. This is too small for a PR and since you are not (yet) affected more of an FYI. Therefore I post the suggested change right here. Author: Christian Ehrhardt <[email protected]> Date: Wed Sep 30 09:55:22 2020 +0200 d/rules: fix FTFBS with gcc-10 + glibc 2.32 As discussed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96832 this is actually a false positive due to gcc-10 + glibc 2.32. To avoid changing behavior when we follow the recommendation of getcwd(0, 0) we disable this warning for now until upstream has adapted the code as eventually needed. Signed-off-by: Christian Ehrhardt <[email protected]> diff --git a/debian/rules b/debian/rules index b4c730227..7f40c888c 100755 --- a/debian/rules +++ b/debian/rules @@ -96,10 +96,14 @@ NSS_TOOLS := \ vfyserv \ $(NULL) +# avoid false positive in glibc 2.32 + gcc 10.2 - set -Wno-nonnull +# to just the build os nsinstall where the error occurs +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96832 override_dh_auto_build: $(MAKE) -C nss/coreconf/nsinstall \ $(COMMON_MAKE_FLAGS) \ CC=$(DEB_BUILD_GNU_TYPE)-gcc \ + OPTIMIZER="-Wno-nonnull" \ ARCHFLAG= $(MAKE) -C nss \ -- Christian Ehrhardt Staff Engineer, Ubuntu Server Canonical Ltd

