[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Source: java-common
Version: 0.63
Severity: normal
Tags: patch
User: debian-riscv@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 := \

Reply to: