Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625592 - dev-libs/xapian-bindings-1.4.5[java] install phase error
Summary: dev-libs/xapian-bindings-1.4.5[java] install phase error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL: https://forums.gentoo.org/viewtopic-p...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 658876
  Show dependency tree
 
Reported: 2017-07-19 06:15 UTC by Marco Genasci
Modified: 2018-06-28 18:49 UTC (History)
1 user (show)

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


Attachments
xapian-bindings-1.4.4-r1-ebuild.patch (xapian-bindings-ebuild.patch,454 bytes, patch)
2017-07-19 06:16 UTC, Marco Genasci
Details | Diff
Installs xapian.jar instead of xapian_jni.jar (xapian-bindings-fix.patch,454 bytes, patch)
2017-07-19 08:30 UTC, William Pettersson
Details | Diff

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