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

Bug 576846

Summary: Latest ebuild breaks dev-java/bsh install
Product: Gentoo Linux Reporter: Jerry McDonald <gentoo>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 575482    
Bug Blocks:    

Description Jerry McDonald 2016-03-09 12:46:47 UTC
This change:

https://gitweb.gentoo.org/repo/gentoo.git/diff/dev-java/bsh/bsh-2.0_beta4-r4.ebuild?id=9c796dcc0d36ed7a9795f7b154fe6ab4964a8529

Breaks dev-java/bsh/bsh-2.0_beta4-r4.ebuild with the following error:

 * ERROR: dev-java/bsh-2.0_beta4-r4::gentoo failed (install phase):
 *   dist/.jar does not exist or is not a file!
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called src_install
 *   environment, line 3917:  Called java-pkg_newjar 'dist/.jar' 'bsh.jar'
 *   environment, line 2870:  Called die
 * The specific snippet of code:
 *       [[ ! -f ${original_jar} ]] && die "${original_jar} does not exist or is not a file!";

Not sure why this change was made and why no change to ebuild number (r5?) when it was done.  Previous ebuild (of same name) works great for many months before this change was made.
Comment 1 James Le Cuirot gentoo-dev 2016-03-09 12:59:18 UTC
I'm aware of the issue but beta4 is vulnerable and about to be removed anyway. I don't know why the change was made, most likely it was a mistake.
Comment 2 Patrice Clement gentoo-dev 2016-03-15 10:09:23 UTC
This package has been removed. Please use bsh-2.0_beta6.ebuild from now on. Thank you.