After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 619000 - nspr fails to build
nspr fails to build
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: module sets
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
: 620813 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-05-18 16:20 UTC by Kjartan Maraas
Modified: 2010-06-19 19:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kjartan Maraas 2010-05-18 16:20:12 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]
Comment 1 Luca Ferretti 2010-05-23 21:54:01 UTC
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?)
Comment 2 Frederic Peters 2010-06-07 10:25:40 UTC
*** Bug 620813 has been marked as a duplicate of this bug. ***
Comment 3 Frederic Peters 2010-06-19 19:02:23 UTC
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