"emerge -av swt" fails. I think this is because, for some reason, the sun-jdk ebuild asks for the file j2sdk-1_4_2_08-linux-i586.bin instead of j2sdk-1_4_2_08-linux-ia64.bin, so there is no /opt/sun-jdk-1.4.2.08/jre/lib/amd64. Reproducible: Always Steps to Reproduce: 1.emerge -av swf 2. 3. >>> emerge (1 of 1) dev-java/swt-3.1 to / >>> md5 files ;-) swt-3.1.ebuild >>> md5 files ;-) files/build-3.1_pre7.xml >>> md5 files ;-) files/SWTMessages.properties >>> md5 files ;-) files/build.xml >>> md5 files ;-) files/cairo.patch >>> md5 files ;-) files/build-3.1.xml >>> md5 files ;-) files/digest-swt-3.1 >>> md5 src_uri ;-) swt-3.1-gtk-linux-x86_64.zip >>> Unpacking source... >>> Unpacking swt-3.1-gtk-linux-x86_64.zip to /var/tmp/portage/swt-3.1/work Unpacking src.zip to /var/tmp/portage/swt-3.1/work >>> Source unpacked. Building AWT library cc -O -Wall -DSWT_VERSION=3138 -DLINUX -DGTK -I/opt/sun-jdk-1.4.2.08/include -I/opt/sun-jdk-1.4.2.08/include/linux -fpic -DSWT_PTR_SIZE_64 -c -o swt_awt.o swt_awt.c ld -L/opt/sun-jdk-1.4.2.08/jre/lib/amd64 -ljawt -shared -s -o libswt-awt-gtk-3138.so swt_awt.o ld: cannot find -ljawt make: *** [libswt-awt-gtk-3138.so] Error 1 !!! ERROR: dev-java/swt-3.1 failed. !!! Function src_compile, Line 101, Exitcode 2 !!! Failed to build AWT support !!! If you need support, post the topmost build error, NOT this status message.
I can't see sun-jdk-1.4.2.08 marked for amd64 at all.. and btw ia64 has nothing to do with amd64. You probably added ~x86 to package.keywords for that ebuild or to make.conf? In such a case you're on your own.
Bugger, sorry, I'm retarded, C&Ping blindly. There is no amd64 JDK, thanks. I don't have ~x86 anywhere, but I do have x86 (no ~) in make.conf; would that be the problem?
Using blackdown-jdk instead of sun-jdk allows it to compile.
(In reply to comment #2) > Bugger, sorry, I'm retarded, C&Ping blindly. There is no amd64 JDK, thanks. > > I don't have ~x86 anywhere, but I do have x86 (no ~) in make.conf; would that be > the problem? > If you are on a amd64 profile, I think that is a huge problem.
Sorry. Forgot to add that posting emerge info greatly helps in these kinds of situations because we can easily see information about your system instead of guessing.