Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301874 - net-libs/xulrunner-1.9.2: build fails on nsTArray.h:47 / with sys-devel/gcc-4.4.2
Summary: net-libs/xulrunner-1.9.2: build fails on nsTArray.h:47 / with sys-devel/gcc-4...
Status: RESOLVED DUPLICATE of bug 289580
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL: https://bugs.launchpad.net/ubuntu/+so...
Whiteboard:
Keywords:
: 302554 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-22 22:34 UTC by Laurent G.
Modified: 2010-07-23 16:56 UTC (History)
7 users (show)

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


Attachments
wireless-tools-29remove-broken-inline.patch (wireless-tools-29remove-broken-inline.patch,1.49 KB, patch)
2010-01-31 00:54 UTC, Jory A. Pratt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent G. 2010-01-22 22:34:32 UTC
powerpc-unknown-linux-gnu-g++ -o nsWifiScannerUnix.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DIMPL_NS_NET  -I. -I. -I../../../dist/include -I../../../dist/include/nsprpub  -I/usr/include/nspr -I/usr/include/nss         -fPIC   -fno-rtti -fno-handle-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -mcpu=7400 -pipe -fno-strict-aliasing -mabi=altivec -Wno-return-type -w -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions    -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsWifiScannerUnix.pp nsWifiScannerUnix.cpp                                                                                                                                                                                 
In file included from /usr/lib/gcc/powerpc-unknown-linux-gnu/4.4.2/include/g++-v4/cstddef:44,                                                                                      
                 from /usr/lib/gcc/powerpc-unknown-linux-gnu/4.4.2/include/g++-v4/new:40,                                                                                          
                 from ../../../dist/include/nsTArray.h:47,                                                                                                                         
                 from ../../../dist/include/nsReadableUtils.h:52,                                                                                                                  
                 from ../../../dist/include/nsString.h:53,                                                                                                                         
                 from ../../../dist/include/nsStringGlue.h:50,                                                                                                                     
                 from ../../../dist/include/nsVoidArray.h:44,                                                                                                                      
                 from ../../../dist/include/nsCOMArray.h:43,                                                                                                                       
                 from nsWifiMonitor.h:47,                                                                                                                                          
                 from nsWifiScannerUnix.cpp:46:                                                                                                                                    
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.4.2/include/g++-v4/powerpc-unknown-linux-gnu/bits/c++config.h:214: error: expected unqualified-id before 'namespace'                      
make[5]: *** [nsWifiScannerUnix.o] Error 1                                                                                                                                         
214:  inline namespace __gnu_cxx_ldbl128 { }


Reproducible: Always




GENTOO_VM=ibm-jdk-bin-1.6  CLASSPATH="" JAVA_HOME="/opt/ibm-jdk-bin-1.6.0.7"                                                                                                      
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""                                                                                                                                   
emerge --info
Portage 2.2_rc61 (default/linux/powerpc/ppc32/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.30-gentoo-r4-l0 ppc)
=================================================================                                             
System uname: Linux-2.6.30-gentoo-r4-l0-ppc-7447A,_altivec_supported-with-gentoo-2.0.1                        
Timestamp of tree: Fri, 22 Jan 2010 19:30:01 +0000                                                            
distcc 3.1 powerpc-unknown-linux-gnu [disabled]                                                               
ccache version 2.4 [enabled]                                                                                  
app-shells/bash:     4.0_p37                                                                                  
dev-java/java-config: 2.1.10                                                                                  
dev-lang/python:     2.5.4-r4, 2.6.4, 3.1.1-r1                                                                
dev-python/pycrypto: 2.1.0                                                                                    
dev-util/ccache:     2.4-r8                                                                                   
dev-util/cmake:      2.8.0                                                                                    
sys-apps/baselayout: 2.0.1                                                                                    
sys-apps/openrc:     0.6.0-r1                                                                                 
sys-apps/sandbox:    2.2                                                                                      
sys-devel/autoconf:  2.13, 2.65                                                                               
sys-devel/automake:  1.6.3, 1.9.6-r2, 1.10.3, 1.11.1                                                          
sys-devel/binutils:  2.20                                                                                     
sys-devel/gcc-config: 1.4.1                                                                                   
sys-devel/libtool:   2.2.6b                                                                                   
virtual/os-headers:  2.6.30-r1                                                                                
ACCEPT_KEYWORDS="ppc ~ppc"                                                                                    
ACCEPT_LICENSE="* -@EULA IBM-J1.5 IBM-J1.6"                                                                   
CBUILD="powerpc-unknown-linux-gnu"                                                                            
CFLAGS="-mcpu=7400 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec"                                    
CHOST="powerpc-unknown-linux-gnu"                                                                             
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"                                                    
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"                                                                                                                                                                                 
CXXFLAGS="-mcpu=7400 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec"                                                                                                       
DISTDIR="/in_n_outs/distfiles"                                                                                                                                                     
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"               
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ "                                                                                       
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="fr fr_FR"
MAKEOPTS="-j2"
PKGDIR="/in_n_outs/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="/usr/local/portage/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl alsa altivec apache2 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cscope cups cxx dba dbus dri dts dvd dvdr eds emboss encode evo fam fbcon filter flac flash fortran gb gcj gd gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 java jikes jpeg kde kdehiddenvisibility kpathsea ldap libnotify mad mikmod mng modules mozdevelop mozsvg mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin objc ogg oggvorbis opengl openmp pam pcre pdf pdflib perl png povray ppc ppds pppd python qt qt3support qt4 quicktime readline reflection samba scanner sdl session speex spell spl ssl startup-notification svg sysfs tcpd tetex theora threads thunar tiff tk truetype udev unicode usb vorbis wmf x264 xine xinerama xml xml2 xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="snd-aoa" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati fbdev radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jory A. Pratt gentoo-dev 2010-01-28 03:58:12 UTC
*** Bug 302554 has been marked as a duplicate of this bug. ***
Comment 2 Jory A. Pratt gentoo-dev 2010-01-31 00:54:32 UTC
Created attachment 217957 [details, diff]
wireless-tools-29remove-broken-inline.patch

Patch is from ubuntu upstream problem there has been fixed.
Comment 3 Joe Jezak (RETIRED) gentoo-dev 2010-02-10 16:01:29 UTC
Do the CC'd arches have to do anything here?
Comment 4 Jory A. Pratt gentoo-dev 2010-02-11 05:01:14 UTC
(In reply to comment #3)
> Do the CC'd arches have to do anything here?
> 

Joe nothing to do for archs, gives you all the ability to track the breakage within your arch for mozilla products.
Comment 5 Jory A. Pratt gentoo-dev 2010-03-28 02:38:47 UTC
Mobile team please fix this, this is one of the last bugs I need fixed before I can call for xulrunner-1.9.2/firefox-3.6.x stable. I would like to make this call within the next couple of weeks.
Comment 6 Raúl Porcel (RETIRED) gentoo-dev 2010-05-23 18:55:54 UTC
I'd say go ahead and do it yourself
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-07-17 14:26:29 UTC
(In reply to comment #6)
> I'd say go ahead and do it yourself
> 

Any progress?
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2010-07-23 16:53:21 UTC

*** This bug has been marked as a duplicate of bug 289580 ***
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2010-07-23 16:56:29 UTC
Nothing wrong with the compiler.