[MacPorts] #38113: gnu-classpath @0.99: configure fails: error: cannot determine a size for void *
MacPorts
noreply at macports.org
Thu Aug 8 04:51:11 UTC 2024
#38113: gnu-classpath @0.99: configure fails: error: cannot determine a size for
void *
----------------------------+--------------------------------
Reporter: cooljeanius | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: gnu-classpath |
----------------------------+--------------------------------
Comment (by cooljeanius):
So, I was just testing to see if this still occurs, and apparently there's
a new error now:
{{{
checking for javac... javac
-Xlint:unchecked,cast,divzero,empty,finally,overrides
checking if javac -Xlint:unchecked,cast,divzero,empty,finally,overrides is
a version of gcj... no
checking if javac -Xlint:unchecked,cast,divzero,empty,finally,overrides
works... configure: error: The Java compiler javac
-Xlint:unchecked,cast,divzero,empty,finally,overrides failed (see
config.log, check the CLASSPATH?)
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_java_gnu-classpath/gnu-
classpath/work/classpath-0.99" && ./configure --prefix=/opt/local
--mandir=/opt/local/share/man --infodir=/opt/local/share/info --disable-
gtk-peer --disable-gconf-peer --disable-plugin --with-antlr-
jar=/opt/local/lib/antlr.jar
Exit code: 1
Error: Failed to configure gnu-classpath: consult
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_java_gnu-classpath/gnu-
classpath/work/classpath-0.99/config.log
}}}
Checking in `config.log`, I see:
{{{
configure:24481: checking for javac
configure:24497: found /usr/bin/javac
configure:24508: result: javac
-Xlint:unchecked,cast,divzero,empty,finally,overrides
configure:24565: checking if javac
-Xlint:unchecked,cast,divzero,empty,finally,overrides is a version of gcj
configure:24579: result: no
configure:24594: checking if javac
-Xlint:unchecked,cast,divzero,empty,finally,overrides works
configure:24619: javac
-Xlint:unchecked,cast,divzero,empty,finally,overrides -source 1.5 -target
1.5 Object.java
warning: [options] bootstrap class path not set in conjunction with
-source 5
error: Source option 5 is no longer supported. Use 8 or later.
error: Target option 5 is no longer supported. Use 8 or later.
configure:24622: $? = 2
configure:24626: error: The Java compiler javac
-Xlint:unchecked,cast,divzero,empty,finally,overrides failed (see
config.log, check the CLASSPATH?)
}}}
Seems like a symptom of the port just being really old and outdated in
general... is it still even needed any longer? As much as I hate seeing
ports get deleted, that might actually be the most sensible option here...
--
Ticket URL: <https://trac.macports.org/ticket/38113#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list