Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-21-2009, 04:23 PM   #1
LQ Newbie
Registered: Jun 2006
Distribution: Gentoo
Posts: 20

Rep: Reputation: 0
Question Gentoo emerge xulrunner 1.9.0.X - configure error

Emerging xulrunner and is presently failing. is currently installed, so it has worked in the past. I'll post the errors and such at the bottom. "emerge -v xulrunner" exits with:

configure: error: system NSPR does not support PR_STATIC_ASSERT

I have tried unmerging and re emerging nspr. Since building the current version of xulrunner exits on the same error, I'm reluctant to unmerge it. Any suggestions would be appriciated.

A probable cause - A few weeks ago I had to restore everything from back ups. I'm fairly certain I did a terrible job of doing this, and have since started working on a better backup strategy. The biggest problem that has come up is not preserving permissions in the initial backup. Who knows what other problems are waiting to be found.

The backup was a simple one, just the "cp -r" command.

Side note - except where you think it directly affects the problem, I know I need a better backup strategy. That's another conversation for another day.

Error from xulrunner's configure:

# emerge -v xulrunner

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] net-libs/xulrunner- [] USE="dbus gnome java -custom-optimization -startup-notification" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-libs/xulrunner-
 * xulrunner- RMD160 SHA1 SHA256 size ;-) ...                                              [ ok ]
 * xulrunner- RMD160 SHA1 SHA256 size ;-) ...                                  [ ok ]
 * checking ebuild checksums ;-) ...                                                                       [ ok ]
 * checking auxfile checksums ;-) ...                                                                      [ ok ]
 * checking miscfile checksums ;-) ...                                                                     [ ok ]
 * Using: sun-jdk-1.6
>>> Unpacking source...
>>> Unpacking xulrunner- to /var/tmp/portage/net-libs/xulrunner-
>>> Unpacking xulrunner- to /var/tmp/portage/net-libs/xulrunner-
>>> Source unpacked in /var/tmp/portage/net-libs/xulrunner-
>>> Preparing source in /var/tmp/portage/net-libs/xulrunner- ...
 * Applying various patches (bugfixes/updates) ...
 *   000_flex-configure-LANG.patch ...                                                                      [ ok ]
 *   001-xul_gentoo_install_dirs.patch ...                                                                  [ ok ]
 *   002-bzXXX_pc_honour_system_nspr_nss.patch ...                                                          [ ok ]
 *   055_firefox-2.0_gfbsd-pthreads.patch ...                                                               [ ok ]
 *   063_firefox-rpath-3.patch ...                                                                          [ ok ]
 *   064_firefox-nsplugins-v3.patch ...                                                                     [ ok ]
 *   068_firefox-nss-gentoo-fix.patch ...                                                                   [ ok ]
 *   080_gcc-4.4-elif.patch ...                                                                             [ ok ]
 *   085-arm-gcc42.patch ...                                                                                [ ok ]
 *   090-unaligned.patch ...                                                                                [ ok ]
 *   095_glibc_maxpathlen.patch ...                                                                         [ ok ]
 *   100-system-hunspell-corrections.patch ...                                                              [ ok ]
 *   800-bsd_include.patch ...                                                                              [ ok ]
 * Done with patching
 * Running eautoreconf in '/var/tmp/portage/net-libs/xulrunner-' ...
 * Running autoconf ...                                                                                     [ ok ]
 * Running elibtoolize in: mozilla/toolkit/crashreporter/google-breakpad/autotools
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.20.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-1.5.patch ...
 * Applying 000_flex-configure-LANG.patch ...                                                               [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-libs/xulrunner- ...

Building xulrunner- with the following configuration
    --enable-application=xulrunner default
    --enable-optimize               mozilla default
    --disable-installer             gentoo
    --disable-pedantic              gentoo
    --enable-crypto                 gentoo
    --with-system-jpeg              gentoo
    --with-system-zlib              gentoo
    --disable-updater               gentoo
    --enable-pango                  gentoo
    --enable-svg                    gentoo
    --enable-system-cairo           gentoo
    --disable-strip                 gentoo
    --disable-strip-libs            gentoo
    --disable-install-strip         gentoo
    --with-distribution-id=org.gentoo  gentoo
    --enable-single-profile         gentoo
    --disable-profilesharing        gentoo
    --disable-profilelocking        gentoo
    --enable-default-toolkit=cairo-gtk2  thebes
    --disable-startup-notification  -startup-notification
    --disable-debug                 -debug
    --disable-tests                 -debug
    --enable-elf-dynstr-gc          x86 optimized build
    --enable-extensions=default default
    --disable-mailnews     default
    --disable-mochitest             broken
    --disable-crashreporter         broken
    --enable-system-hunspell default
    --enable-image-encoder=all default
    --enable-canvas        default
    --enable-embedding-tests default
    --with-system-nspr     default
    --with-system-nss      default
    --enable-system-lcms   default
    --with-system-bz2      default
    --enable-oji           default
    --enable-mathml        default
    --enable-storage                places
    --enable-places                 places
    --enable-places_bookmarks       places
    --enable-safe-browsing default
    --enable-jsd           default
    --enable-xpctools      default
    --with-default-mozilla-five-home=/usr/lib/xulrunner-1.9 default

 * econf: updating mozilla/build/autoconf/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating mozilla/build/autoconf/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating mozilla/toolkit/crashreporter/google-breakpad/autotools/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating mozilla/toolkit/crashreporter/google-breakpad/autotools/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating mozilla/nsprpub/build/autoconf/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating mozilla/nsprpub/build/autoconf/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
Adding configure options from ./.mozconfig:
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for mawk... no
checking for gawk... gawk
checking for gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler (i686-pc-linux-gnu-gcc  -mtune=i686 -pipe -Wno-return-type -w -Wl,-O1) works... yes
checking whether the C compiler (i686-pc-linux-gnu-gcc  -mtune=i686 -pipe -Wno-return-type -w -Wl,-O1) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for c++... i686-pc-linux-gnu-g++
checking whether the C++ compiler (i686-pc-linux-gnu-g++  -mtune=i686 -pipe -Wno-return-type -w -Wl,-O1) works... yes
checking whether the C++ compiler (i686-pc-linux-gnu-g++  -mtune=i686 -pipe -Wno-return-type -w -Wl,-O1) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking for ranlib... ranlib
checking for as... /usr/bin/as
checking for ar... ar
checking for ld... i686-pc-linux-gnu-ld
checking for strip... strip
checking for windres... no
checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for perl5... no
checking for perl... /usr/bin/perl
checking for minimum required perl version >= 5.006... 5.008008
checking for full perl installation... yes
checking for python... /usr/bin/python
checking for nsinstall... no
checking for doxygen... /usr/bin/doxygen
checking for whoami... /usr/bin/whoami
checking for autoconf... /usr/bin/autoconf
checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for makedepend... /usr/bin/makedepend
checking for xargs... /usr/bin/xargs
checking for gmake... /usr/bin/gmake
checking for X... libraries , headers 
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether ld has archive extraction flags... yes
checking that static assertion macros used in autoconf tests work... yes
checking for 64-bit OS... no
checking for ANSI C header files... yes
checking for working const... yes
checking for mode_t... no
checking for off_t... no
checking for pid_t... no
checking for size_t... no
checking for st_blksize in struct stat... no
checking for siginfo_t... yes
checking for int16_t... no
checking for int32_t... no
checking for int64_t... no
checking for int64... no
checking for uint... no
checking for uint_t... no
checking for uint16_t... no
checking for uname.domainname... yes
checking for uname.__domainname... no
checking for usable wchar_t (2 bytes, unsigned)... no
checking for compiler -fshort-wchar option... yes
checking for visibility(hidden) attribute... no
checking for dirent.h that defines DIR... no
checking for sys/ndir.h that defines DIR... no
checking for sys/dir.h that defines DIR... no
checking for ndir.h that defines DIR... no
checking for opendir in -lx... no
checking for sys/byteorder.h... no
checking for compat.h... no
checking for getopt.h... yes
checking for sys/bitypes.h... yes
checking for memory.h... yes
checking for unistd.h... yes
checking for gnu/libc-version.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for X11/XKBlib.h... yes
checking for sys/statvfs.h... yes
checking for sys/statfs.h... yes
checking for sys/vfs.h... yes
checking for sys/mount.h... yes
checking for mmintrin.h... no
checking for new... yes
checking for sys/cdefs.h... yes
checking for library containing gethostbyname_r... none required
checking for atan in -lm... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking for dlfcn.h... (cached) yes
checking for dladdr... yes
checking for socket in -lsocket... no
checking for XDrawLines in -lX11... yes
checking for XextAddDisplay in -lXext... yes
checking for XtFree in -lXt... yes
checking for XShmCreateImage in -lXext... yes
checking for X11/extensions/XShm.h... yes
checking for XieFloGeometry in -lXIE... no
checking for X11/extensions/XIElib.h... no
checking for freetype-config... /usr/bin/freetype-config
checking for FreeType - version >= 6.1.0... no
*** The FreeType test program failed to run.  If your system uses
*** shared libraries and they are installed outside the normal
*** system library path, make sure the variable LD_LIBRARY_PATH
*** (or whatever is appropiate for your system) is correctly set.
checking for pthread_create in -lpthreads... no
checking for pthread_create in -lpthread... yes
checking whether i686-pc-linux-gnu-gcc accepts -pthread... yes
checking whether mmap() sees write()s... no
checking whether i686-pc-linux-gnu-gcc needs -traditional... no
checking for 8-bit clean memcmp... yes
checking for random... yes
checking for strerror... yes
checking for lchown... yes
checking for fchmod... yes
checking for snprintf... yes
checking for statvfs... yes
checking for memmove... yes
checking for rint... yes
checking for stat64... yes
checking for lstat64... yes
checking for truncate64... yes
checking for statvfs64... yes
checking for flockfile... yes
checking for getpagesize... yes
checking for localtime_r... yes
checking for strtok_r... yes
checking for wcrtomb... yes
checking for mbrtowc... yes
checking for res_ninit()... no
checking for gnu_get_libc_version()... yes
checking for iconv in -lc... yes
checking for iconv()... no
checking for nl_langinfo and CODESET... yes
checking for an implementation of va_copy()... yes
checking for an implementation of __va_copy()... yes
checking whether va_lists can be copied by value... yes
checking for C++ exceptions flag... -fno-handle-exceptions
checking for gcc 3.0 ABI... yes
checking for C++ "explicit" keyword... yes
checking for C++ "typename" keyword... yes
checking for modern C++ template specialization syntax support... yes
checking whether partial template specialization works... yes
checking whether operators must be re-defined for templates derived from templates... no
checking whether we need to cast a derived template to pass as its base class... no
checking whether the compiler can resolve const ambiguities for templates... yes
checking whether the C++ "using" keyword can change access... yes
checking whether the C++ "using" keyword resolves ambiguity... yes
checking for "std::" namespace... no
checking whether standard template operator!=() is ambiguous... ambiguous
checking for C++ reinterpret_cast... yes
checking for C++ dynamic_cast to void*... yes
checking whether C++ requires implementation of unused virtual methods... yes
checking for trouble comparing to zero near std::operator!=()... yes
checking for LC_MESSAGES... yes
checking for nspr-config... /usr/bin/nspr-config
checking for NSPR - version >= 4.7.0... yes
configure: error: system NSPR does not support PR_STATIC_ASSERT

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-libs/xulrunner-
 * ERROR: net-libs/xulrunner- failed.
 * Call stack:
 *     , line   49:  Called src_configure
 *             environment, line 5191:  Called econf
 *     , line  534:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 *  The die message:
 *   econf failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-libs/xulrunner-'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/xulrunner-'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
emerge --info:

# emerge --info
Portage (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r4 i686)
System uname: Linux-2.6.29-gentoo-r4-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-gentoo-2.0.0
Timestamp of tree: Sun, 21 Jun 2009 15:00:01 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
CFLAGS="-O2 -mtune=i686 -pipe"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb /var/phxd"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="3dnow X acl alsa apache arts berkdb bzip2 cdio cdparanoia cli cracklib crypt cups dbus dri dvd emacs encode ffmpeg firefox fortran ftp gdbm gif gnome gpm gstreamer gtk iconv ipod ipv6 isdnlog java jpeg md5sum midi mp2 mp3 mudflap mysql ncurses nls nptl nptlonly openmp oss pam pcre perl png postgres pppd python qt-static quicktime rar readline reflection samba session spl ssl sysfs tcpd unicode vidix win32codecs x86 xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Old 06-22-2009, 03:30 AM   #2
Senior Member
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
Over the night I just ran the update and it went without a hitch.
emerge -avuND world
The relevant part of your problem appears to be:
checking for LC_MESSAGES... yes
checking for nspr-config... /usr/bin/nspr-config
checking for NSPR - version >= 4.7.0... yes
configure: error: system NSPR does not support PR_STATIC_ASSERT
for me - it looks like this:
checking for LC_MESSAGES... yes
checking for nspr-config... /usr/bin/nspr-config
checking for NSPR - version >= 4.7.0... yes
checking for nss-config... /usr/bin/nss-config
checking for NSS - version >= 3.12.0... yes
checking for jpeg_destroy_compress in -ljpeg... yes
that would suggest the problem is with nss.
Maybe that is of the wrong version?
For me it is 3.12.3 (~x86).

Old 06-22-2009, 11:58 PM   #3
LQ Newbie
Registered: Jun 2006
Distribution: Gentoo
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks for responding...still no luck though

Didn't try that before...

I have nss "3.12.3". Re emerging that and nspr didn't work though



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo emerge howto do ./configure --options-stuff via portage humbletech99 Linux - Distributions 7 05-08-2008 05:06 AM
emerge error in gentoo xcalibra Linux - Software 9 11-20-2005 12:00 PM
pkg-config error with emerge -aD gnome-python on Gentoo 2.6.9-gentoo-r6 ghrellin Linux - Software 2 12-22-2004 06:37 PM
gentoo emerge gconf error besson3c Linux - Distributions 2 12-20-2004 01:01 PM
gentoo emerge kde error busbarn Linux - Software 2 03-08-2003 11:07 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration