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

Bug 625592

Summary: dev-libs/xapian-bindings-1.4.5[java] install phase error
Product: Gentoo Linux Reporter: Marco Genasci <fedeliallalinea>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: william
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://forums.gentoo.org/viewtopic-p-8092662.html
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 658876    
Attachments: xapian-bindings-1.4.4-r1-ebuild.patch
Installs xapian.jar instead of xapian_jni.jar

Description Marco Genasci 2017-07-19 06:15:57 UTC
When compile dev-libs/xapian-bindings-1.4.4 with java use flag install phase fails with error:
 * ERROR: dev-libs/xapian-bindings-1.4.4::gentoo failed (install phase):
 *   java/built/xapian_jni.jar does not exist

This because xapian_jni.jar is renamed to xapian.jar in agree with NEWS file:
 * Generate xapian.jar rather than xapian_jni.jar - the fact that JNI is 
 involved is really just an implementation detail.


Reproducible: Always
Comment 1 Marco Genasci 2017-07-19 06:16:37 UTC
Created attachment 485626 [details, diff]
xapian-bindings-1.4.4-r1-ebuild.patch
Comment 2 William Pettersson 2017-07-19 08:30:30 UTC
Created attachment 485642 [details, diff]
Installs xapian.jar instead of xapian_jni.jar

Attached a patch which fixes the issue for me. It's a one-liner, just changing xapian_jni.jar to xapian.jar in the .ebuild file.
Comment 3 Andreas Sturmlechner gentoo-dev 2017-08-06 13:37:34 UTC
ping @blueness - I guess this could be fixed without a revbump not to interfere with ongoing stabilisation?
Comment 4 Pacho Ramos gentoo-dev 2018-06-28 18:49:15 UTC
[master e869d7a5e8b9] dev-libs/xapian-bindings: Fix install (#625592) and deps (#634738)
 1 file changed, 2 insertions(+), 2 deletions(-)