GNOME Bugzilla – Bug 619000
nspr fails to build
Last modified: 2010-06-19 19:02:23 UTC
The latest nspr version fails to build here on Fedora 13. First it fails during patch (configure and sonames patches) and then it fails later on after disabling those two: *** Installing nspr *** [1/177] make install make -j1 -C config install make[1]: Entering directory `/home/kmaraas/src/gnome/nspr-4.8.4/config' ../config/./nsinstall -t -m 0755 nspr-config /opt/gnome2/bin ../config/./nsinstall -D /opt/gnome2/share/aclocal ../config/./nsinstall -t -m 0644 .././mozilla/nsprpub/config/nspr.m4 /opt/gnome2/share/aclocal make[1]: *** No rule to make target `nspr.pc', needed by `install'. Stop. make[1]: Leaving directory `/home/kmaraas/src/gnome/nspr-4.8.4/config' make: *** [install] Error 2 *** Error during phase install of nspr: ########## Error running make install *** [1/177]
I've a different failure on Ubuntu 10.04 (amd64!) make V=1 make -j1 -C config export make[1]: ingresso nella directory «/home/betatester/checkout/gnome3/nspr-4.8.4/config» gcc -m32 -o now.o -c -Wall -g -fno-inline -fPIC -UNDEBUG -DDEBUG_betatester -DMOZILLA_CLIENT=1 -DDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_PRAGMA=1 -DXP_UNIX=1 -D_GNU_SOURCE=1 -DHAVE_FCNTL_FILE_LOCKING=1 -DLINUX=1 -Di386=1 -D_REENTRANT=1 -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_PR_INET6 .././mozilla/nsprpub/config/now.c In file included from /usr/include/features.h:378, from /usr/include/stdio.h:28, from .././mozilla/nsprpub/config/now.c:38: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No file or directory make[1]: *** [now.o] Errore 1 I suspect nspr was updated, but not patches (maybe the same for nss?)
*** Bug 620813 has been marked as a duplicate of this bug. ***
With the following commit nspr builds fine for me: commit 8f45f7e0536ed32591a6abcd106b523393090b0f Author: Frédéric Péters <fpeters@0d.be> Date: Sat Jun 19 18:24:46 2010 +0200 Add generated configure bits to nspr patches