This is caused by a bug in debian/rules. The LD_LIBRARY_PATH used for the shlibsign command does not contain the path to libsoftokn3.so. As a result, PORT_LoadLibraryFromOrigin doesn't find the library and the variable lib is NULL.
The assert is optimized away. Thus, it might help if shlibsign printed an error message when a library is not found. Attached is a patch which fixes build on hppa. Pleas apply. There is an issue with buildd dependencies for hppa and some other ports: nss build-depends on missing: - empty-dependency-after-parsing Thanks, Dave -- John David Anglin dave.ang...@bell.net
--- debian/rules.save 2015-06-20 17:27:31.000000000 -0400 +++ debian/rules 2015-08-05 12:33:59.625818701 -0400 @@ -168,7 +168,7 @@ $(if $(wildcard $(call manpage,$(bin))),$(call cmd,install -m 644 -T $(call manpage,$(bin)) $(DISTDIR)/man/nss-$(bin).1))) ifeq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH)) -SHLIBSIGN = LD_LIBRARY_PATH=debian/libnss3/usr/lib/$(DEB_HOST_MULTIARCH) debian/libnss3-tools/usr/bin/shlibsign +SHLIBSIGN = LD_LIBRARY_PATH=debian/libnss3/usr/lib/$(DEB_HOST_MULTIARCH):debian/libnss3/usr/lib/$(DEB_HOST_MULTIARCH)/nss debian/libnss3-tools/usr/bin/shlibsign else SHLIBSIGN = shlibsign endif