Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102085 - dev-java/commons-logging fails to build source zip
Summary: dev-java/commons-logging fails to build source zip
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 102282 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-11 01:39 UTC by Dominik Diesch
Modified: 2005-08-12 12:55 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***