Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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 Doug Newgard (Scimmia) - Saturday, 10 June 2017, 14:39 GMT
Task Type Bug Report
Category Packages: Testing
Status Assigned
Assigned To Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No


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

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/
+++ b/
@@ -2009,7 +2009,7 @@

if test -n "$MOZ_SYSTEM_NSS"; then
- NSS_LIBS="$NSS_LIBS -lcrmf"
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: