Skip to contentSkip to conversation

package/classpath: drop package

PATCH New James Hilliard 4 participants 6 messages Mar 2, 2020 – Mar 3, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/classpath: drop package

This package has been abandoned by upstream since 2016 and has not had a release since 2012. In addition the GNU Compiler for Java that classpath was written to be used with has been removed as of GCC 7.

It is no longer feasible to support classpath as it requires a java compiler capable of producing java 1.5 compatible bytecode which is not possible on hosts with a recent java compiler.

---
 Config.in.legacy                 |  8 +++++
 package/Config.in                |  1 -
 package/classpath/Config.in      | 19 -----------
 package/classpath/classpath.hash |  4 ---
 package/classpath/classpath.mk   | 55 --------------------------------
 5 files changed, 8 insertions(+), 79 deletions(-)
 delete mode 100644 package/classpath/Config.in
 delete mode 100644 package/classpath/classpath.hash
 delete mode 100644 package/classpath/classpath.mk
Config.in.legacy +8 -0
index 6a33ce9e1c..c18f3e63a2 100644
@@ -146,6 +146,14 @@ endif
 
 comment "Legacy options removed in 2020.02"
 
+config BR2_PACKAGE_CLASSPATH
+	bool "classpath removed"
+	select BR2_LEGACY
+	help
+	  GNU Classpath package was removed. The last upstream
+	  release was in 2012 and there hasn't been a commit
+	  since 2016.
+
 config BR2_PACKAGE_QT5_VERSION_5_6
 	bool "qt 5.6 support removed"
 	select BR2_LEGACY
package/Config.in +0 -1
index 5be5f3726b..b29ea005fa 100644
@@ -1756,7 +1756,6 @@ menu "Other"
 	source "package/cereal/Config.in"
 	source "package/clang/Config.in"
 	source "package/clapack/Config.in"
-	source "package/classpath/Config.in"
 	source "package/cmocka/Config.in"
 	source "package/cppcms/Config.in"
 	source "package/cracklib/Config.in"
package/classpath/Config.in deleted +0 -19
deleted file mode 100644
index 0385ccd431..0000000000
@@ -1,19 +0,0 @@
-config BR2_PACKAGE_CLASSPATH_ARCH_SUPPORTS
-	bool
-	default y if BR2_arm || BR2_armeb || BR2_i386 || BR2_m68k \
-		|| BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el \
-		|| BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le \
-		|| BR2_sparc || BR2_sparc64 || BR2_sh || BR2_x86_64
-
-config BR2_PACKAGE_CLASSPATH
-	bool "classpath"
-	depends on BR2_PACKAGE_CLASSPATH_ARCH_SUPPORTS
-	select BR2_NEEDS_HOST_JAR
-	select BR2_NEEDS_HOST_JAVAC
-	help
-	  GNU Classpath, Essential Libraries for Java, is a GNU
-	  project to create free core class libraries for use with
-	  virtual machines and compilers for the java programming
-	  language.
-
-	  http://classpath.org
package/classpath/classpath.hash deleted +0 -4
deleted file mode 100644
index 98a7f1eab0..0000000000
@@ -1,4 +0,0 @@
-# From https://www.gnu.org/software/classpath/announce/20120307.html
-sha256  f929297f8ae9b613a1a167e231566861893260651d913ad9b6c11933895fecc8  classpath-0.99.tar.gz
-# locally computed
-sha256  357bd31f17c7869a73cd159e46b3dafa2bbf434f022085a820c1f68d941a0b4c  COPYING
package/classpath/classpath.mk deleted +0 -55

55 lines not on this page · raw message

Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/classpath: drop package

Quoted 10 lines · On Mon, 2 Mar 2020 03:01:46 -0700 James Hilliard <[email protected]>…

This package has been abandoned by upstream since 2016 and has not had a release since 2012. In addition the GNU Compiler for Java that classpath was written to be used with has been removed as of GCC 7.

It is no longer feasible to support classpath as it requires a java compiler capable of producing java 1.5 compatible bytecode which is not possible on hosts with a recent java compiler.

package/jamvm is using classpath, so you can't remove classpath just like that, without taking into account the presence of jamvm.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/classpath: drop package

Quoted 9 lines · Thomas Petazzoni
Quoted 5 lines · On Mon, 2 Mar 2020 03:01:46 -0700 James Hilliard <[email protected]>…

This package has been abandoned by upstream since 2016 and has not had a release since 2012. In addition the GNU Compiler for Java that classpath was written to be used with has been removed as of GCC 7.

Quoted 8 lines
Quoted 5 lines

It is no longer feasible to support classpath as it requires a java compiler capable of producing java 1.5 compatible bytecode which is not possible on hosts with a recent java compiler.

package/jamvm is using classpath, so you can't remove classpath just like that, without taking into account the presence of jamvm.

Ah, not sure how I missed that, think it makes sense to drop that or try and switch it to use openjdk(it appears it should support it)? It doesn't looks like jamvm has had any releases since 2014 so dropping it may make sense.

Quoted 8 lines

Best regards,

Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

#3 lore raw

PATCH 1/1 package/classpath: drop package

Hello,

+Thomas DS in Cc.

Quoted 6 lines · On Mon, 2 Mar 2020 14:44:09 +0100 James Hilliard <[email protected]>…
Quoted 2 lines

package/jamvm is using classpath, so you can't remove classpath just like that, without taking into account the presence of jamvm.

Ah, not sure how I missed that, think it makes sense to drop that or try and switch it to use openjdk(it appears it should support it)? It doesn't looks like jamvm has had any releases since 2014 so dropping it may make sense.

Thomas DS bumped this package back in 2014. Thomas, are you still using JamVM in your projects ?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#4 lore raw

PATCH 1/1 package/classpath: drop package

Hello,

Quoted 9 lines · On Mon, Mar 2, 2020, 14:52 Thomas Petazzoni <[email protected]>…

Hello,

+Thomas DS in Cc.

Quoted 2 lines · On Mon, 2 Mar 2020 14:44:09 +0100 James Hilliard <[email protected]>…
Quoted 2 lines

package/jamvm is using classpath, so you can't remove classpath just like that, without taking into account the presence of jamvm.

Quoted 8 lines
Quoted 4 lines

Ah, not sure how I missed that, think it makes sense to drop that or try and switch it to use openjdk(it appears it should support it)? It doesn't looks like jamvm has had any releases since 2014 so dropping it may make sense.

Thomas DS bumped this package back in 2014. Thomas, are you still using JamVM in your projects ?

Thanks for checking with me.

No, I have no interest in jamvm or classpath, I don't object the removal.

Best regards,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200302/b8e54bb8/attachment.html>

#5 lore raw

PATCH 1/1 package/classpath: drop package

In reply to James Hilliard
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"James" == James Hilliard <[email protected]> writes:

This package has been abandoned by upstream since 2016 and has not had a release since 2012. In addition the GNU Compiler for Java that classpath was written to be used with has been removed as of GCC 7.

Quoted 5 lines

It is no longer feasible to support classpath as it requires a java compiler capable of producing java 1.5 compatible bytecode which is not possible on hosts with a recent java compiler.

Committed, thanks.

package/classpath/Config.in line 12

Quoted 5 lines
package/classpath/Config.in deleted +0 -5
-config BR2_PACKAGE_CLASSPATH
-	bool "classpath"
-	depends on BR2_PACKAGE_CLASSPATH_ARCH_SUPPORTS
-	select BR2_NEEDS_HOST_JAR
-	select BR2_NEEDS_HOST_JAVAC

This was the only use of these symbols, so I've also removed them and the corresponding logic.

Signature · 1 line
Bye, Peter Korsgaard