firefox 10 requires nss 3.13 (Bug #367)
Description
firefox 10.0.2 requires nss 3.13+, but our grimoire only has 3.12
$ sorcery -v
1.15.1
$ cat /var/lib/sorcery/codex/test/VERSION
0.62-test
$ gaze version nss firefox
Grimoire Section Spell Grimoire Version Installed Version
-------- ------- ----- ---------------- -----------------
test crypto nss 3.12.11 3.12.11
test http firefox 10.0.2 10.0.2
$ gaze DEPENDS firefox | grep nss
depends -sub "3.13.x" nss &&
- cast firefox
...
firefox requests nss with 3.13.x
...
nss No work to do.
...
checking for nss-config... /usr/bin/nss-config
checking for NSS - version >= 3.13.1... no
configure: error: you don't have NSS installed or your version is too old- Fix above errors and then restart with "/usr/bin/make -f clien
t.mk build"
make2: * [configure] Error 1
make2: Leaving directory `/usr/src/firefox-10.0.2/mozilla-release'
make1: [/usr/src/firefox-10.0.2/mozilla-release/firefox-build/Makefile] Error 2
make1: Leaving directory `/usr/src/firefox-10.0.2/mozilla-release'
make: ** [build] Error 2
- Fix above errors and then restart with "/usr/bin/make -f clien
History
Updated by Eric Sandall about 1 year ago
nss has even been recast, but still stores 3.12 as NSS_BRANCH:
$ cat /etc/sorcery/local/depends/nss.p
NSS_BRANCH="3.12"
NSS_PEM="n"
MAKE_OPTS=""
Updated by Eric Sandall about 1 year ago
- cast nss
...
nss checking for reverse triggers...
3.13.x release needed, forcing it.
3.12.x release needed, forcing it.
...
Something else seems to be forcing 3.12.x
$ gaze depends nss 1
evolution-data-server depends on nss (optional)
evolution depends on nss (optional)
firefox depends on nss (required)
flash depends on nss (required)
google-chrome-bin depends on nss (required)
pidgin depends on nss (optional)
thunderbird depends on nss (required)
xulrunner depends on nss (required)
$ for i in $(gaze depends --fast nss 1); do echo $i; gaze DEPENDS $i | grep nss ; done
evolution
optional_depends nss \
"--enable-nss=yes --enable-smime \
--with-nss-includes=/usr/include/nss \
--with-nss-libs=/usr/lib" \
"--enable-nss=no --disable-smime" \
evolution-data-server
optional_depends "nss" \
--with-nss-includes=/usr/include/nss \
--with-nss-libs=/usr/lib" \
"to use Mozlla libnss for SSL and SMIME support" &&
firefox
depends -sub "3.13.x" nss &&
flash
depends nss
google-chrome-bin
depends nss &&
pidgin
optional_depends nss \
"--enable-nss=yes" \
"--enable-nss=no" \
"an alternative to nss for MSN protocol SSL support" &&
thunderbird
depends nss '--with-system-nss' &&
xulrunner
depends -sub "3.12.x" nss &&
xulrunner it is.
Updated by Eric Sandall about 1 year ago
Hrm, can't edit the original bug report, but it is incorrect in that our test branch only has nss 3.12.x, it also provides 3.11.x and 3.13.x via SUB_DEPENDS.
Updated by Vlad Glagolev about 1 year ago
is it fine now in test?
Updated by Eric Sandall about 1 year ago
No, having xulrunner still breaks firefox and firefox still breaks xulrunner.
firefox forces nss 3.13
xulrunner forces nss 3.12
Having one breaks the other, whomever wins the nss sub_depends race.
Vlad mentioned on IRC that maybe we can try xulrunner with nss 3.13, which I haven't. The sub-depends on nss 3.12 may be from the nss 3.11/3.12 branching and xulrunner just needs 3.12+.
Updated by Sukneet Basuta 12 months ago
Is there any specific reason why we don't update xulrunner to the same version as firefox? They should have the same dependencies then.
I tried building xulrunner on my box with nss 3.13, but it doesn't seem to build. nsBaseHashtable.h is the file that fails to build. I'm not sure if nss is the cause however, since I haven't tried building it with nss 3.12.