Here's what I get when I try to compile swt with ibm-jdk ~ # FEATURES="-ccache" emerge --oneshot swt -av These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-java/swt-3.2-r1 USE="cairo gnome opengl -seamonkey" 0 kB Total size of downloads: 0 kB Would you like to merge these packages? [Yes/No] yes >>> Emerging (1 of 1) dev-java/swt-3.2-r1 to / * swt-3.2-gtk-linux-x86_64.zip MD5 ;-) ... [ ok ] * swt-3.2-gtk-linux-x86_64.zip RMD160 ;-) ... [ ok ] * swt-3.2-gtk-linux-x86_64.zip SHA1 ;-) ... [ ok ] * swt-3.2-gtk-linux-x86_64.zip SHA256 ;-) ... [ ok ] * swt-3.2-gtk-linux-x86_64.zip size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking swt-3.2-gtk-linux-x86_64.zip ;-) ... [ ok ] * Using: ibm-jdk-bin-1.4 >>> Unpacking source... * Unpacking src.zip to /var/tmp/portage/swt-3.2-r1/work * Applying swt-3.2-gcc-4.x-warning-fix.patch ... [ ok ] * Applying swt-3.2-cairo-signedness-x86_64.patch ... [ ok ]>>> Source unpacked. >>> Compiling source in /var/tmp/portage/swt-3.2-r1/work ... * Building AWT library cc -O -Wall -DSWT_VERSION=3232 -DLINUX -DGTK -I/opt/ibm-jdk-bin-1.4.2.5/include -I/opt/ibm-jdk-bin-1.4.2.5/include/linux -fPIC -DSWT_PTR_SIZE_64 -c -o swt_awt.o swt_awt.c In file included from /opt/ibm-jdk-bin-1.4.2.5/include/jawt_md.h:46, from swt_awt.c:12: /opt/ibm-jdk-bin-1.4.2.5/include/jawt.h:301: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jboolean' swt_awt.c: In function 'Java_org_eclipse_swt_awt_SWT_1AWT_getAWTHandle': swt_awt.c:28: warning: implicit declaration of function 'JAWT_GetAWT' distcc[20526] ERROR: compile swt_awt.c on localhost failed make: *** [swt_awt.o] Error 1 !!! ERROR: dev-java/swt-3.2-r1 failed. Call stack: ebuild.sh, line 1543: Called dyn_compile ebuild.sh, line 936: Called src_compile swt-3.2-r1.ebuild, line 108: Called die !!! Failed to build AWT support !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM=ibm-jdk-bin-1.4 CLASSPATH="" JAVA_HOME="/opt/ibm-jdk-bin-1.4.2.5" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" and of course, the output of emerge --info
emerge --info Portage 2.1.1_rc1-r4 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 x86_64) ================================================================= System uname: 2.6.17-gentoo-r7 x86_64 AMD Athlon(tm) 64 FX-55 Processor Gentoo Base System version 1.12.4 Last Sync: Tue, 05 Sep 2006 14:30: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: [Not Present] dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 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.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=athlon-fx -march=athlon-fx -O2 -O3 -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-mtune=athlon-fx -march=athlon-fx -O2 -O3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.osuosl.org/ http://gentoo.llarian.net/" LANG="en_US.utf8" LC_ALL="en_US.utf8" LINGUAS="en" 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" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi alsa avahi avi beagle berkdb bitmap-fonts bzip2 cairo cli crypt dbus dlloader dri dts dvd elibc_glibc emboss encode fam ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal ieee1394 input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog java jpeg kde kernel_linux libg++ linguas_en logrotate mad mikmod mmap mng mono mp3 mp4 mpeg mysql nautilus ncurses nfs nls nptl nptlonly nsplugin ogg opengl pam pcre pdf pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl sqlite ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nv video_cards_nvidia vorbis x264 xine xml xorg xv xvid xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
And here's what I get when I try with just jrockit-jdk installed. If I merge blackdown-jdk, even if I have ibm-jdk or jrockit-jdk set as the system vm, swt compiles just fine. ~ # FEATURES="-ccache" emerge --oneshot swt Calculating dependencies... done! >>> Emerging (1 of 1) dev-java/swt-3.2-r1 to / * swt-3.2-gtk-linux-x86_64.zip MD5 ;-) ... [ ok ] * swt-3.2-gtk-linux-x86_64.zip RMD160 ;-) ... [ ok ] * swt-3.2-gtk-linux-x86_64.zip SHA1 ;-) ... [ ok ] * swt-3.2-gtk-linux-x86_64.zip SHA256 ;-) ... [ ok ] * swt-3.2-gtk-linux-x86_64.zip size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking swt-3.2-gtk-linux-x86_64.zip ;-) ... [ ok ] * Using: jrockit-jdk-bin-1.4 >>> Unpacking source... * Unpacking src.zip to /var/tmp/portage/swt-3.2-r1/work * Applying swt-3.2-gcc-4.x-warning-fix.patch ... [ ok ] * Applying swt-3.2-cairo-signedness-x86_64.patch ... [ ok ]>>> Source unpacked. >>> Compiling source in /var/tmp/portage/swt-3.2-r1/work ... * Building AWT library cc -O -Wall -DSWT_VERSION=3232 -DLINUX -DGTK -I/opt/jrockit-jdk-bin-1.4.2.11/include -I/opt/jrockit-jdk-bin-1.4.2.11/include/linux -fPIC -DSWT_PTR_SIZE_64 -c -o swt_awt.o swt_awt.c cc -L/opt/jrockit-jdk-bin-1.4.2.11/jre/lib/amd64 -ljawt -shared -s -o libswt-awt-gtk-3232.so swt_awt.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ljawt collect2: ld returned 1 exit status distcc[23168] ERROR: compile (null) on localhost failed make: *** [libswt-awt-gtk-3232.so] Error 1 !!! ERROR: dev-java/swt-3.2-r1 failed. Call stack: ebuild.sh, line 1543: Called dyn_compile ebuild.sh, line 936: Called src_compile swt-3.2-r1.ebuild, line 108: Called die !!! Failed to build AWT support !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM=jrockit-jdk-bin-1.4 CLASSPATH="" JAVA_HOME="/opt/jrockit-jdk-bin-1.4.2.11" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" and of course, the output of emerge --info
Can't reproduce on x86... amd64-specific? (In reply to comment #2) > And here's what I get when I try with just jrockit-jdk installed. If I merge > blackdown-jdk, even if I have ibm-jdk or jrockit-jdk set as the system vm, swt > compiles just fine. This is because system vm doesn't control build vm anymore, read "Preferred VM" at http://www.gentoo.org/doc/en/java.xml#doc_chap4
(In reply to comment #3) > Can't reproduce on x86... amd64-specific? > Seems to be. I tried the same procedure on my x86 box, and my other amd64 box. Compiles just fine on x86 without blackdown-jdk, and both ibm-jdk and jrockit-jdk. The other amd64 box bails with the same message as the original.
This isn't good, looks like a new swt ebuild was comitted 10 hours ago and now I can't now I get this hell ----------------------------------------------------------------------------- h4x0r aaron # emerge -uNDpv world These are the packages that would be merged, in order: Calculating world dependencies - emerge: there are no ebuilds to satisfy ">=dev-java/blackdown-jdk-1.5". (dependency required by "dev-java/swt-3.2-r1" [ebuild]) !!! Problem resolving dependencies for net-p2p/azureus !!! Depgraph creation failed. -------------------emerge --info----------------------------------------- h4x0r aaron # emerge --info Portage 2.1.1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 x86_64) ================================================================= System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.5 Last Sync: Fri, 15 Sep 2006 04:29:01 +0000 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r3 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.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.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" 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/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa avi berkdb bitmap-fonts cli crypt cups dbus dlloader dri dvdread elibc_glibc emboss encode foomaticdb fortran gif gpm gstreamer gtk gtk2 hal imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU video_cards_nvidia xinerama xorg xpm xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
(In reply to comment #5) > > Calculating world dependencies - > emerge: there are no ebuilds to satisfy ">=dev-java/blackdown-jdk-1.5". > (dependency required by "dev-java/swt-3.2-r1" [ebuild]) > Unrelated to issue at hand: https://overlays.gentoo.org/proj/java/wiki/Common_Problems#Cantfinddependencyforgtdevjava/blackdownjdk1.5
Reassigning.
*** Bug 172618 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 126105 ***