Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#68036 - [jdk7-openjdk] FTBFS

Attached to Project: Arch Linux
Opened by loqs (loqs) - Tuesday, 29 September 2020, 03:56 GMT
Last edited by Levente Polyak (anthraxx) - Thursday, 16 December 2021, 22:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
java8-openjfx fails to build from source.
It requires -fcommon to build due to duplicate definitions.
It references the header sys/sysctl which was dropped from glibc.
[1] contains a diff against trunk of a proposed fix.

Additional info:
* jdk7-openjdk 7.u261_2.6.22-1
[1] PKGBUILD.diff

Steps to reproduce:
Build package in a clean chroot.
This task depends upon

Closed by  Levente Polyak (anthraxx)
Thursday, 16 December 2021, 22:39 GMT
Reason for closing:  Won't fix
Additional comments about closing:  package dropped from repositories, EOL
Comment by loqs (loqs) - Thursday, 11 March 2021, 00:19 GMT
Added additional patch to fix broken autotools check. Updated version to u291_2.6.25.
Comment by Felix Yan (felixonmars) - Wednesday, 16 June 2021, 23:57 GMT
Thanks for the patches. I am still getting build errors with the above patch applied:

INFO: Waiting for rewrites to complete...
touch stamps/extract-hotspot.stamp
Jun 16, 2021 11:54:12 PM com.redhat.rewriter.ClassRewriter main
INFO: Checking for errors...
Exception in thread "main" java.util.concurrent.ExecutionException: java.io.EOFException
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:188)
at com.redhat.rewriter.ClassRewriter.main(ClassRewriter.java:98)
Caused by: java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:197)
at java.io.DataInputStream.readUTF(DataInputStream.java:609)
at java.io.DataInputStream.readUTF(DataInputStream.java:564)
at com.redhat.rewriter.ClassRewriter.call(ClassRewriter.java:198)
at com.redhat.rewriter.ClassRewriter.call(ClassRewriter.java:45)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
at java.lang.Thread.run(Thread.java:748)
make: *** [Makefile:2919: stamps/rewrite-rhino.stamp] Error 1
make: *** Waiting for unfinished jobs....
touch stamps/extract-jdk.stamp

I am not an expert in java. Any ideas would be much appreciated!
Comment by loqs (loqs) - Thursday, 17 June 2021, 13:08 GMT
I have been able to build the package using java-rhino 10 plus the attached diff which is based upon the fix for [1].
Edit:
Alternative suggestion, if I am understanding the dependencies correctly the only package specifying java version 7 (apart from the package itself in makedepends) is virtualbox.
So if virtualbox is moved to java version 8 then could this package be dropped?

[1] https://bugs.openjdk.java.net/browse/JDK-8174050

Loading...