Tried to emerge commons-logging-1.0.4-r1. Relevant USE flags: "-avalon +doc -jikes +source". Build fails with: >>> Test phase [not enabled]: dev-java/commons-logging-1.0.4-r1 >>> Install commons-logging-1.0.4-r1 into /var/tmp/portage/commons-logging-1.0.4-r1/image/ category dev-java zip error: Nothing to do! (/var/tmp/portage/commons-logging-1.0.4-r1/temp/commons-logging-src.zip) !!! ERROR: dev-java/commons-logging-1.0.4-r1 failed. !!! Function java-pkg_dosrc, Line 355, Exitcode 12 !!! zip failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. Add "source" to USE flags. 2. # emerge commons-logging Actual Results: Build failed while attempting to zip up source files. Bug appears to be in the ebuild itself & how it handles "source" USE flag. I put a copy in /usr/local/portage, made one tiny change, built cleanly, and apparently correctly. The issue appears related to java-pkg_dosrc and the actual file mask passed to it by the ebuild, but I couldn't zero in on it. I will attach a diff of the ebuild.
Created attachment 65781 [details, diff] Patch for ebuild
*** This bug has been marked as a duplicate of 102085 *** *** This bug has been marked as a duplicate of 102085 ***
Please do emerge sync in the future before filing bugs.