Opened 11 years ago

Last modified 11 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)

main.log (12.3 KB) - added by cooljeanius (Eric Gallager) 11 years ago.
gnu-classpath's main.log
config.log (53.2 KB) - added by cooljeanius (Eric Gallager) 11 years ago.
gnu-classpath's config.log

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by cooljeanius (Eric Gallager)

Attachment: main.log added

gnu-classpath's main.log

Changed 11 years ago by cooljeanius (Eric Gallager)

Attachment: config.log added

gnu-classpath's config.log

comment:1 Changed 11 years ago by jmroot (Joshua Root)

Looks like genuinely bad code in the conftest.

comment:2 in reply to:  1 Changed 11 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?

Note: See TracTickets for help on using tickets.