[kaffe] [FW] Bug#230132: kaffe: JarException while running jar

Arnaud Vandyck avdyk@debian.org
Fri Jan 30 08:27:01 2004


--=-=-=

Is this a known bug?


--=-=-=
Content-Type: message/rfc822
Content-Disposition: inline

X-From-Line: hazelsct@debian.org  Sun Jan 28 15:10:29 2004
Return-Path: <owner@packages.qa.debian.org>
Delivered-To: arnaud.vandyck@ulg.ac.be
Received: (qmail 13680 invoked from network); 28 Jan 2004 21:22:05 +0100
Received: from unknown ([139.165.32.83])
          by serv19.segi.ulg.ac.be (qmail-ldap-1.03) with QMQP; 28 Jan 2004
 21:22:05 +0100
Delivered-To: CLUSTERHOST serv26.segi.ulg.ac.be arnaud.vandyck@ulg.ac.be
Received: (qmail 30798 invoked by uid 504); 28 Jan 2004 21:22:04 +0100
Received: from owner@packages.qa.debian.org by serv26.segi.ulg.ac.be by uid
 501 with qmail-scanner-1.16 
 (clamscan: 0.60. spamassassin: 2.55.  Clear:SA:0(-6.5/5.0):. 
 Processed in 3.849733 secs); 28 Jan 2004 20:22:04 -0000
Received: from unknown (HELO master.debian.org) ([146.82.138.7])
          (envelope-sender <owner@packages.qa.debian.org>)
          by serv26.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
          for <arnaud.vandyck@ulg.ac.be>; 28 Jan 2004 21:22:00 +0100
Received: from hertzog by master.debian.org with local (Exim 3.35 1
 (Debian))
	id 1AlwBi-0000cV-00; Wed, 28 Jan 2004 14:21:26 -0600
Received: from spohr.debian.org [128.193.0.4] by master.debian.org with
    esmtp (Exim 3.35 1 (Debian)) id 1AlwBi-0000cP-00; Wed, 28 Jan 2004
    14:21:26 -0600
Received: from debbugs by spohr.debian.org with local (Exim 3.35 1
    (Debian)) id 1Alw8Q-0007T6-00; Wed, 28 Jan 2004 12:18:02 -0800
X-Loop: owner@bugs.debian.org
Subject: Bug#230132: kaffe: JarException while running jar
Reply-To: Adam C Powell IV <hazelsct@debian.org>, 230132@bugs.debian.org
Resent-From: Adam C Powell IV <hazelsct@debian.org>
Original-Sender: Adam C Powell IV <hazelsct@doorstop.home.net>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: ean@novare.net (Ean R. Schuessler)
Resent-Date: Wed, 28 Jan 2004 20:18:02 UTC
Resent-Message-Id: <handler.230132.B.107532064625952@bugs.debian.org>
X-Debian-PR-Message: report 230132
X-Debian-PR-Package: kaffe
X-Debian-PR-Keywords: 
Received: via spool by submit@bugs.debian.org id=B.107532064625952 (code B
    ref -1); Wed, 28 Jan 2004 20:18:02 UTC
Received: (at submit) by bugs.debian.org; 28 Jan 2004 20:10:46 +0000
Received: from h001057000cf9.ne.client2.attbi.com (doorstop.home.net)
    [65.96.185.57] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id
    1Alw1O-0006j8-00; Wed, 28 Jan 2004 12:10:46 -0800
Received: from hazelsct by doorstop.home.net with local (Exim 3.35 #1
    (Debian)) id 1Alw17-0000Wn-00; Wed, 28 Jan 2004 15:10:29 -0500
From: Adam C Powell IV <hazelsct@debian.org>
To: Debian Bugs <submit@bugs.debian.org>
Cc: Tom Epperly <tepperly@llnl.gov>
X-Mailer: Ximian Evolution 1.0.5
Date: 28 Jan 2004 15:10:29 -0500
Message-Id: <1075320629.1825.89.camel@doorstop>
Sender: Adam C Powell IV <hazelsct@doorstop.home.net>
Delivered-To: submit@bugs.debian.org
Resent-Sender: Debian BTS <debbugs@bugs.debian.org>
Delivered-To: kaffe@packages.qa.debian.org
Precedence: list
X-Loop: kaffe@packages.qa.debian.org
X-PTS-Package: kaffe
X-PTS-Keyword: bts
X-Unsubscribe: echo 'unsubscribe kaffe' | mail pts@qa.debian.org
X-Spam-Status: No, hits=-6.5 required=5.0
	tests=AWL,BAYES_10,DEBIAN_BTS_BUG,X_LOOP
	version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
X-Content-Length: 1308
Lines: 41
Xref: oz.fapse.ulg.ac.be debian.bugs:479
MIME-Version: 1.0

Package: kaffe
Version: 1.1.3-0.2
Severity: normal

Greetings,

The babel archive (source package: babel) doesn't correctly build using
kaffe's jar:

jar cf ../lib/babel-0.8.8.jar
gov/llnl/babel/backend/c/ArrayMethods.class [and a ton of other classes]
java.util.jar.JarException: Attributes cannot be called 'Name'
   at java.util.jar.Manifest.write_attribute_entry (Manifest.java:404)
   at java.util.jar.Manifest.write_entry_attributes (Manifest.java:436)
   at java.util.jar.Manifest.write_individual_sections
(Manifest.java:424)
   at java.util.jar.Manifest.write (Manifest.java:325)
   at java.util.jar.JarOutputStream.writeManifest
(JarOutputStream.java:98)
   at java.util.jar.JarOutputStream.<init> (JarOutputStream.java:81)
   at kaffe.tools.jar.Jar.createJar (Jar.java:1088)
   at kaffe.tools.jar.Jar.processJar (Jar.java:404)
   at kaffe.tools.jar.Jar.start (Jar.java:64)
   at kaffe.tools.jar.Jar.main (Jar.java:43)

I replaced jar with fastjar, and it worked just fine, and the babel test
suite is now running using the resulting babel-0.8.8.jar file and kaffe
interpreter.

Thanks,
-- 
-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://lyre.mit.edu/~powell/The_Best_Stuff_In_The_World_Today_Cafe.ogg





--=-=-=



-- 
  .''`. 
 : :' :rnaud
 `. `'  
   `-    

--=-=-=--