MozillaZine

Firefox Nightly Build Issues

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
DirectXMan12
 
Posts: 1
Joined: August 1st, 2012, 5:35 pm

Post Posted August 1st, 2012, 5:44 pm

Hello all,
I have been banging my head against the wall for about a week and a half now, trying to get firefox nightly to compile. After getting past a couple outdated dependencies, I thought I was good to go. However, for the past couple weeks the nightly firefox build has died, saying

Code: Select all
x86_64-pc-linux-gnu-gcc -shared  -Wl,-z,defs -Wl,-soname -Wl,libnssutil3.so  -Wl,--version-script,/var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/nssutil.def -o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/libnssutil3.so /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/quickder.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/secdig.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/derdec.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/derenc.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/dersubr.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/dertime.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/errstrs.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/nssb64d.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/nssb64e.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/nssrwlk.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/nssilock.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/oidstring.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/portreg.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/secalgid.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/secasn1d.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/secasn1e.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/secasn1u.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/secitem.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/secload.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/secoid.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/sectime.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/secport.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/templates.o /var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/utf8.o    -L/var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/manager/../../dist/lib -L/var/tmp/portage/www-client/firefox-9999/work/mozilla-central/dist/lib -lplc4 -lplds4 -lnspr4  -lpthread  -ldl -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld:/var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/nssutil.def:1: syntax error in VERSION script
collect2: ld returned 1 exit status
make[5]: *** [/var/tmp/portage/www-client/firefox-9999/work/mozilla-central/security/nss/lib/util/libnssutil3.so] Error 1


I've been searching the interwebs, but to no avail. I am unfamiliar with .def files, and have no idea what's wrong. Any ideas?

EDIT: :oops: Forgot to include my environment info: Gentoo Linux (for x86_64 aka amd64), Kernel 3.0.6, gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.2, pie-0.4.7)

Best Regards,
DirectXMan12

j_kubik
 
Posts: 1
Joined: November 6th, 2012, 7:22 pm

Post Posted November 6th, 2012, 7:27 pm

If you inspect .def files, do you see lots of comment lies (licensing and so on) starting with ';+#' instead of just '#'? If so, then you have identical problem to mine. This is wrong format for def file, it should be parsed a bit - my version includes instructions on how to, but parsing itself for some reason did not occur, so I had to do it manually :)

Just try
Code: Select all
for i in `find | grep -e '\.def$'`; do mv -v $i $i.orig; cat $i.orig | sed 's/;+//' | sed 's/;;//' | sed 's/ DATA //' | grep -v ";-" | sed 's/;.*/;/' > $i; done

in your mozilla-release directory - solved the problem for me.

It would be interesting to know why it did not get parsed automagically on our systems (mine is Ubuntu 12.04), but since I don't need it anymore, I guess I will leave it as it is ;)

Return to Third Party/Unofficial Builds


Who is online

Users browsing this forum: No registered users and 1 guest