pkgsrc-Bugs archive

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

pkg/30017: can't update kaffe to 1.1.5



>Number:         30017
>Category:       pkg
>Synopsis:       It seems that kaffe 1.1.5 does something wrong with 
>pkgsrc-wrappers :?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 20 15:13:00 +0000 2005
>Originator:     pancake%phreaker.net@localhost
>Release:        Linux 2.6.9pl2
>Organization:
        
>Environment:
        
        
System: Linux pl2 2.6.9pl2 #6 Sun Dec 26 18:31:57 VET 2004 i686 GNU/Linux
Architecture: i686
Machine: i686
>Description:
i'm trying to build kaffe-1.1.5 with pkgsrc...but it seems impossible it looks 
like
if pkgsrc's libtool wrapper (or kaffe one) does something silly and crashes 
running
the 'install' target.

I was trying to update kaffe, because kaffe 1.1.5 have a great Changelog and I 
don't
want to run any propiertary VM. I want free and native (non-linux-emulation) VM 
on
my BSD boxes.

Can anybody take a look on this problem?

thanks a lot

        
>How-To-Repeat:
        Just apply my patches against lang/kaffe, type 'make' and 'make 
install'.

        make finishes fine, but 'install' target crashes with the following 
error:

/usr/pkg/bin/libtool: line 1860: cd: ../../libltdl/.libs: No such file or 
directory
libtool: link: cannot determine absolute directory name of `../../libltdl/.libs'
libtool: install: error: relink `libkaffevm.la' with the above command before 
installi                                                   ng it
make[3]: *** [install-nativeLTLIBRARIES] Error 1
make[3]: Leaving directory `/tmp/lang/kaffe/work/kaffe-1.1.5/kaffe/kaffevm'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/tmp/lang/kaffe/work/kaffe-1.1.5/kaffe/kaffevm'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/lang/kaffe/work/kaffe-1.1.5/kaffe/kaffevm'
make: *** [install-recursive] Error 1
*** Error code 2

        
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/kaffe/Makefile,v
retrieving revision 1.58
diff -u -r1.58 Makefile
--- Makefile    30 Jan 2005 23:18:38 -0000      1.58
+++ Makefile    20 Apr 2005 15:05:56 -0000
@@ -3,9 +3,7 @@
 
 .include "Makefile.common"
 
-PKGREVISION=           6
-
-CONFLICTS+=            kaffe-nox11-[0-9]*
+CONFLICTS+=            kaffe-x11-[0-9]*
 
 JAVA_WRAPPERS=         appletviewer jar java javac javadoc javah javakey \
                        javap jdb rmic rmiregistry serialver
@@ -17,6 +15,7 @@
 
 PRINT_PLIST_AWK+=      /^java\/kaffe\/jre\/lib\/security\/java.security$$/ \
                                { next; }
+CONFIGURE_ARGS += --without-classpath-gtk-awt
 
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/license.terms ${JAVA_HOME}
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/lang/kaffe/Makefile.common,v
retrieving revision 1.4
diff -u -r1.4 Makefile.common
--- Makefile.common     11 Apr 2005 21:46:14 -0000      1.4
+++ Makefile.common     20 Apr 2005 15:05:56 -0000
@@ -1,12 +1,12 @@
 # $NetBSD: Makefile.common,v 1.4 2005/04/11 21:46:14 tv Exp $
 
-DISTNAME=              kaffe-1.1.4
+DISTNAME=              kaffe-1.1.5
 CATEGORIES=            lang java
 MASTER_SITES=          ftp://ftp.kaffe.org/pub/kaffe/v1.1.x-development/
 
 MAINTAINER=            tech-pkg%NetBSD.org@localhost
 HOMEPAGE=              http://www.kaffe.org/
-COMMENT=               Virtual machine capable of running Java(tm) code
+COMMENT=               Clean room implementation of the Java(tm) virtual 
machine
 
 GNU_CONFIGURE_PREFIX=  ${JAVA_HOME}
 JAVA_HOME=             ${PREFIX}/java/kaffe
@@ -15,16 +15,9 @@
 USE_PKGINSTALL=                yes
 USE_LIBTOOL=           yes
 USE_GNU_TOOLS+=                make
-LTCONFIG_OVERRIDE=     ${WRKSRC}/ltconfig
 TEST_TARGET=           check
 
-ONLY_FOR_PLATFORM=     *-*-alpha *-*-arm *-*-arm32 *-*-i386 *-*-m68k *-*-mips* 
\
-                       *-*-sparc *-*-powerpc
-
 GNU_CONFIGURE=         yes
-CPPFLAGS+=             -Dunix
-PATCHDIR=              ${.CURDIR}/../../lang/kaffe/patches
-DISTINFO_FILE=         ${.CURDIR}/../../lang/kaffe/distinfo
 
 BUILDLINK_PASSTHRU_DIRS+=      ${JAVA_HOME}/jre/lib/${MACHINE_ARCH}
 
@@ -34,18 +27,18 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-.if (${OPSYS} == "NetBSD") && (${OBJECT_FMT} == "ELF")
+#.if (${OPSYS} == "NetBSD") && (${OBJECT_FMT} == "ELF")
 #
 # We need to explicitly link libkaffe*.so with libc.so so that libc symbols
 # are resolved correctly when libkaffe*.so are dynamically loaded.
 #
-CONFIGURE_ENV+=                VM_LIBS="-lc"
-.endif
+#CONFIGURE_ENV+=               VM_LIBS="-lc"
+#.endif
 
-.if (${OPSYS} == "NetBSD") && (${MACHINE_ARCH} == "alpha")
+#.if (${OPSYS} == "NetBSD") && (${MACHINE_ARCH} == "alpha")
 # On these systems, jit3 is not working.
-CONFIGURE_ARGS+=       --with-engine=intrp
-.endif
+#CONFIGURE_ARGS+=      --with-engine=intrp
+#.endif
 
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/gmp/buildlink3.mk"
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/lang/kaffe/distinfo,v
retrieving revision 1.12
diff -u -r1.12 distinfo
--- distinfo    24 Feb 2005 09:03:08 -0000      1.12
+++ distinfo    20 Apr 2005 15:05:56 -0000
@@ -1,8 +1,5 @@
 $NetBSD: distinfo,v 1.12 2005/02/24 09:03:08 agc Exp $
 
-SHA1 (kaffe-1.1.4.tar.gz) = fb7a6ac27d82e1854de07422c46ce5e17beda58b
-RMD160 (kaffe-1.1.4.tar.gz) = 5bb8b0c9a338a3bd05f9fdc2a3f94c297489a7db
-Size (kaffe-1.1.4.tar.gz) = 8891220 bytes
-SHA1 (patch-aa) = 7b5dde8d984e8ee2d474d4e54d064562a5535533
-SHA1 (patch-ac) = 5a4cd4ee913b7d4277cc10c38a7c4a810ba258f1
-SHA1 (patch-ae) = f7d6ff1e9356f6ba00c23c2ab0a1682aa9ccc003
+SHA1 (kaffe-1.1.5.tar.gz) = ebd8da490783ed189fb25fad0d674f384194e2f3
+RMD160 (kaffe-1.1.5.tar.gz) = 516b5dbaa13efed099f59ff9b7121700ef6ad13b
+Size (kaffe-1.1.5.tar.gz) = 9796278 bytes
        

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index