Opened 5 years ago
Last modified 12 months ago
#60206 new defect
Migrate kaffe dependents to Java portgroup
Reported by: | chrstphrchvz (Christopher Chavez) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | m@…, emcrisostomo (Enrico Maria Crisostomo), simon@…, blair (Blair Zajac), p-bro, emaros, cooljeanius (Eric Gallager), mascguy (Christopher Nielsen) | |
Port: | kaffe beanshell castor cglib checkstyle cobertura commons-cli commons-codec commons-io commons-lang commons-pool daisydiff derby derby-server dom4j fantom google-guava itext java_memcached jdom jfreechart jgoodies-common jgoodies-forms jgoodies-looks jmock1 jmock2 jna jtidy libsvm log4jdbc mars msv mysql-connector-java nds2-client-java objenesis pdfbox plovr proguard pulse relames rhino saxon saxpath sbt-0.7 scala-migrations servlet23-api servlet24-api slf4j sphinx4 spymemcached unicodeconverter-java xalanj xercesj xml-commons-resolver xmlenc xmlpull xom |
Description (last modified by chrstphrchvz (Christopher Chavez))
Since OpenJDK became available in MacPorts only somewhat recently, many ports still specify Kaffe as a fallback Java runtime. However the kaffe
port has been deprecated, since the upstream Kaffe project is dormant, and the kaffe
port is outdated and somewhat broken (see #45198 and https://ports.macports.org/port/kaffe/builds).
Some of these ports continue to work as long as a compatible Java installation is already present. However many ports may be old, outdated, no longer maintained upstream, and might have difficulty working with more recent supported Java versions. Some will not compile under recent Java versions, even though their binary distributions might work fine. Certain ports are for libraries which aren't too useful on their own, but were needed by ports like tomcat5/6 and struts which have since been removed. Newer upstream versions of these ports might have introduced incompatibilities with/are not drop-in replacements for the versions still in MacPorts. In cases like these, a decision should be made to either keep and update the port, or remove it.
For the ports that are to be kept, the Java portgroup should be used to declare a dependency on Java (rather than depends_build
/depends_lib
/depends_run
), specify what Java versions are compatible (after researching which ones each port works with), and control which fallback Java version that MacPorts will install if needed (preferably openjdk8
or openjdk11
as those are LTS releases).
The ports might have other outdated dependencies to clean up (e.g. jikes, gnu-classpath, and older versions of maven).
port | maintainer | status |
---|---|---|
beanshell 2.0b4_0 | #60201 | |
castor 0.9.9_0 | #60202 | |
cglib 2.2.2_0 | #60197 | |
checkstyle 4.3_0 | #32187, #51731 | |
cobertura 1.6_0 | #59683 | |
[0551cdaeab/macports-ports] | ||
commons-cli 1.1_1 | ??? | |
commons-codec 1.4_0 | ??? | |
[ef8c2c5ad6/macports-ports] | ||
[4a41f36903/macports-ports] | ||
commons-io 1.4_0 | ??? | |
commons-lang 2.4_0 | ??? | |
commons-pool 1.5.4_0 | ??? | |
daisydiff 1.2_0 | ??? | |
derby 10.9.1.0_0 | #54838 | |
derby-server 10.5.3.0_0 | ??? | |
dom4j 1.6.1_1 | #60218 | |
#60219 [3ae6f98778/macports-ports] | ||
fantom 1.0.61_0 | #60213 | |
@emcrisostomo | [fae2ad3a13/macports-ports] | |
google-guava 13.0.1_0 | ??? | |
itext 1.1_0 | #19385 | |
jakarta-log4j 1.2.16_0 | #53458 | |
java_memcached 2.0.1_0 | ??? | |
jdom 1.1.1_0 | ??? | |
jfreechart 1.0.0-pre2_0 | #60200 | |
jgoodies-common 1.4.0_0 | ??? | |
jgoodies-forms 1.6.0_0 | ??? | |
jgoodies-looks 2.5.2_0 | ??? | |
jmock1 1.2.0_0 | ??? | |
jmock2 2.5.1_0 | ??? | |
@p-bro | [0c0be707b3/macports-ports] | |
jna 3.2.7_0 | ??? | |
[cfaa086942/macports-ports] | ||
jtidy 04aug2000r7_0 | #60198 | |
libsvm 3.20_2 | ??? | |
log4jdbc 1.1_0 | ??? | |
mars 4.4_0 | ??? | |
msv 20081113_1 | ??? | |
mysql-connector-java 5.1.12_0 | #58685 | |
nds2-client-java 0.16.3_0 | @emaros | ??? |
objenesis 1.1_0 | ??? | |
pdfbox 0.7.1_0 | ??? | |
[24d7ce203ef/macports-ports] | ||
plovr 0.0-20120503103549_0 | ??? | |
[5400f90a33/macports-ports] | ||
proguard 6.2.0_0 | ??? | |
pulse 1.2.18_0 | redhillconsulting.com.au:simon | ??? |
relames 20060319_0 | ??? | |
rhino 1.7R2_1 | ??? | |
saxon 9.5.1.1_0 | ??? | |
saxpath 1.0_0 | ??? | |
sbt-0.7 0.7.7_0 | ??? | |
scala-migrations 1.0.1_0 | @blair | #60617 |
servlet23-api 1_0 | #58389 | |
servlet24-api 5.5.28_0 | #58389 | |
slf4j 1.5.6_0 | ??? | |
sphinx4 1.0beta5_1 | #60199 | |
spring-framework25 2.5.6.SEC01_0 | ??? | |
spring-framework30 3.0.7_0 | ??? | |
spring-framework31 3.1.2_0 | ??? | |
[d92f7e1a37d6/macports-ports] | ||
spymemcached 2.8.4_0 | ??? | |
[06e1ee97a3/macports-ports] | ||
swig-java 4.0.1_0 | @michaelld | [4c8bbb8a4f/macports-ports] |
swig3-java 3.0.12_0 | @michaelld | [4c8bbb8a4f/macports-ports] |
unicodeconverter-java 2.0_0 | #64303 | |
xalanj 2.7.1_0 | ??? | |
xercesj 2.11.0_0 | ??? | |
xml-commons-resolver 1.1_0 | #58671 | |
xmlenc 0.52_0 | ??? | |
xmlpull 1.1.3.4c_0 | ??? | |
xom 1.2.10_0 | ??? | |
zanata-cli 4.6.2_0 | @l2dy | [51c48afe0a5/macports-ports] |
Change History (41)
comment:1 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
Description: | modified (diff) |
---|
comment:2 follow-up: 3 Changed 5 years ago by p-bro
comment:3 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
Replying to p-bro:
jmol is still maintained and developed upstream. I occasionally upgrade the port. And I'd like to keep it that way.
How can I check which java version is compatible? Could not find any information on the upstream website.
Side note: On my machine it uses a JRE in
/usr/bin
, linking to/System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java
.$java -version java version "1.8.0_152" Java(TM) SE Runtime Environment (build 1.8.0_152-b16) Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)
Thanks for the quick response.
I found the FAQ page specifies a minimum Java version (assuming it's not outdated): http://jmol.sourceforge.net/faqs/
Application system requirements
What platforms does the Jmol application run on?
The Jmol application should run on any system that supports Java 1.4. Previous versions of Java are not supported.
This would suggest specifying Java 1.4 or higher in the port.
There is the possibility of a maximum compatible Java version, but have not confirmed this is the case. I briefly looked for discussions of issues with more recent Java versions on the project's mailing list and issue tracker, and so far only came across issues building jmol from source with Java 9 or later: https://sourceforge.net/p/jmol/bugs/608/ https://sourceforge.net/p/jmol/mailman/message/34860374/ . Since the port uses the binary distribution rather than builds from source, this shouldn't be an issue.
If jmol
appears to work with the Java 8 on your system, then using Java 8 LTS as the fallback should be fine for now, and I believe is less likely to cause disruption than using Java 11 LTS. To clarify, the fallback version is what will be used if no other Java (version 1.4 or later) installation is already present.
I have opened a pull request on GitHub with the changes I suggest making: https://github.com/macports/macports-ports/pull/6636
comment:4 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
Description: | modified (diff) |
---|
comment:5 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
comment:6 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
Description: | modified (diff) |
---|---|
Port: | flyway removed |
comment:7 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
Description: | modified (diff) |
---|
comment:8 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
Description: | modified (diff) |
---|
comment:9 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
Description: | modified (diff) |
---|
comment:10 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
comment:11 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
Description: | modified (diff) |
---|
comment:12 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
comment:13 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
comment:14 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
Description: | modified (diff) |
---|
comment:15 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
comment:16 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
Description: | modified (diff) |
---|---|
Port: | jsch removed |
comment:17 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
Description: | modified (diff) |
---|---|
Port: | jmol removed |
comment:18 Changed 4 years ago by neverpanic (Clemens Lang)
comment:19 Changed 4 years ago by neverpanic (Clemens Lang)
Port: | plantuml removed |
---|
comment:20 Changed 4 years ago by neverpanic (Clemens Lang)
Description: | modified (diff) |
---|
comment:21 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
Description: | modified (diff) |
---|---|
Port: | ehcache removed |
comment:22 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
comment:23 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
comment:24 Changed 4 years ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:25 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
comment:26 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
Description: | modified (diff) |
---|---|
Port: | nds2-client-java added; commons-beanutils commons-collections commons-fileupload nds2-client-swig-java statcvs removed |
comment:27 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
comment:28 Changed 4 years ago by michaelld (Michael Dickens)
Cc: | michaelld removed |
---|---|
Description: | modified (diff) |
Port: | swig-java swig3-java removed |
comment:29 Changed 4 years ago by michaelld (Michael Dickens)
Description: | modified (diff) |
---|
comment:30 Changed 4 years ago by l2dy (Zero King)
comment:31 Changed 4 years ago by l2dy (Zero King)
Cc: | l2dy removed |
---|---|
Description: | modified (diff) |
Port: | zanata-cli removed |
comment:32 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
comment:33 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
Description: | modified (diff) |
---|---|
Port: | postgresql7 removed |
comment:34 Changed 3 years ago by chrstphrchvz (Christopher Chavez)
Description: | modified (diff) |
---|
comment:35 Changed 3 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:36 Changed 2 years ago by mascguy (Christopher Nielsen)
Port: | jakarta-log4j spring-framework25 spring-framework30 spring-framework31 removed |
---|
The following don't have any dependency on Kaffe/Java, and don't need it; removing from the list:
- jakarta-log4j
- spring-framework25
- spring-framework30
- spring-framework31
comment:37 Changed 2 years ago by Christopher Nielsen <mascguy@…>
comment:38 Changed 2 years ago by mascguy (Christopher Nielsen)
Port: | spring-javaconfig removed |
---|
comment:39 Changed 14 months ago by chrstphrchvz (Christopher Chavez)
Description: | modified (diff) |
---|
jmol is still maintained and developed upstream. I occasionally upgrade the port. And I'd like to keep it that way.
How can I check which java version is compatible? Could not find any information on the upstream website.
Side note: On my machine it uses a JRE in
/usr/bin
, linking to/System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java
.