When trying to emerge struts-1.2.4, src_compile() fails to change to source directory. To repair, change line 29 to: S=${WORKDIR}/jakarta-${P}-src Also, as a somewhat unrelated matter, it seems to compile alright on amd64, so ~amd64 can be added to KEYWORDS.
I can't emerge this ebuild either - I have problems unpacking the archive. bash-2.05b# emerge -v struts Calculating dependencies ...done! >>> emerge (1 of 1) dev-java/struts-1.2.4 to / >>> md5 src_uri ;-) jakarta-struts-1.2.4-src.tar.gz >>> Unpacking source... >>> Unpacking jakarta-struts-1.2.4-src.tar.gz to /var/tmp/portage/struts-1.2.4/work tar: A lone zero block at 101338 /usr/sbin/ebuild.sh: line 37: cd: /var/tmp/portage/struts-1.2.4/work/jakarta-struts: No such file or directory >>> Source unpacked. Buildfile: build.xml does not exist! Build failed !!! ERROR: dev-java/struts-1.2.4 failed. !!! Function src_compile, Line 47, Exitcode 1 !!! compile failed
fixed