Opened 13 years ago
Last modified 2 years ago
#38113 new defect
gnu-classpath @0.99: configure fails: error: cannot determine a size for void *
| Reported by: | cooljeanius (Eric Gallager) | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.1.3 |
| Keywords: | Cc: | mww@… | |
| Port: | gnu-classpath |
Description
Attached are the relevant logs. Even though gnu-classpath is nomaintainer, I'm cc-ing mww on this because he's the maintainer for gnu-crypto and gnu-classpathx-activation, which depend on gnu-classpath.
Relevant part of main.log:
:info:configure checking for ANSI C header files... (cached) yes
:info:configure checking size of void *... configure: error: cannot determine a size for void *
:info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_gnu-classpath/gnu-classpath/work/classpath-0.99" && ./configure --prefix=/opt/local --disable-dependency-tracking --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
:info:configure Exit code: 1
:error:configure org.macports.configure for port gnu-classpath returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for gnu-classpath: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:configure Failed to install gnu-classpath
:debug:configure Registry error: gnu-classpathx-activation not registered as installed & active.
invoked from within
"registry_active ${subport}"
invoked from within
"$workername eval registry_active \${subport}"
My system info:
gl00b05046:~ root# uname -a Darwin gl00b05046.cats.gwu.edu 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64 gl00b05046:~ root# xcodebuild -version Xcode 4.6 Build version 4H127 gl00b05046:~ root# clang --version Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn) Target: x86_64-apple-darwin11.4.2 Thread model: posix
Although I think I remember running into this error on Snow Leopard, too...
Attachments (2)
Change History (5)
Changed 13 years ago by cooljeanius (Eric Gallager)
Changed 13 years ago by cooljeanius (Eric Gallager)
| Attachment: | config.log added |
|---|
gnu-classpath's config.log
comment:1 follow-up: 2 Changed 13 years ago by jmroot (Joshua Root)
Looks like genuinely bad code in the conftest.
comment:2 Changed 13 years ago by cooljeanius (Eric Gallager)
Replying to jmr@…:
Looks like genuinely bad code in the conftest.
So is there any way we could patch it? Or should this be reported upstream?
comment:3 Changed 2 years ago by cooljeanius (Eric Gallager)
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...

gnu-classpath's main.log