Bug#897039: java-common: please add support for riscv64

2018-06-05 Thread Manuel A. Fernandez Montecelo

Hi,

2018-04-27 13:37 Aurelien Jarno:

Source: java-common
Version: 0.63
Severity: normal
Tags: patch
User: debian-ri...@lists.debian.org
Usertags: riscv64

I am in the process of bootstrapping openjdk-9 for the riscv64
architecture (https://wiki.debian.org/RISC-V). java-common builds
successfully on this architecture, however the generated packages are
unusable as they depend on a non-existing version less openjdk (e.g.
openjdk--jdk-headless).

The fix is to add proper support for riscv64 in java-common, declaring
it as a Java 9 architecture. The attached patch should do that. Would it
be possible to include it in the next upload?


It would be very nice if this change could be included in the next
uploads, otherwise we have to keep spinning special modified builds of
this package every time that there's an upload, to avoid having hundreds
of unsatisfied build-dependencies / uninstallable packages.

openjdk-10 can be used as default, both -9 and -10 are available.


Cheers.
--
Manuel A. Fernandez Montecelo 



Bug#897039: java-common: please add support for riscv64

2018-04-27 Thread Aurelien Jarno
Source: java-common
Version: 0.63
Severity: normal
Tags: patch
User: debian-ri...@lists.debian.org 


   
Usertags: riscv64

I am in the process of bootstrapping openjdk-9 for the riscv64
architecture (https://wiki.debian.org/RISC-V). java-common builds
successfully on this architecture, however the generated packages are
unusable as they depend on a non-existing version less openjdk (e.g.
openjdk--jdk-headless).

The fix is to add proper support for riscv64 in java-common, declaring
it as a Java 9 architecture. The attached patch should do that. Would it
be possible to include it in the next upload?

Thanks,
Aurelien

-- System Information:
Debian Release: buster/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: riscv64

Kernel: Linux 4.15.0_riscv-linux-4.15_2b0aa1de4+ (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--- java-common-0.63/debian/java_defaults.mk
+++ java-common-0.63/debian/java_defaults.mk
@@ -8,7 +8,7 @@
alpha amd64 arm64 armel armhf i386 \
ia64 m68k mips mipsel mips64el \
powerpc powerpcspe ppc64 ppc64el \
-   s390x sh4 sparc64 x32
+   riscv64 s390x sh4 sparc64 x32
 java8_architectures = $(java9_architectures) \
kfreebsd-amd64 kfreebsd-i386
 java7_architectures = $(java8_architectures)
@@ -51,7 +51,7 @@
 jvm_archdir_map = \
alpha=alpha armel=arm armhf=arm arm64=aarch64 amd64=amd64 hppa=parisc \
i386=i386 m68k=m68k mips=mips mipsel=mipsel mips64=mips64 
mips64el=mips64el \
-   powerpc=ppc powerpcspe=ppc ppc64=ppc64 ppc64el=ppc64le \
+   powerpc=ppc powerpcspe=ppc ppc64=ppc64 ppc64el=ppc64le riscv64=riscv64 \
sparc=sparc sparc64=sparc64 sh4=sh s390x=s390x ia64=ia64 x32=x32
 
 jvm_archdir := \