Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126957 - dev-util/eclipse-sdk doesn't like mozilla-firefox-1.5
Summary: dev-util/eclipse-sdk doesn't like mozilla-firefox-1.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Development Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-20 06:20 UTC by Kerie
Modified: 2006-09-13 15:22 UTC (History)
0 users

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 Kerie 2006-03-20 06:20:05 UTC
the eclipse-sdk-3.1.1 ebuild fails on AMD64 using GCC4.1 and glibc-2.4

     [exec] xpcom.cpp: In function 'jlong Java_org_eclipse_swt_internal_mozilla_XPCOM_Call(JNIEnv*, _jclass*, jlong, jlong, jlong, _jbyteArray*, jint, jint, _jintArray*)':
     [exec] xpcom.cpp:47: error: 'PRUint32' was not declared in this scope
     [exec] xpcom.cpp:47: error: expected primary-expression before ')' token
     [exec] xpcom.cpp:47: error: expected primary-expression before ')' token
     [exec] xpcom.cpp: In function 'void Java_org_eclipse_swt_internal_mozilla_XPCOM_PR_1Free(JNIEnv*, _jclass*, jlong)':
     [exec] xpcom.cpp:133: error: 'PR_Free' was not declared in this scope
     [exec] xpcom.cpp: In function 'jlong Java_org_eclipse_swt_internal_mozilla_XPCOM_PR_1Malloc(JNIEnv*, _jclass*, jint)':
     [exec] xpcom.cpp:144: error: 'PR_Malloc' was not declared in this scope
     [exec] xpcom.cpp: In function 'jint Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedCString_1Length(JNIEnv*, _jclass*, jlong)':
     [exec] xpcom.cpp:1884: error: 'class nsCString_external' has no member named 'Length'
     [exec] xpcom.cpp: In function 'jint Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedString_1Length(JNIEnv*, _jclass*, jlong)':
     [exec] xpcom.cpp:1946: error: 'class nsString_external' has no member named 'Length'
     [exec] xpcom.cpp: In function 'jlong Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedString_1get(JNIEnv*, _jclass*, jlong)':
     [exec] xpcom.cpp:1968: error: 'class nsString_external' has no member named 'get'
     [exec] xpcom.cpp: In function 'jlong Java_org_eclipse_swt_internal_mozilla_XPCOM_nsEmbedString_1new___3C(JNIEnv*, _jclass*, _jcharArray*)':
     [exec] xpcom.cpp:1994: error: invalid conversion from 'jchar*' to 'int'
     [exec] xpcom.cpp:1994: error:   initializing argument 1 of 'nsString_external::nsString_external(int)'
     [exec] xpcom.cpp: In function 'jboolean Java_org_eclipse_swt_internal_mozilla_XPCOM_nsID_1Equals(JNIEnv*, _jclass*, jlong, jlong)':
     [exec] xpcom.cpp:2008: error: 'struct nsID' has no member named 'Equals'
     [exec] xpcom.cpp: In function 'jboolean Java_org_eclipse_swt_internal_mozilla_XPCOM_nsID_1Parse(JNIEnv*, _jclass*, jlong, _jstring*)':
     [exec] xpcom.cpp:2022: error: 'struct nsID' has no member named 'Parse'
     [exec] make: *** [xpcom.o] Error 1

BUILD FAILED
/var/tmp/portage/eclipse-sdk-3.1.1/work/eclipse-sdk-3.1.1/build.xml:53: exec returned: 2

Total time: 9 minutes 16 seconds

!!! ERROR: dev-util/eclipse-sdk-3.1.1 failed.
Call stack:
  ebuild.sh, line 1565:   Called dyn_compile
  ebuild.sh, line 974:   Called src_compile

!!! Failed to compile Eclipse
!!! If you need support, post the topmost build error, and the call stack if relevant.


emerge info:Portage 2.1_pre6-r4 (default-linux/amd64/2005.1, gcc-4.1.0, glibc-2.4-r1, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/ebuildexchange /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 16bit 64bit 7zip X a52 aac aalib acl acpi adns aim alsa apache apache2 applet asf async atk automount bash-completion bdf berkdb bidi bigger-fonts bl bonjour bootsplash boundschecking browserplugin bzip2 cairo calendar cdda cddb cdinstall cdio cdparanoia cdr cdrom chm chroot clamav clamd cpudetection cracklib crypt css cups daap dbus dga dio dlloader dri dvd dvdr dvdread emul-linux-x86 encode escreen examples exif extensions fame fat fbcon fbsplash ffmpeg firefox flac foomaticdb ftp gecko-sdk gif gimp gimpprint glut glx gnome gpm gs gstreamer gtk gtk2 hal id3 idn ieee1394 imagemagick imap imlib imlib2 inifile innodb irc jack java jp2 jpeg jpeg2k kde kerberos lame latex lesstif libclamav libsamplerate lm_sensors logrotate mad maildir math memlimit mikmod mime mjpeg mmap mng motif mozcalendar mozdevelop mozilla moznocompose moznoirc mozsvg mp3 mp4live mpeg mpeg2 mpi mplayer msn msnextras musicbrainz mysql ncurses netboot nis no-old-linux nocardbus nocd nodrm nowin nptl nptlonly nsplugin ntfs ntlm nvidia offensive ogg openal opengl osc pam pascal pcntl pdf pdflib perl php player png posix postfix povray ppds python qt quicktime readline real reiserfs rrdtool samba sasl sblive screen sdl sensord session sftp sharedmem sndfile sockets socks5 soundtouch sox spell spl sql sqlite ssl subtitles subversion svg swat sysvipc tagwriting tcltk tcpd tetex threads tidy tiff tokenizer tos transcode truetype truetype-fonts type1 type1-fonts unicode urandom usb v4l v4l2 vcd verbose vhosts vorbis wma wmf wxwindows xanim xine xinerama xml xml2 xmms xosd xpm xprint xsl xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-04-13 13:14:44 UTC
I really don't think this is related to gcc-4.1. Let me guess... are you using mozilla-firefox-1.5 ? If so, try unmerging it, then try merging eclipse-sdk again.
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2006-04-14 22:44:01 UTC
Removing blocker because it's not a gcc issue.
Comment 3 Josh Nichols (RETIRED) gentoo-dev 2006-09-13 15:22:08 UTC
This was fixed awhile ago. We switched to using gecko-sdk, and then later to seamonkey.