FS#54395 - [nss] missing crmf library in nss 3.31-3 package.

Attached to Project: Arch Linux
Opened by Hussam Al-Tayeb (hussam) - Saturday, 10 June 2017, 06:02 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 08 September 2020, 16:11 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

since switching to the gyp build, crmf library is not being installed.
Firefox beta build complains with the following error:
"../../build/unix/gold/ld: error: cannot find -lcrmf"
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Tuesday, 08 September 2020, 16:11 GMT
Reason for closing:  Works for me
Comment by Hussam Al-Tayeb (hussam) - Saturday, 10 June 2017, 06:11 GMT
/usr/include/nss/crmf.h is installed. only the static crmf library is not.
Comment by userwithuid (userwithuid) - Saturday, 10 June 2017, 12:39 GMT
@maint/FYI: The -lcrmf comes from the old build system (that arch uses), the build should still work if you remove that hardcoded flag, e.g.:

--- a/old-configure.in
+++ b/old-configure.in
@@ -2009,7 +2009,7 @@
fi

if test -n "$MOZ_SYSTEM_NSS"; then
- NSS_LIBS="$NSS_LIBS -lcrmf"
+ NSS_LIBS="$NSS_LIBS"
else
NSS_CFLAGS="-I${DIST}/include/nss"
case "${OS_ARCH}" in
Comment by Hussam Al-Tayeb (hussam) - Saturday, 10 June 2017, 14:47 GMT
Firefox compiles with that patch. Thank you, userwithuid.
Should the headers actually be installed?
Comment by Jan Alexander Steffens (heftig) - Saturday, 10 June 2017, 23:57 GMT
@userwithuid Is there another build system we should be using instead?
Comment by userwithuid (userwithuid) - Sunday, 11 June 2017, 08:19 GMT
@heftig: No, I just made some wrong assumptions, sorry for the confusion. :-)


I filed an upstream bug report about not linking libcrmf, let's see what they think:
https://bugzilla.mozilla.org/show_bug.cgi?id=1371991
Comment by loqs (loqs) - Monday, 07 September 2020, 20:27 GMT
The upstream bug report [1] was closed after implementing in firefox 61 / firefox ESR 60. So libcrmf is not needed and the package does not need to be changed.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1371991

Loading...