pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44221: kaffe builds but is unusable (to bootstrap wip/jdk15)

>Number:         44221
>Category:       pkg
>Synopsis:       kaffe builds but is unusable (to bootstrap wip/jdk15)
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 12 09:55:00 +0000 2010
>Originator:     B ICT A.P. deBrouwer Jr.
>Release:        i386 5.0.2
NetBSD 5.0.2 NetBSD 5.0.2 (GENERIC.IP4) #2: Sun Nov 14 16:18:05 CET 
2010  root%h12.hosts@localhost:/obj/sys/arch/i386/compile/GENERIC.IP4 i386
wip/jdk15 being resurrected, build using kaffe on DragonFly
did succeed but a build on NetBSD/i386 and amd64 didn't.

Francois Tigeot <> did tell me the included 
needed fix.
build (resurrected) wip/jdk15 using kaffe to bootstrap from
and notice the jdk15 build breaking:

Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
   at gnu.classpath.SystemProperties.getProperty (
   at java.lang.VMClassLoader.<clinit> (
   at java.lang.ClassLoader$StaticData.<clinit> (
   at java.lang.ClassLoader.getSystemClassLoader (
   at gnu.classpath.VMSystemProperties.postInit (
   at gnu.classpath.SystemProperties.<clinit> (
   at java.lang.Runtime.<init> (
   at java.lang.Runtime.<clinit> (
   at java.lang.System.loadLibrary (
   at<clinit> (
   at<clinit> (
   at java.lang.VMSystem.makeStandardInputStream (
   at java.lang.System.<clinit> (
   at java.lang.Object.hashCode (
   at java.util.Hashtable.hash (
   at java.util.Hashtable.put (
   at (
[1]   Abort trap (core dumped) /pkg_comp/obj/pk...
gmake[2]: *** [../generated/includeDB.current] Error 134
gmake[2]: Leaving directory 
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory 
gmake: *** [product] Error 2
*** Error code 2

conform my understanding Francois on DragonFly is using gcc 4.4.2 and he 
suspects gcc 3.4 should also work.
on NetBSD however the build breaks as well, if using gcc44-4.4.4nb1:

cd ../generated;   /pkg_comp/obj/pkgsrc/wip/jdk15/default/bin/java -classpath . 
MakeDeps diffs UnixPlatform platform.current includeDB.current 
java.lang.ClassNotFoundException: MakeDeps not found in 
gmake[2]: *** [../generated/includeDB.current] Error 1
gmake[2]: Leaving directory 
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory 
gmake: *** [product] Error 2
*** Error code 2

i'm unsure the start this kaffe problem but suspect

--- /usr/pkgsrc/lang/kaffe/Makefile     2009-12-16 00:41:45.000000000 +0100
+++ /usr/pkgsrc/lang/kaffe/ 2010-12-12 01:35:06.000000000 +0100
@@ -29,5 +29,14 @@
        ${INSTALL_DATA} ${WRKSRC}/license.terms ${DESTDIR}${JAVA_HOME}
+.include "../../mk/"
+.if ${OPSYS} == "DragonFly"  || (!empty(MACHINE_PLATFORM:MNetBSD-4*) || 
+GCC_REQD+=             3.4
+USE_PKGSRC_GCC=                yes
+CFLAGS+=               -O0
+.include "../../mk/"
 .include "../../mk/"
 .include "../../mk/"

Home | Main Index | Thread Index | Old Index