Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336413 - net-libs/xulrunner-1.9.2.9: error: 'PR_STATIC_ASSERT' was not declared in this scope
Summary: net-libs/xulrunner-1.9.2.9: error: 'PR_STATIC_ASSERT' was not declared in th...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: InVCS
: 336421 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-08 06:42 UTC by Geoff Madden
Modified: 2010-09-10 23:54 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log for xulrunner-1.9.2.9 (buildlog.tbz2,96.66 KB, application/octet-stream)
2010-09-08 06:47 UTC, Geoff Madden
Details
build environment xulrunner-1.9.2.9 (environment,286.81 KB, text/plain)
2010-09-08 06:48 UTC, Geoff Madden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff Madden 2010-09-08 06:42:55 UTC
compiling nsHTMLFrameSetElement.cpp:326 'PR_STATIC_ASSERT' not declared in this scope 

Reproducible: Always

Steps to Reproduce:
1.originally compiled with CFLAGS -ggdb failed with same error same line
2.changed CFLAGS removed -ggdb same result
3.

Actual Results:  
compilation stops update not completed

Expected Results:  
finish compile proceed to final update

Portage 2.1.9.1 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-gentoo-r5 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-gentoo-r5-x86_64-AMD_Athlon-tm-_64_Processor_3700+-with-gentoo-2.0.1
Timestamp of tree: Wed, 08 Sep 2010 02:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
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/portage /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/data/distfiles"
FEATURES="assume-digests distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/distributions/Linux/gentoo"
LANG="en_AU.UTF-8"
LC_ALL="en_AU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups curl curlwrappers cxx dbus doc dri dts dvd dvdr emboss encode exif extra fam firefox flac fortran gcj gdbm gif gnutls gpm gps gtk hal iconv imlib ipv6 java6 javascript jpeg jpeg2k kde lame lcms ldap libnotify mad mikmod mime mmx mng modplug modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openldap openmp pam pango pcntl pcre pdf perl php png policykit ppds pppd python qt3support qt4 readline reflection ruby scanner sdl semantic-desktop session sndfile snmp sockets spell sql sqlite sse sse2 ssl startup-notification svg sysfs szip taglib tcl tcpd tiff tk truetype unicode usb vorbis webkit wifi x264 xcb xft xine xml xorg xpm xsl xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

[ebuild     U ] net-libs/xulrunner-1.9.2.9 [1.9.2.8] USE="alsa cups%* dbus ipc libnotify startup-notification wifi -custom-optimization -debug -gnome -java -system-sqlite"
Comment 1 Geoff Madden 2010-09-08 06:47:08 UTC
Created attachment 246420 [details]
build log for xulrunner-1.9.2.9
Comment 2 Geoff Madden 2010-09-08 06:48:18 UTC
Created attachment 246421 [details]
build environment xulrunner-1.9.2.9
Comment 3 Ján Bednár 2010-09-08 07:03:59 UTC
Hi,

same error here.


ortage 2.2_rc77 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34.6 x86_64)
=================================================================
System uname: Linux-2.6.34.6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9400_@_2.53GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 08 Sep 2010 05:45:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.33 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
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/portage /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --jobs=3 --load-average=3 --keep-going --accept-properties=-interactive"
FEATURES="assume-digests collision-protect distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ynet.sk/pub/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="sk"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/vmware /var/lib/layman/x11 /usr/local/portage"
SYNC="rsync://mirror.gentoo.sk/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm hal iconv jpeg kde lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl session smp spell sse sse2 ssl ssse3 svg sysfs tcpd theora threads tiff truetype unicode usb vorbis x264 xcb xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 cgi cgid 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sk" NETBEANS_MODULES="gsf j2ee php enterprise webcommon ide java nb profiler websvccommon harness groovy mobility apisupport" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 pavel sanda 2010-09-08 10:56:36 UTC
the same here
Comment 5 Ján Bednár 2010-09-08 10:59:16 UTC
It should compile just fine when you add
 #include "prlog.h"
into "${WORKDIR}/${P}/content/html/content/src/nsHTMLFrameSetElement.cpp"

Sorry I don't have time for creating patched ebuild or so.
Comment 6 Pacho Ramos gentoo-dev 2010-09-08 11:58:26 UTC
*** Bug 336421 has been marked as a duplicate of this bug. ***
Comment 7 Jory A. Pratt gentoo-dev 2010-09-08 12:24:46 UTC
(In reply to comment #5)
> It should compile just fine when you add
>  #include "prlog.h"
> into "${WORKDIR}/${P}/content/html/content/src/nsHTMLFrameSetElement.cpp"
> 
> Sorry I don't have time for creating patched ebuild or so.
> 

The correct solution is to build with nspr-4.8.6 upstream seems to have drop'd the ball on updating configure.in
Comment 8 Jory A. Pratt gentoo-dev 2010-09-08 12:32:45 UTC
nspr dep has been updated, thanks for the report. If you need to reopen if bug is still there for you.
Comment 9 Nico Baggus 2010-09-10 21:18:29 UTC
it still fails today
Comment 10 Jory A. Pratt gentoo-dev 2010-09-10 23:09:03 UTC
(In reply to comment #9)
> it still fails today
> 

And what version of nspr do you currently have installed?
Comment 11 Nico Baggus 2010-09-10 23:54:08 UTC
nspr-4.8.4

and extra eix-sync, just make 4.8.6 available.
Will try again......

Yep now it works.