Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102282 - commons-logging-1.0.4-r1 build fails with source USE flag
Summary: commons-logging-1.0.4-r1 build fails with source USE flag
Status: RESOLVED DUPLICATE of bug 102085
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-12 12:53 UTC by simishag
Modified: 2005-08-12 13:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for ebuild (cl-patch.txt,446 bytes, patch)
2005-08-12 12:55 UTC, simishag
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description simishag 2005-08-12 12:53:10 UTC
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.
Comment 1 simishag 2005-08-12 12:55:34 UTC
Created attachment 65781 [details, diff]
Patch for ebuild
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-08-12 12:55:48 UTC
*** This bug has been marked as a duplicate of 102085 ***

*** This bug has been marked as a duplicate of 102085 ***
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2005-08-12 13:07:48 UTC
Please do emerge sync in the future before filing bugs.