Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 102085

Summary: dev-java/commons-logging fails to build source zip
Product: Gentoo Linux Reporter: Dominik Diesch <bugzilla.gentoo.dominik>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal CC: simishag
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dominik Diesch 2005-08-11 01:39:10 UTC
The source packaging phase fails because the single file  
src/java/Overview.html catched by src/java/* is not a valid input to the 
java-pkg_dosrc function. 

Reproducible: Always
Steps to Reproduce:
1.USE="source" emerge commons-logging 
Actual Results:  
. 
. 
compile: 
 
BUILD SUCCESSFUL 
Total time: 2 seconds 
>>> Test phase [not enabled]: dev-java/commons-logging-1.0.4-r2 
 
>>> Install commons-logging-1.0.4-r2 
into /var/tmp/portage/commons-logging-1.0.4-r2/image/ category dev-java 
 
zip error: Nothing to do! 
(/var/tmp/portage/commons-logging-1.0.4-r2/temp/commons-logging-src.zip) 
 
!!! ERROR: dev-java/commons-logging-1.0.4-r2 failed. 
!!! Function java-pkg_dosrc, Line 355, Exitcode 12 
!!! zip failed 
!!! If you need support, post the topmost build error, NOT this status 
message. 
 

Expected Results:  
zip not complaining about nothing to do  

The problem lies in the second to last line of the ebuild  
(dev-java/commons-logging-1.0.4-r1.ebuild):  
  
use source && java-pkg_dosrc src/java/*  
  
Replacing the asterisk by an explicit org gives the desired result 
  
use source && java-pkg_dosrc src/java/org
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2005-08-11 10:10:48 UTC
Thanks for reporting. Please emerge sync after  an hour or so and test. 
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-08-12 12:55:49 UTC
*** Bug 102282 has been marked as a duplicate of this bug. ***