Created attachment 562314 [details, diff] Patch doesn't work The Makefiles do a check for the Kernel version, however these files don't exist at the time econf in src_configure is started, and it's during that configure where they're created and run It might be a good idea to get upstream to just check for kernel version higher than 2.4 rather than checking for either 2.4, 2.5, 2.6, 3 or 4 to stop the same thing happens when Kernel 6 is cut in 4 or 5 years
Please attach the entire build log to this bug report.
Created attachment 562324 [details] Build log
Happens here too. And if I remember correctly the same problem also appeared when linux 3 and/or 4 was released. At least I found a simple workaround to make it compile without patching anything: # setarch --uname-2.6 emerge -au icedtea
Yes: 3.0: https://bugs.openjdk.java.net/browse/JDK-7072341 4.0: https://bugs.openjdk.java.net/browse/JDK-8074312 I can't see a way for make to do a numerical comparison (i.e. >= 2.4), so I'm afraid it'll have to be adding 5%. The good news is the check doesn't seem to be present in the new HotSpot build (OpenJDK 9 and later), so this will eventually die with OpenJDK 8. I'll fix this in the upcoming 3.11.0 release: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3685
Maybe just remove the version check? Probably unlikely someone will be building with Kernel 2.2
OpenJDK bug: https://bugs.openjdk.java.net/browse/JDK-8217753
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f16d843feaa2e16999ed4684ca1a43cdbc481150 commit f16d843feaa2e16999ed4684ca1a43cdbc481150 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2019-03-05 22:57:43 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2019-03-05 23:00:43 +0000 dev-java/openjdk: fix configure check for linux-5 Closes: https://bugs.gentoo.org/679506 Bug: https://bugs.gentoo.org/675920 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-java/openjdk/openjdk-8.202_p08.ebuild | 3 +++ 1 file changed, 3 insertions(+)
the icedtea-3.10.0 ebuild suffers this as well.
This is fixed in IcedTea 3.11. I'll push an ebuild for that to java-overlay today.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d9c38a3c67b037d07ad83b1acb59dc5c4f330ba commit 3d9c38a3c67b037d07ad83b1acb59dc5c4f330ba Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2019-03-13 05:53:31 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2019-03-13 05:57:41 +0000 dev-java/icedtea: bump to 3.11.0 Closes: https://bugs.gentoo.org/675920 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-java/icedtea/Manifest | 11 + dev-java/icedtea/icedtea-3.11.0.ebuild | 385 +++++++++++++++++++++++++++++++++ 2 files changed, 396 insertions(+)