that's a warning of tar at beginning:
emerge (1 of 1) dev-java/velocity-1.4 to /
>>> md5 src_uri ;-) velocity-1.4.tar.gz
>>> Unpacking source...
>>> Unpacking velocity-1.4.tar.gz to /var/tmp/portage/velocity-1.4/work
tar: A lone zero block at 33128
[....]
compile-copy:
[copy] Copying 2 files to /mnt/Dati/Gentoo/tmp/portage/velocity-1.4/work/velocity-1.4/bin/classes/org/apache/velocity/runtime/defaults
[copy] Copying 1 file to /mnt/Dati/Gentoo/tmp/portage/velocity-1.4/work/velocity-1.4/bin/classes/org/apache/velocity/texen/defaults
jar:
[jar] Building jar: /mnt/Dati/Gentoo/tmp/portage/velocity-1.4/work/velocity-1.4/bin/velocity-1.4.jar
BUILD SUCCESSFUL
Total time: 45 seconds
!!! ERROR: dev-java/velocity-1.4 failed.
!!! Function src_compile, Line 34, Exitcode 1
!!! Document compile failed
it fails, even if compilation was good. i have "-doc" in my use flags...and ebuild complains about document...no idea if it's something related, guess not :)