New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev-libs/xapian-bindings: Fix the build with slibtool #26514
Conversation
Pull Request assignmentSubmitter: @orbea dev-libs/xapian-bindings: @blueness Linked bugsBugs linked: 793428 In order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
Pull request CI reportReport generated at: 2022-07-22 02:09 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Please also update virtual/{jre,jdk} according to https://wiki.gentoo.org/wiki/Java_Developer_Guide#JDK.2FJRE, needs rbump. |
Bug: https://bugs.gentoo.org/793428 Upstream-PR: xapian/xapian#322 Signed-off-by: orbea <orbea@riseup.net>
Thanks for pointing that out, now its obvious why the java build was failing. I force pushed with your suggestions. It works when bumping it to |
Pull request CI reportReport generated at: 2022-07-22 06:24 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
»Never specify the JDK/JRE versions lower than the lowest available JDK/JRE in Gentoo.« Checking upstream what Java versions that package supports might be useful since java 17 does no longer support |
Upstream has the following in their
|
Thanks for checking and testing |
Thanks. I've verified this works and pushed your patch. But! There are no stable versions of slibtool in the tree. So now a stabilization of xapian-bindins[java] will require sys-devel/slibtool to be stabilized first. Also you forgot to add the dep. I did that in a second commit. |
@blueness GNU libtool is still default in gentoo and slibtool support is incomplete. Stabilizing slibtool will probably come later. Please see this issue for details. |
We can't have it both ways. If we want the slibtool fix, and we want a stable xapian-bindings[java], we need a stablie slibtool. What I can do is mask USE=java for 1.4.20-r1. Since it broken anyhow, no loss. If you want to find a fix with libtool, then that's the other option. |
GNU libtool and slibtool do not conflict with each other and I am explicitly testing both when making PRs. The Gentoo wiki explains in more detail how to use it. As can be seen in the Gentoo bug tracker most of the issues have been fixed and what remains are mostly the more difficult cases where xapian-bindings was one. |
Bug: https://bugs.gentoo.org/793428
Upstream-PR: xapian/xapian#322
I was unable to test the java support using the ebuild because of an unrelated issue, but I was able to test it manually using the release tarball including the tests.