← Back to team overview

openjdk team mailing list archive

Bug#946723: openjdk-14: Please build with --enable-deprecated-ports=yes on sparc64

 

Source: openjdk-14
Severity: normal
User: debian-sparc@xxxxxxxxxxxxxxxx
Usertags: sparc64

Hi!

Despite being officially supported by Oracle until at least 2034 [1],
OpenJDK upstream has decided to deprecate the native SPARC port of
Hotspot in OpenJDK 14.

Thus, in order to build OpenJDK 14 on sparc64, we need to pass the
following extra configure option

	  --enable-deprecated-ports=yes

which the attached patch does.

Could you include the change for the next upload? I will also try 
to debug the Zero crash over the holidays on sparc64 and will
hopefully provide a patch soon.

Thanks,
Adrian

> [1] https://blogs.oracle.com/solaris/another-update-on-oracle-java-and-oracle-solaris

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@xxxxxxxxxx
`. `'   Freie Universitaet Berlin - glaubitz@xxxxxxxxxxxxxxxxxxx
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
diff -Nru old/openjdk-14-14~27/debian/rules new/openjdk-14-14~27/debian/rules
--- old/openjdk-14-14~27/debian/rules	2019-12-14 11:21:53.000000000 +0100
+++ new/openjdk-14-14~27/debian/rules	2019-12-14 19:25:27.249410050 +0100
@@ -325,6 +325,10 @@
   CONFIGURE_ARGS += --with-alt-jar=/usr/bin/fastjar
 endif
 
+ifeq (,$(filter $(DEB_HOST_ARCH), $(hotspot_archs) sparc64))
+  CONFIGURE_ARGS += --enable-deprecated-ports=yes
+endif
+
 ifeq (,$(filter $(DEB_HOST_ARCH), $(hotspot_archs)))
   CONFIGURE_ARGS += --enable-zero
 endif

Follow ups