Package Details: nss-hg 3.39.0r14421.1f58a4995451-1

Git Clone URL: (read-only)
Package Base: nss-hg
Description: Mozilla Network Security Services
Upstream URL:
Licenses: GPL, MPL
Conflicts: nss
Provides: nss
Submitter: franziskus
Maintainer: franziskus
Last Packager: franziskus
Votes: 6
Popularity: 0.004381
First Submitted: 2016-06-02 20:33
Last Updated: 2018-07-17 08:01

Required by (660)

Sources (1)

Latest Comments

1 2 Next › Last »

Depau commented on 2018-07-15 10:36

Here's a better pkgver that includes the actual package version number:

pkgver() {
  local vmajor vminor vpatch
  cd "$_pkgname"

  { read vmajor; read vminor; read vpatch; } \
    < <(awk '/#define.*NSS_V(MAJOR|MINOR|PATCH)/ {print $3}' lib/nss/nss.h)

  printf "%s.%s.%sr%s.%s" "$vmajor" "$vminor" "$vpatch" "$(hg identify -n)" "$(hg identify -i)"

franziskus commented on 2017-08-25 07:42

I updated the PKGBUILD and NSS got fixed upstream so everything should work now again.

franziskus commented on 2017-08-24 13:10

Sorry for the delays.
There's an issue with python3 that should be fixed tomorrow. I'll update the package tomorrow as well.

onny commented on 2017-08-16 21:48

Please fix it :(

onny commented on 2017-07-16 21:14

I fixed the package, adopting the build instructions from the nss package of the community repo:

silverhammermba commented on 2017-06-19 23:48

I'm pretty sure I'm getting the same issue as @DonOregano. It's because nss expects python to be Python 2, but on Arch it's Python 3. Simple fix is to add

ln -s /usr/bin/python2 ../python

in build() before the script is run. Also it would be nice if provides mentioned the version number (currently 3.32.0). This is needed by the firefox-hg AUR package.

franziskus commented on 2017-04-18 07:41

@DonOregano: That's weird. Can you try to build it verbose? You can add -v to the script [1] to get more information. I just made a makechrootpkg build that works fine. scan-build shouldn't be used in the build.


DonOregano commented on 2017-04-15 13:54

It's not building for me at the moment:

==> Starting pkgver()...
==> Updated version: nss-hg r13294.fa15eb3ce158-1
==> Starting build()...
==> ERROR: A failure occurred in build().

I tried to work out what is happening, but from what I can tell in nss/ is failing without providing any indication of what went wrong. Something to do with running "scan-build", whatever that is. This is where I gave up...

franziskus commented on 2017-03-02 15:24

Thanks for the bump. I meant to do a couple things here. I'll update the package shortly.

silverhammermba commented on 2017-02-24 04:00

replaces should be conflicts. Otherwise it won't uninstall the core nss package when installing.

It needs a proper pkgver function so that pacman knows when an upgrade is occurring.

Your upstream URL is outdated, the correct one is

The latest core nss package has an additional export in build(). You might want to add that.