Bug#863247: java-package: ARM support bitrotted
Richard Ruigrok
rruigrok at codeaurora.org
Wed May 30 15:30:10 BST 2018
Hi Emmanuel,
I'm following-up on this issue, I have replicated building and installing jdk-8u172-linux-arm64-vfp-hflt.tar.gz, by applying the patch proposed by Ian. I would like to see this patch committed to Debian to have out-of-the-box support for ARM64.
fakeroot make-jpkg jdk-8u172-linux-arm64-vfp-hflt.tar.gz
In your prior response on this patch you indicated we need support for legacy package naming (where the 32|64 architecture is not included), I replaced arm(32|64) with arm(32|64|), and you indicated we should test with prior revision of jdk.
I could not locate any current jdk-7 release listed below for testing. jdk-10 is not yet supported on ARM, the only jdk releases I could find for testing are the following:
- jdk-8u172-linux-arm64-vfp-hflt.tar.gz
-jdk-8u171-linux-arm64-vfp-hflt.tar.gz
Please propose a path forward. Should the patch be submitted on GitHub: https://github.com/Debian/java-package ?
Here is the only change made to Ian's original patch.
# Update or GA release (jdk-7u15-linux-i586.tar.gz)- if [[ $archive_name =~ jdk-([0-9]+)(u([0-9]+))?-linux-(i586|x64|amd64|arm-vfp-hflt)\.(bin|tar\.gz) ]]
+ if [[ $archive_name =~ jdk-([0-9]+)(u([0-9]+))?-linux-(i586|x64|amd64|arm(32|64|)-vfp-hflt)\.(bin|tar\.gz) ]]
then
j2se_release=${BASH_REMATCH[1]}
j2se_update=${BASH_REMATCH[3]}
@@ -20,7 +20,7 @@ oracle_j2sdk_detect() {
fi
# Early Access Release (jdk-8-ea-bin-b103-linux-i586-15_aug_2013.tar.gz)
- if [[ $archive_name =~ jdk-([0-9]+)(u([0-9]+))?-(ea|fcs)(-bin)?-(b[0-9]+)-linux-(i586|x64|amd64|arm-vfp-hflt).*\.(bin|tar\.gz) ]]
+ if [[ $archive_name =~ jdk-([0-9]+)(u([0-9]+))?-(ea|fcs)(-bin)?-(b[0-9]+)-linux-(i586|x64|amd64|arm(32|64|)-vfp-hflt).*\.(bin|tar\.gz) ]]
Thanks,
Richard
On Tue, 5 Dec 2017 15:59:14 +0100 Emmanuel Bourg <ebourg at apache.org> wrote:
> Hi Ian,
>
> Thank you for the patch. The regular expression needs to be adjusted to
> keep working with earlier Java 8 and Java 7 ARM binaries (without the
> 32/64 suffix). Also the j2se_arch check disabling the browser plugin
> probably has to be updated.
>
> For the record here are the names of the JDK ARM binaries since they
> first appeared with Java 7:
>
> Java 7:
> * ARM Soft Float since Java 7u6:
> - jdk-7u6-linux-arm-sfp.tar.gz
> - jdk-7u10-linux-arm-sfp.tar.gz
> - jdk-7u21-linux-arm-sfp.tar.gz
> * ARM Hard Float since Java 7u40:
> - jdk-7u40-linux-arm-vfp-hflt.tar.gz
> - jdk-7u40-linux-arm-vfp-sflt.tar.gz
> - jdk-7u75-linux-arm-vfp-hflt.tar.gz
> - jdk-7u75-linux-arm-vfp-sflt.tar.gz
>
> Java 8:
> * ARM Hard Float only, started with the GA release:
> - jdk-8-linux-arm-vfp-hflt.tar.gz
> * ARM 64 builds since Java 8u71:
> - jdk-8u71-linux-arm32-vfp-hflt.tar.gz
> - jdk-8u71-linux-arm64-vfp-hflt.tar.gz
>
> Java 9 & 10:
> * No ARM binaries yet
>
> Emmanuel Bourg
>
>
--
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.
More information about the pkg-java-maintainers
mailing list