Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135169 - gecko-sdk-1.7.13 fails to compile
Summary: gecko-sdk-1.7.13 fails to compile
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-01 08:15 UTC by Avuton Olrich
Modified: 2006-11-11 13:55 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Avuton Olrich 2006-06-01 08:15:57 UTC
gecko-sdk fails to compile:

x86_64-pc-linux-gnu-g++ -o TestIOThreads.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\"  -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/necko -I../../dist/include/pref -I../../dist/include/util -I../../dist/include/test_necko -I../../dist/include -I/var/tmp/portage/gecko-sdk-1.7.13/work/mozilla/dist/include/nspr        -fPIC  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -fno-rtti -fno-handle-exceptions  -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -g -march=athlon64 -pipe -fPIC -Wno-return-type -w -fshort-wchar -pthread -pipe  -DDEBUG -D_DEBUG -DDEBUG_portage -DTRACING -g -fno-inline -O1  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/TestIOThreads.pp TestIOThreads.cpp                                                                            
TestIOThreads.cpp: In function 'void* HandleEvent(PLEvent*)':                                                                                                                                                                                                             
TestIOThreads.cpp:53: error: cast from 'void*' to 'int' loses precision                                                                                                                                                                                                   
gmake[3]: *** [TestIOThreads.o] Error 1                                                                                                                                                                                                                                   
gmake[3]: *** Waiting for unfinished jobs....                                                                                                                                                                                                                             
gmake[3]: Leaving directory `/var/tmp/portage/gecko-sdk-1.7.13/work/mozilla/netwerk/test'                                                                                                                                                                                 
gmake[2]: *** [libs] Error 2                                                                                                                                                                                                                                              
gmake[2]: Leaving directory `/var/tmp/portage/gecko-sdk-1.7.13/work/mozilla/netwerk'                                                                                                                                                                                      
gmake[1]: *** [tier_9] Error 2                                                                                                                                                                                                                                            
gmake[1]: Leaving directory `/var/tmp/portage/gecko-sdk-1.7.13/work/mozilla'                                                                                                                                                                                              
make: *** [default] Error 2
Comment 1 Avuton Olrich 2006-06-01 08:16:11 UTC
emerge --info:
sbh@rocket ~ $ sudo emerge --info
Portage 2.1_rc3-r3 (!/usr/portage/profiles/default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-ck11 x86_64)
=================================================================
System uname: 2.6.16-ck11 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.0
distcc[6278] (dcc_mkdir) ERROR: mkdir /var/tmp/portage/.distcc//state failed: No such file or directory [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.91.0.6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-g -O2 -march=athlon64 -pipe -ffast-math -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-fno-enforce-eh-specs -g -O2 -march=athlon64 -pipe -ffast-math -msse3"
DISTDIR="/usr/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer nostrip sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/shapeshifter/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/initng-portage /usr/local/mpd-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 64bit 7zip X a52 aac aalib acpi aim alsa ao asf audiofile avi bash-completion berkdb bitmap-fonts bittorrent bzip2 c++ cairo calendar cdda cddb cdparanoia cli clock-screen crosscompile crypt css cups curl dbus debug dri dvd dvdr dvdread eds encode ext-png ext-zlib fam ffmpeg firefox flac foomaticdb fortran gcj gdb gif glut glx gmail gpm grammar gstreamer gstreamer010 gtalk gzip hal id3 ieee1394 image imlib imlib2 java javascript jikes joystick jpeg jpeg2k kde kdehiddenvisibility key-screen lame libnotify libsamplerate libvisual linuxkeys linuxthreads-tls live lzw lzw-tiff mad mmap mouse mozilla mozsvg mp3 mp4 mp4live mpeg mpeg2 mplayer ncurses net nfs nntp no-old-linux nomalloccheck nptl nptlonly nsplugin nvidia objc offensive ogg openal openexr opengl openssh openssl oscar pam pcre pdf pdflib perl png pppd python qt qt3 qt4 quicktime rar readline reflection reiser4 reiserfs rss rtc scp screen sdl search-screen session smp speedo speex spell spl ssl subversion svg svgz symlink sysfs syslog szip t1lib theora threads tiff truetype truetype-fonts type1 type1-fonts udev unicode unzip usb utf8 vim vim-with-x vorbis web wma wma123 wmf wordperfect xfs xinerama xorg xpm xrandr xscreensaver xv xvmc zip zlib elibc_glibc initng_plugins_doc initng_plugins_also initng_plugins_bash_launcher initng_plugins_chdir initng_plugins_chroot initng_plugins_conflict initng_plugins_cpout initng_plugins_critical initng_plugins_cron initng_plugins_daemon initng_plugins_dev initng_plugins_dllaunch initng_plugins_envparser initng_plugins_find initng_plugins_fstat initng_plugins_history initng_plugins_idleprobe initng_plugins_initctl initng_plugins_interactive initng_plugins_iparser initng_plugins_last initng_plugins_limit initng_plugins_logfile initng_plugins_netprobe initng_plugins_ngc2 initng_plugins_pause initng_plugins_pidfile initng_plugins_reload initng_plugins_renice initng_plugins_rlparser initng_plugins_simple_launcher initng_plugins_stcmd initng_plugins_stdout initng_plugins_suid initng_plugins_syncron initng_plugins_syslog initng_plugins_unneeded initng_plugins_ctrlaltdel initng_plugins_daemon_clean initng_plugins_dbus_event initng_plugins_debug_commands initng_plugins_lockfile initng_plugins_ngc4 initng_plugins_nge initng_plugins_pidfiletest initng_plugins_usplash initng_plugins_ngcs kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jory A. Pratt 2006-06-02 18:35:03 UTC
if you would test CXXFLAGS="-g -O2 -march=athlon64 -pipe -ffast-math" and report back please.
Comment 3 Avuton Olrich 2006-06-03 00:55:56 UTC
That's still a no-go
Comment 4 Chris Torske 2006-06-15 17:02:47 UTC
I too get the same problem.

Portage 2.1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.16-gentoo x86_64)
=================================================================
System uname: 2.6.16-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -floop-optimize2 -fno-omit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O3 -pipe -floop-optimize2 -fno-omit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en_US en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X X509 Xaw3d a52 aac akode alsa amr apache2 arts async automount avi bash-completion bcmath berkdb bitmap-fonts browserplugin bzip2 cairo caps cddb cdr clearcase cli crypt cups cvs dbus debug dga djbfft djvu dlloader dmi doc dri dts dvd dvdread dvi dxr3 ecc emboss encode esd examples exif expat fame ffmpeg firefox flac fltk fontconfig foomaticdb fortran gd gdbm ggi gif glitz gmp gnome gnutls gpgme gpm graphviz gs gstreamer gtk gtk2 hal idea imagemagick imlib isdnlog java javascript jpeg jpeg2k kde kerberos krb4 lcms lesstif libedit logrotate lzo lzw lzw-tiff mad mailwrapper md5sum mjpeg mng motif mozdevelop mozilla mp3 mpeg musepack musicbrainz mysql mysqli nautilus ncurses neXt nfs nls nntp nptl nsplugin ntpl numeric nvidia ogg openal openexr opengl oss pam pcntl pcre pdflib perl php physfs png posix ppds pppd pwdb python qt qt4 quicktime readline reflection rle rtc ruby samba sdk sdl session simplexml smime sndfile source speex spell spl sql sqlite ssl subversion svg symlink syslog t1lib tcltk tcpd tetex theora threads tidy tiff timidity toolbar tools truetype truetype-fonts type1-fonts unicode urandom usb v4l v4l2 vhosts vorbis vorbis-psy winbind wmf xcomposite xine xml xml2 xmldoclet xmlreader xmlrpc xmlwriter xmms xorg xpm xprint xscreensaver xsl xv xvid xvmc zip zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_US linguas_en userland_GNU video_cards_nvidia video_cards_glint video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Nathan Sullivan 2006-09-24 20:37:55 UTC
confirmed, same issue arises here.

Portage 2.1.2_pre1-r1 (default-linux/amd64/2006.1/desktop, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-ck1-r2 x86_64)
=================================================================
System uname: 2.6.17-ck1-r2 x86_64 AMD Opteron(tm) Processor 148
Gentoo Base System version 1.12.5
Last Sync: Sun, 24 Sep 2006 16:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5, 2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -g" 
CHOST="x86_64-pc-linux-gnu"     
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -pipe -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks fixpackages metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://public.planetmirror.com/pub/gentoo/"
MAKEOPTS="-j5"                  
PKGDIR="/usr/portage/packages"  
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"       
PORTDIR="/usr/portage"          
PORTDIR_OVERLAY="/usr/local/portage-overlays/testing /usr/local/portage-overlays/gentoo-webapps-overlay/experimental /usr/local/portage-overlays/rezlooks-emul /usr/local/portage-overlays/rezlooks-overlay /usr/local/portage-overlays/nspluginwrapper-overlay /usr/local/portage-overlays/gentoo-voip-overlay /usr/local/portage-overlays/kerio-overlay"
SYNC="rsync://172.17.0.2/gentoo-portage"
USE="X acpi aim alsa amd64 apache2 audiofile avi bash-completion berkdb big-tables bitmap-fonts bzip2 cairo canvas cdr cli crypt cups curl dba dbus debug divx4linux dlloader dri dvd dvdr elibc_glibc emboss encode ethereal exif extraengine fam ffmpeg firefox flac fortran gd gdbm gif gimpprint glut gmp gpm gstreamer gtk gtk2 hal icq idn imap innodb input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java jpeg kerberos kernel_linux lcms ldap libcaca libg++ logrotate mad mhash mikmod mng mono mozsvg mp3 mpeg mppe-mppc mysql mysqli ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pcntl pcre pdf pdflib pear perl php png posix ppds pppd python quicktime readline reflection ruby samba sdl session slang snmp soap sockets spell spl sqlite ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU userlocales utf8 video_cards_nvidia vorbis wddx xine xinerama xml xml2 xmlrpc xorg xosd xprint xsl xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-11-11 13:55:58 UTC
gecko-sdk will be removed from the tree together with mozilla (see Bug 137665).

WONTFIX.