Summary: | sys-libs/db-6.0.35-r2[java] fails to build with dev-java/openjdk-bin-11.0.6_p10 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kenton Groombridge <rustyvega> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo.2019, jstein, kaiboma06, sam |
Priority: | Normal | Keywords: | PATCH, PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/gentoo/gentoo/pull/23928 https://github.com/gentoo/gentoo/pull/24687 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 837629 | ||
Attachments: |
Modified ebuild that prevents the javac error.
Patch for configure.ac so that it accepts java 11 Build log before using modified ebuild and configure.ac patch emerge-info.txt emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 sys-libs:db-6.0.35-r4:20220123-123334.log |
Description
Kenton Groombridge
2020-03-21 22:48:23 UTC
Created attachment 624112 [details]
Modified ebuild that prevents the javac error.
Created attachment 624114 [details, diff]
Patch for configure.ac so that it accepts java 11
Created attachment 624132 [details]
Build log before using modified ebuild and configure.ac patch
(In reply to Kenton Groombridge from comment #1) > Created attachment 624112 [details] > Modified ebuild that prevents the javac error. If possible, please provide a patch against gentoo.git using git-format-patch. configure.ac in db-18.x uses this pattern, which is different from what you provided in your patch.
> 1.[[3456789]]* | 1.[[1-9]][[0-9]]* | [[23456789]]* | [[1-9]][[0-9]]*.*.* ) ;;
(In reply to Mike Gilbert from comment #4) > (In reply to Kenton Groombridge from comment #1) > > Created attachment 624112 [details] > > Modified ebuild that prevents the javac error. > > If possible, please provide a patch against gentoo.git using > git-format-patch. I am sure my fix to the ebuild isn't the correct way to do it. I just wanted to get it to work on my system. I searched a bit for a more proper way to do this, but came up short. I changed the following line in the original ebuild: --with-javac-flags="$(java-pkg_javac-args)" to: --with-javac-flags="-source 1.6 -target 1.6" I hit same issue with db-6.0.35-r3 and openjdk-bin-11.0.9_p11 *** Bug 773079 has been marked as a duplicate of this bug. *** Probably blocks #697014 For those running into this, a workaround, if you're lucky enough to have an old JDK lying around is to eselect java-vm set system openjdk-bin-8 Then to compile using --oneshot, and once done, revert the above java-vm to the recent one. Question to those following this bug: do you actually *use* the java bindings provided by sys-libs/db? We are considering dropping java support from this package entirely. (In reply to Mike Gilbert from comment #11) > Question to those following this bug: do you actually *use* the java > bindings provided by sys-libs/db? I don't. appeared recently at the tinderbox image 17.1_desktop_systemd-j4-20220123-110004 Created attachment 763373 [details]
emerge-info.txt
Created attachment 763374 [details]
emerge-history.txt
Created attachment 763375 [details]
environment
Created attachment 763376 [details]
etc.portage.tar.bz2
Created attachment 763377 [details]
logs.tar.bz2
Created attachment 763378 [details]
sys-libs:db-6.0.35-r4:20220123-123334.log
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2500a10f33e4ac856b0fcef68291bd30540807bf commit 2500a10f33e4ac856b0fcef68291bd30540807bf Author: Sam James <sam@gentoo.org> AuthorDate: 2022-01-23 15:33:20 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-01-23 17:00:20 +0000 profiles/base: mask sys-libs/db[java] Broken with OpenJDK 11+ and we're not aware of anybody actually needing these anyway. Bug: https://bugs.gentoo.org/713866 Signed-off-by: Sam James <sam@gentoo.org> profiles/base/package.use.mask | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cf749246accb514b113cc9d79ca9e99681fb285 commit 0cf749246accb514b113cc9d79ca9e99681fb285 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-01-23 17:26:44 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-01-23 17:26:55 +0000 profiles/base: update sys-libs/db[java] mask Bug: https://bugs.gentoo.org/713866 Signed-off-by: Sam James <sam@gentoo.org> profiles/base/package.use.mask | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a037710a0f81491e4a66350548bcc7d12dd4a43 commit 9a037710a0f81491e4a66350548bcc7d12dd4a43 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-03-20 20:04:17 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-03-20 21:04:23 +0000 sys-libs/db: drop USE=java Flag was last-rited a while ago. Closes: https://bugs.gentoo.org/713866 Closes: https://bugs.gentoo.org/615408 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/arm/package.use.mask | 1 - profiles/base/package.use.mask | 7 ---- sys-libs/db/db-18.1.32-r1.ebuild | 39 +++---------------- sys-libs/db/db-18.1.40-r1.ebuild | 39 +++---------------- sys-libs/db/db-4.8.30-r6.ebuild | 39 +++---------------- sys-libs/db/db-5.3.28-r8.ebuild | 40 +++----------------- sys-libs/db/db-6.0.35-r4.ebuild | 41 +++----------------- sys-libs/db/db-6.1.38-r1.ebuild | 39 +++---------------- sys-libs/db/db-6.2.38-r1.ebuild | 41 +++----------------- .../db/files/db-4.2-listen-to-java-options.patch | 10 ----- .../db/files/db-4.6-jni-check-prefix-first.patch | 30 --------------- .../files/db-4.8.24-java-manifest-location.patch | 12 ------ .../db/files/db-6.2-jni-check-prefix-first.patch | 38 ------------------- .../files/db-6.2.32-jni-check-prefix-first.patch | 44 ---------------------- 14 files changed, 39 insertions(+), 381 deletions(-) |