Fec-1.0.4 fails with errors about not finding jni.h header file (build.log included). It seems to search it from //opt/sun-jdk-1.6.0.17/include/linux/, but the jni.h is in /opt/sun-jdk-1.6.0.17/include/
Created attachment 215922 [details] build.log
+1, happens to me also
This workaround made the trick for me: # cd $JAVA_HOME/include/linux # ln -s ../jni.h . Then you will have a "Bad descriptor" error. I resolved by using: # CFLAGS=-fPIC emerge --oneshot fec
When the ebuild calls make, it sets the CFLAGS from make.conf. However, these flags override the CFLAGS set in the Makefile, removing the include directory for jni.h. A solution is to add the relevant -I flag to CFLAGS. I don't know if this is good practice though. In the ebuild, before the line emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" || die add append-flags '-I$(JAVA_HOME)/include' CFLAGS="${CFLAGS}" is also unnecessary, because the environment variable overrides the variable in the makefile (because it was declared with ?=, I suppose).
Hopefully fixed give it a few hours to hit the mirrors. Reopen this bug if it doesn't work. Also *.so files should now have a soname entry as well.