RE: [kaffe] build failing

2003-10-05 Thread Thomas Keane
Just gave it a try with the --disable-shared option when I was running
the configure script. When I tried to run make check - it got further
but died with the following error:

for i in gnu/regexp/MessagesBundle_fr.properties
gnu/regexp/MessagesBundle.properties
gnu/java/locale/iso3166-a3.properties
gnu/java/locale/iso3166_de.properties gnu/java/locale/iso3166.properties
gnu/java/locale/iso639-a2-old.properties
gnu/java/locale/iso639-a3.properties
gnu/java/locale/iso639_de.properties
gnu/java/locale/iso639_fr.properties
gnu/java/locale/iso639_ga.properties gnu/java/locale/iso639.properties ;
do cp ./$i lib/$i ; done
cp: cannot create regular file
`lib/gnu/java/locale/iso3166-a3.properties': No such file or directory
cp: cannot create regular file
`lib/gnu/java/locale/iso3166_de.properties': No such file or directory
cp: cannot create regular file `lib/gnu/java/locale/iso3166.properties':
No such file or directory
cp: cannot create regular file
`lib/gnu/java/locale/iso639-a2-old.properties': No such file or
directory
cp: cannot create regular file
`lib/gnu/java/locale/iso639-a3.properties': No such file or directory
cp: cannot create regular file
`lib/gnu/java/locale/iso639_de.properties': No such file or directory
cp: cannot create regular file
`lib/gnu/java/locale/iso639_fr.properties': No such file or directory
cp: cannot create regular file
`lib/gnu/java/locale/iso639_ga.properties': No such file or directory
cp: cannot create regular file `lib/gnu/java/locale/iso639.properties':
No such file or directory
make[1]: *** [rt.jar] Error 1
make[1]: Leaving directory `/root/kaffe/libraries/javalib'
make: *** [check-recursive] Error 1

thomas

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Dalibor Topic
Sent: 04 October 2003 21:25
To: Thomas Keane
Cc: [EMAIL PROTECTED]
Subject: Re: [kaffe] build failing

Hi Thomas,

Thomas Keane wrote:
 Hi,
 I'm getting a different error now when I try to run make check on
the
 latest CVS kaffe. Running stable Debian on PA-RISC architecture.
Here's
 the error:
  
 make[1]: Entering directory `/root/kaffe/libraries/javalib'
 rm -rf lib
 mkdir lib
 /bin/sh ./rebuildLib @essential.files
 Compiling classes from  @essential.files  using
 /root/kaffe/kaffe/kaffe/kaffe-bin -verbosegc -mx 256M at.dms.kjc.Main
 lt-kaffe-bin: exception.c:308: dispatchException: Assertion
 `!intsDisabled()' failed.
 ./rebuildLib: line 58: 30943 Aborted $JAVAC $VERBOSE
 $JAVAC_FLAGS -d $LIBDIR $CPATH ${1+$@}
 make[1]: *** [lib/stamp] Error 134
 make[1]: Leaving directory `/root/kaffe/libraries/javalib'
 make: *** [check-recursive] Error 1

I've looked into this and I've experienced the same kind of problems. 
When I configure kaffe with --disable-shared, it works for me, though. I

still get 16 regression tests failing, though.

Does configuring with --disable-shared help in your case?

cheers,
dalibor topic


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] FreeBSD/alpha and kaffe

2003-10-05 Thread Dalibor Topic
Gian Luca Decurtins wrote:
Hi all

I'm new to this list and I hope it's the right one to ask a question.

How can I port kaffe to FreeBSD on alpha? I saw that there is NetBSD 
support for alpha systems. Is it difficult to add FreeBSD support?
Maybe you could give me a hint and I could try to make it myself. :)
It shouldn't be too hard, given that freebsd ports to another platform 
already exists (i386), and kaffe has been ported to alpha, and there is 
a fairly well working alpha-netbsd port.

Basically, take a look at the linux  netbsd files under config/alpha/*, 
figure out the right settings for SIGNAL_ARGS and friends, and figure 
out the right setting for  SP_OFFSET by running developers/sp_offset.c. 
Try to get the interpreter to work first, without shared libraries. 
Looking at config/i386/freebsd2/md.h, I guess you may need to save the 
floating point registers in the signal context, so you may need to write 
some assembly there, and do some research.

Oh, and read the documentation on 
http://www.kaffe.org/documentation.shtml , especially the porting guide. 
 And come back often to ask questions ;)

good luck,
dalibor topic
___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Planning for 1.1.2 release

2003-10-05 Thread Arnaud Vandyck
On Sat, 27 Sep 2003 18:06:48 +0200
Dalibor Topic [EMAIL PROTECTED] wrote:

 Jim Pick wrote:
  Hi,
  
  Here's what I'm planning for the next release...
  
  Sunday, September 28 - Feature Freeze for 1.1.2
  Sunday, October 5 - Release 1.1.2

Is it release time?

  I'm really going to try to get some DocBook and Javadocs into this
  release.  Does anybody else have some goals for this release?
 
 a) Getting gjdoc in. (arnaud, me)

Don't think it will be possible before 1.1.3 or 1.1.4 :'(

For the rest, what is done? What has to be done?

 b) fixing most of the broken platforms to build again with latest gcc 
 (gcc 3.3.1) ( 1.1.2 was somewhat borked there ;)
 c) merging in java.beans from Classpath (needed to run jboss on kaffe)
 d) adding more docs on what third party components are used in kaffe,
 where they came from, what the licenses are etc in THIRDPARTY
 e) a THIRDPARTY-CHANGES file documenting the changed files with respect
 to Classpath, for example
 f) syncing back to classpath, i.e. getting the great work done by Ito,
 Helmer and Guilhem into GNU Classpath
 g) merging in java.util.jar from GNU Classpath
 h) fixing the outstanding bugs (collection stuff seems to be the most
 serious)
 i) merging the outstanding patches in (long mail from michael, rmi
 patches, jboss patches from classpath)
 j) fixing the libtool-vs-static-vm problem pointed out by Kiyo and Andrea
 k) fixing the libtool-vs-cross-compilation problem pointed out by sebastian
 l) merging in the NIO improvements by Michael Koch (guilhem)
 m) fixing the long standing broken strtod replacement issue for Linux 2.0
 n) fixing hp-ux (helmer, riccardo, me)

Cheers,

-- Arnaud Vandyck, STE fi, ULg
   Formateur Cellule Programmation.

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (dalibor): Removed incorrect comment about stacktraceFindMethod

2003-10-05 Thread Kaffe CVS
PatchSet 4098 
Date: 2003/10/05 16:04:47
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Removed incorrect comment about stacktraceFindMethod

Members: 
ChangeLog:1.1693-1.1694 
kaffe/kaffevm/stackTrace.c:1.30-1.31 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1693 kaffe/ChangeLog:1.1694
--- kaffe/ChangeLog:1.1693  Sun Oct  5 00:25:55 2003
+++ kaffe/ChangeLog Sun Oct  5 16:04:47 2003
@@ -1,3 +1,8 @@
+2003-10-05  Kiyo Inaba [EMAIL PROTECTED]
+
+   * kaffe/kaffevm/stackTrace.c:
+   Removed no longer valid comment.
+   
 2003-10-05  Dalibor Topic [EMAIL PROTECTED]
 
* config/superh/trampolines.c:
Index: kaffe/kaffe/kaffevm/stackTrace.c
diff -u kaffe/kaffe/kaffevm/stackTrace.c:1.30 kaffe/kaffe/kaffevm/stackTrace.c:1.31
--- kaffe/kaffe/kaffevm/stackTrace.c:1.30   Sun Aug 31 22:09:02 2003
+++ kaffe/kaffe/kaffevm/stackTrace.cSun Oct  5 16:04:49 2003
@@ -92,9 +92,6 @@
return ((Hjava_lang_Object*)info);
 }
 
-/*
- * We make these exported functions because we use them in classMethod.c
- */
 #if defined(TRANSLATOR)
 static Method*
 stacktraceFindMethod(uintp fp, uintp pc)

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Incorrect comment in kaffe/kaffevm/stackTrace.c

2003-10-05 Thread Dalibor Topic
Konnichiwa Kiyo,

Kiyo Inaba wrote:
When I try to fix some mis-configured compilation environment for kaffe, I found
one comment which shall be deleted.
In kaffe/kaffevm/stackTrace.c, comment just before the function 'stacktraceFindMethod'
says We make these exported functions because we use them in classMethod.c.
But at the same time, this function is defined as 'static' :-)
Tracing back the cvs, I noticed in version 1.25, this function becomes static,
but the comment was left untouched.
I think this comment shall be deleted.
Yes, thanks for spotting it. I've deleted it in the CVS.

cheers,
dalibor topic
___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Planning for 1.1.2 release

2003-10-05 Thread Dalibor Topic
Arnaud Vandyck wrote:
On Sat, 27 Sep 2003 18:06:48 +0200
Dalibor Topic [EMAIL PROTECTED] wrote:

b) fixing most of the broken platforms to build again with latest gcc 
(gcc 3.3.1) ( 1.1.2 was somewhat borked there ;)
I hope to have fixed all of the remaining multi-line string issues 
yesterday. Other issues pointed out by the debian buildd logs have been 
already fixed earlier.

c) merging in java.beans from Classpath (needed to run jboss on kaffe)
Milos Negovanovic has started to work on this, and posted some patches. 
Due to us being in release freeze, those will go in after 1.1.2 has been 
released.

d) adding more docs on what third party components are used in kaffe,
where they came from, what the licenses are etc in THIRDPARTY
Done in part. Still needs to be finished.

e) a THIRDPARTY-CHANGES file documenting the changed files with respect
to Classpath, for example
I have a file on my disk, that needs to be updated to reflect the 
current state of affairs.

f) syncing back to classpath, i.e. getting the great work done by Ito,
Helmer and Guilhem into GNU Classpath
Guilhem has been working with Mark Wielaard on getting his patches back 
in. I don't know if Helmer and Ito have filled in their paperwork with 
FSF to be able to contribute back to Classpath.

g) merging in java.util.jar from GNU Classpath
Milos Negovanovic has posted a set of patches that replaces kaffe's 
java.util.zip and java.util.jar with Classpath's. I'm picking easily 
mergeable classes from java.util.zip, and merged in those. The rest from 
java.util.zip needs some changes in Classpath's implementation in order 
to support multiple zip backends (I want both libz from kaffe and pure 
java from Classpath). This needs to be discussed on the classpath 
mailing list.

h) fixing the outstanding bugs (collection stuff seems to be the most
serious)
Not much done yet, I'll be looking at the collections bugs real soon now 
;) I want to merge Stuart's patch in, and hope to have a simple fix for 
the ant issue Jim reported a few weeks ago.

i) merging the outstanding patches in (long mail from michael, rmi
patches, jboss patches from classpath)
Nothing yet. Probably post-release.

j) fixing the libtool-vs-static-vm problem pointed out by Kiyo and Andrea
Nothing yet.

k) fixing the libtool-vs-cross-compilation problem pointed out by sebastian
Nothing yet.

l) merging in the NIO improvements by Michael Koch (guilhem)
Done. I think Michael fixed a few more things in the mean-time, so it 
may be worth looking over it again and bringing those changes into kaffe.

m) fixing the long standing broken strtod replacement issue for Linux 2.0
Unfortunately, nothing yet.

n) fixing hp-ux (helmer, riccardo, me)
Kind of works for me(TM). I can build kaffe on it with a prebuilt 
rt.jar, I haven't tried compiling rt.jar from scratch. More than 20 
regression tests fail. It would need a parisc/hpux hacker to take a look 
at it and fix what's broken.

I think I'll add dynamic_libs = no to config.frag on all parisc 
platforms at the moment.

My plan for today: collections, then sparc-solaris, then a stern look at 
the debian java.library.path issue, with a few attempts at fixing 
remaining breakage on parisc-linux and alpha-linux.

cheers,
dalibor topic
___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] build failing

2003-10-05 Thread Dalibor Topic
Thomas Keane wrote:
Just gave it a try with the --disable-shared option when I was running
the configure script. When I tried to run make check - it got further
but died with the following error:
for i in gnu/regexp/MessagesBundle_fr.properties
gnu/regexp/MessagesBundle.properties
gnu/java/locale/iso3166-a3.properties
gnu/java/locale/iso3166_de.properties gnu/java/locale/iso3166.properties
gnu/java/locale/iso639-a2-old.properties
gnu/java/locale/iso639-a3.properties
gnu/java/locale/iso639_de.properties
gnu/java/locale/iso639_fr.properties
gnu/java/locale/iso639_ga.properties gnu/java/locale/iso639.properties ;
do cp ./$i lib/$i ; done
cp: cannot create regular file
`lib/gnu/java/locale/iso3166-a3.properties': No such file or directory
cp: cannot create regular file
`lib/gnu/java/locale/iso3166_de.properties': No such file or directory
cp: cannot create regular file `lib/gnu/java/locale/iso3166.properties':
No such file or directory
cp: cannot create regular file
`lib/gnu/java/locale/iso639-a2-old.properties': No such file or
directory
cp: cannot create regular file
`lib/gnu/java/locale/iso639-a3.properties': No such file or directory
cp: cannot create regular file
`lib/gnu/java/locale/iso639_de.properties': No such file or directory
cp: cannot create regular file
`lib/gnu/java/locale/iso639_fr.properties': No such file or directory
cp: cannot create regular file
`lib/gnu/java/locale/iso639_ga.properties': No such file or directory
cp: cannot create regular file `lib/gnu/java/locale/iso639.properties':
No such file or directory
make[1]: *** [rt.jar] Error 1
make[1]: Leaving directory `/root/kaffe/libraries/javalib'
make: *** [check-recursive] Error 1
Hm, that's kind of weird. It works for me with a prebuilt rt.jar. When I

cd libraries/javalib; make  compile-classes

everything compiles fine (although there is obviously something wrong 
with the timing values). The compiler creates the directories 
lib/gnu/java and lib/gnu/java/locale where the properties files are 
supposed to be stored. Could you

cd libraries/javalib; make clean  make

and report back if it works? If it doesn't could you post the error 
message, and if the lib/gnu/java/locale directory has been created?

cheers,
dalibor topic
___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (dalibor): Fixed iteration in HashMap and Hashtable to use hasNext()

2003-10-05 Thread Kaffe CVS
PatchSet 4099 
Date: 2003/10/05 17:06:57
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed iteration in HashMap and Hashtable to use hasNext()

Removed micro-optimization in putAll and putAllInternal that used size() to precompute 
the number
of steps necessary to iterate over a collection. Use hasNext(), like Sun apparently 
does.

Members: 
ChangeLog:1.1694-1.1695 
libraries/javalib/java/util/HashMap.java:1.18-1.19 
libraries/javalib/java/util/Hashtable.java:1.28-1.29 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1694 kaffe/ChangeLog:1.1695
--- kaffe/ChangeLog:1.1694  Sun Oct  5 16:04:47 2003
+++ kaffe/ChangeLog Sun Oct  5 17:06:57 2003
@@ -1,3 +1,13 @@
+2003-10-05  Stuart Ballard [EMAIL PROTECTED]
+
+   * libraries/javalib/java/util/HashMap.java:
+   (putAll, putAllInternal) Iterate over collection using hasNext()
+   instead of using size().
+
+   * libraries/javalib/java/util/Hashtable.java
+   (putAll, putAllInternal) Iterate over collection using hasNext()
+   instead of using size().
+   
 2003-10-05  Kiyo Inaba [EMAIL PROTECTED]
 
* kaffe/kaffevm/stackTrace.c:
Index: kaffe/libraries/javalib/java/util/HashMap.java
diff -u kaffe/libraries/javalib/java/util/HashMap.java:1.18 
kaffe/libraries/javalib/java/util/HashMap.java:1.19
--- kaffe/libraries/javalib/java/util/HashMap.java:1.18 Tue Aug 12 23:02:19 2003
+++ kaffe/libraries/javalib/java/util/HashMap.java  Sun Oct  5 17:06:58 2003
@@ -381,8 +381,7 @@
   public void putAll(Map m)
   {
 Iterator itr = m.entrySet().iterator();
-int msize = m.size();
-while (msize--  0)
+while (itr.hasNext())
   {
 Map.Entry e = (Map.Entry) itr.next();
 // Optimize in case the Entry is one of our own.
@@ -709,10 +708,10 @@
   void putAllInternal(Map m)
   {
 Iterator itr = m.entrySet().iterator();
-int msize = m.size();
-size = msize;
-while (msize--  0)
+size = 0;
+while (itr.hasNext())
   {
+size++;
Map.Entry e = (Map.Entry) itr.next();
Object key = e.getKey();
int idx = hash(key);
Index: kaffe/libraries/javalib/java/util/Hashtable.java
diff -u kaffe/libraries/javalib/java/util/Hashtable.java:1.28 
kaffe/libraries/javalib/java/util/Hashtable.java:1.29
--- kaffe/libraries/javalib/java/util/Hashtable.java:1.28   Tue Aug 12 23:02:19 
2003
+++ kaffe/libraries/javalib/java/util/Hashtable.javaSun Oct  5 17:06:58 2003
@@ -510,7 +510,7 @@
   {
 Iterator itr = m.entrySet().iterator();
 
-for (int msize = m.size(); msize  0; msize--)
+while (itr.hasNext())
   {
 Map.Entry e = (Map.Entry) itr.next();
 // Optimize in case the Entry is one of our own.
@@ -859,11 +859,11 @@
   void putAllInternal(Map m)
   {
 Iterator itr = m.entrySet().iterator();
-int msize = m.size();
-this.size = msize;
+size = 0;
 
-for (; msize  0; msize--)
+while (itr.hasNext())
   {
+size++;
Map.Entry e = (Map.Entry) itr.next();
Object key = e.getKey();
int idx = hash(key);

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] HashMap putAll/putAllInternal bug

2003-10-05 Thread Dalibor Topic
Hi Stuart,

Stuart Ballard wrote:
(sent to classpath, but their mailing list is a blackhole at the moment 
and, being impatient, I figured I'd send to Kaffe where it's also 
relevant, since Kaffe's collections classes come from Classpath)

The HashMap putAll and putAllInternal (called from constructor) methods
use size() to get the size of the map to be added, and then iterate over
the iterator that many times to add elements. Instead, they should call
hasNext() on the iterator.
thanks for the patch, it's now fixed in kaffe. I hope you can get the 
code into Classpath, too. Fight premature micro-optimizations! ;)

cheers,
dalibor topic
___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (dalibor): Fix for StackOverflowError in ant from CVS

2003-10-05 Thread Kaffe CVS
PatchSet 4100 
Date: 2003/10/05 18:25:09
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fix for StackOverflowError in ant from CVS

Fixed by delegating calls to Hashtable's contains and containsValue methods
to a private worker method to avoid crashes due to classes overriding both
methods in a way that results in an invocation loop.

Members: 
ChangeLog:1.1695-1.1696 
libraries/javalib/java/util/Hashtable.java:1.29-1.30 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1695 kaffe/ChangeLog:1.1696
--- kaffe/ChangeLog:1.1695  Sun Oct  5 17:06:57 2003
+++ kaffe/ChangeLog Sun Oct  5 18:25:09 2003
@@ -1,3 +1,11 @@
+2003-10-05  Dalibor Topic [EMAIL PROTECTED]
+
+   * libraries/javalib/java/util/Hashtable.java:
+   (internalcontainsValue) new method.
+   (contains, containsValue) delegate to internalContainsValue.
+
+   Reported by: Jim Pick [EMAIL PROTECTED]
+   
 2003-10-05  Stuart Ballard [EMAIL PROTECTED]
 
* libraries/javalib/java/util/HashMap.java:
Index: kaffe/libraries/javalib/java/util/Hashtable.java
diff -u kaffe/libraries/javalib/java/util/Hashtable.java:1.29 
kaffe/libraries/javalib/java/util/Hashtable.java:1.30
--- kaffe/libraries/javalib/java/util/Hashtable.java:1.29   Sun Oct  5 17:06:58 
2003
+++ kaffe/libraries/javalib/java/util/Hashtable.javaSun Oct  5 18:25:11 2003
@@ -333,7 +333,10 @@
*/
   public synchronized boolean contains(Object value)
   {
-return containsValue(value);
+/* delegate to non-overridable worker method 
+ * to avoid blowing up the stack.
+ */
+return internalContainsValue(value);
   }
 
   /**
@@ -349,6 +352,25 @@
* @since 1.2
*/
   public boolean containsValue(Object value)
+  {
+/* delegate to non-overridable worker method 
+ * to avoid blowing up the stack.
+ */
+return internalContainsValue(value);
+  }
+
+  /**
+   * Returns true if this Hashtable contains a value codeo/code, such that
+   * codeo.equals(value)/code. This is an internal worker method
+   * called by codecontains()/code and codecontainsValue()/code.
+   *
+   * @param value the value to search for in this Hashtable
+   * @return true if at least one key maps to the value
+   * @see #contains(Object)
+   * @see #containsKey(Object)
+   * @throws NullPointerException if codevalue/code is null
+   */
+  private boolean internalContainsValue(Object value)
   {
 for (int i = buckets.length - 1; i = 0; i--)
   {

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Bug Report: StackOverflowError and Collections

2003-10-05 Thread Dalibor Topic
Hi Jim,

Jim Pick wrote:

Basically, LazyHashtable.contains(Object value) calls
super.contains(Object value) in Hashtable, which in Classpath's
implementation, calls Hashtable.containsValue(Object value).
Unfortunately, LazyHashTable.containsValue(Ojbect value) overrides that,
just calling calling LazyHashTable.contains(Object value) again, and we
have a loop.
Should be fixed with my latest patch. Could you cvs update and try again?

cheers,
dalibor topic


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] kaffe on Linux/Alpha build trouble

2003-10-05 Thread Dalibor Topic
Alexander Kotelnikov wrote:
Hello.

I am tring to build kaffe 1.1.1 on debian linux/alpha, unstable
configuring it with --with-rt-jar=no and get the following error:
make[1]: Entering directory `/tmp/k3/kaffe-1.1.1/libraries/javalib'
rm -rf lib
mkdir lib
/bin/sh ./rebuildLib @essential.files
Compiling classes from  @essential.files  using  
/tmp/k3/kaffe-1.1.1/kaffe/kaffe/kaffe-bin -verbosegc at.dms.kjc.Main
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/ArrayIndexOutOfBoundsException
./rebuildLib: line 51: 15145 Aborted (core dumped) $JAVAC $VERBOSE $JAVAC_FLAGS 
-d $LIBDIR $CPATH ${1+$@}
make[1]: *** [lib/stamp] Error 134
make[1]: Leaving directory `/tmp/k3/kaffe-1.1.1/libraries/javalib'
make: *** [all-recursive] Error 1
zsh: exit 2 make
Is this a known problem?
I'm seeing this, too. It would be great if you could take a look at the 
compiler warnings, and send some patches to fix them. Once it compiles 
without warnings, it should be easier to fix.

cheers,
dalibor topic
___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Re: Java and testing release

2003-10-05 Thread Dalibor Topic
Hi Ricky,

I've CC:ed Arnaud, as he's very active in the debian-java community.

Ricky Clarkson wrote:
Er, I found this on the debian-java mailing list and thought you guys
might be interested.
Regards,

Ricky.

On Fri, Oct 03, 2003 at 01:26:55PM +0100, MJ Ray wrote:

Hi all,

I was just reading the bug list email and I spotted two java packages 
are marked for removal from testing.  I don't really use java much 
myself these days, so I thought I'd wave them at this list.

orp is being removed because of a bug that looks quite fully diagnosed 
at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=185881 but not 
fixed.  It hasn't been acknowledged by the maintainer according to 
http://lists.debian.org/debian-release/2003/debian-release-200308/msg00025.html 
This wasn't mentioned in the 27 Aug bug list.  It might be a recent REMOVE 
list addition.

kaffee is still being removed because of more complex reasons, it 
seems, from 
http://lists.debian.org/debian-release/2003/debian-release-200304/msg00022.html 
Please take a look at http://bugs.debian.org/src:kaffe and see if you can 
help.  This was discussed in the last Java RC bug list on this list.
well, it's been marked to be removed for quite a while now. 
Unfortunately, no kaffe 1.1.x package has ever made it into testing so 
far, due to bugs during the build on some platforms. While some are 
getting fixed, others pop up ;)

I assume the reason it's being marked [remove] is a security bug against 
an old version (1.0.5). That one was fixed, but unfortunately the fix 
didn't build anymore on some platforms.

To make a long story short, I hope that the upcoming 1.1.2 will finally 
make it past testing, as it should fix the huge compilation issues 
almost everyone not using i386-linux or i386-freebsd2 had.

To cite debian's bug tracker: 
http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=srcdata=kaffearchive=nopend-exc=pending-fixedpend-exc=fixedpend-exc=donesev-inc=criticalsev-inc=gravesev-inc=serious

Serious policy violations - outstanding (3 bugs)

* #197617: kaffe_1:1.0.5e-1(m68k/stable/poseidon): FTBFS, missing 
build-dep
  Package: kaffe; Severity: serious; Reported by: Stephen R Marenka
[EMAIL PROTECTED]; Tags: woody; 111 days old.

	Needs Ean to add a dependency to the package apparently, so that it can 
build again.

* #205327: kaffe_1:1.1.1-2: FTBFS: missing terminating character
  Package: kaffe; Severity: serious; Reported by: Bdale Garbee 
[EMAIL PROTECTED]; Tags: help, patch; 52 days old.

	Fixed in current kaffe CVS, I hope. Except for the crash during 
compilation of class library on alpha, which needs someone on 
alpha-linux to hack it back into shape.

* #208025: kaffe: man page misplaced (under /usr/lib/kaffe)
  Package: kaffe; Severity: serious; Reported by: Aaron M. Ucko 
[EMAIL PROTECTED]; Tags: patch; 35 days old.

	Debian specific bug, a patch is there.

So it's not as bleak as it seems. ;) It would be great if the debian 
developers could get an updated 1.0.5 out of the door, and then proceed 
to wrap up 1.1.2 when it's out.

cheers,
dalibor topic
___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (dalibor): Fixed crash with bad java.library.path property

2003-10-05 Thread Kaffe CVS
PatchSet 4101 
Date: 2003/10/06 00:12:46
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed crash with bad java.library.path property

when java.library.path wasn't set to include kaffe's internal libraries, it would abort
with an error message to add it's internal libraries to the LD_LIBRARY_PATH. This has
been fixed by introducing a new system property kaffe.library.path and always 
searching it
before java.library.path when looking for native libraries to load. Fixes debian bug 
report

Members: 
ChangeLog:1.1696-1.1697 
libraries/clib/native/System.c:1.38-1.39 
libraries/javalib/Klasses.jar.bootstrap:1.39-1.40 
libraries/javalib/java/lang/NativeLibrary.java:1.3-1.4 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1696 kaffe/ChangeLog:1.1697
--- kaffe/ChangeLog:1.1696  Sun Oct  5 18:25:09 2003
+++ kaffe/ChangeLog Mon Oct  6 00:12:46 2003
@@ -1,3 +1,19 @@
+2003-10-06  Dalibor Topic [EMAIL PROTECTED]
+
+   * libraries/clib/native/System.c:
+   New system property kaffe.library.path.
+   (java_lang_System_initProperties) Set java.library.path initally
+   to empty. Set kaffe.library.path to library path.
+
+   * libraries/javalib/java/lang/NativeLibrary.java:
+   (getLibraryNames) Search kaffe.library.path first, and then look
+   for native libraries in java.library.path.
+
+   * libraries/javalib/Klasses.jar.bootstrap:
+   Regenerated.
+   
+   Reported by: Ben Burton [EMAIL PROTECTED]
+   
 2003-10-05  Dalibor Topic [EMAIL PROTECTED]
 
* libraries/javalib/java/util/Hashtable.java:
Index: kaffe/libraries/clib/native/System.c
diff -u kaffe/libraries/clib/native/System.c:1.38 
kaffe/libraries/clib/native/System.c:1.39
--- kaffe/libraries/clib/native/System.c:1.38   Tue Aug  5 15:06:39 2003
+++ kaffe/libraries/clib/native/System.cMon Oct  6 00:12:47 2003
@@ -234,6 +234,7 @@
 * file.encoding.pkgCharacter encoding package
 * kaffe.compiler   Default java compiler
 * sun.boot.class.path  Bootclasspath
+* kaffe.library.path   Search path for kaffe's native libraries
 *
 */
 
@@ -249,7 +250,8 @@
setProperty(p, java.io.tmpdir, /tmp);   /* XXX or /var/tmp?? */
 #endif
 
-   setProperty(p, java.library.path, getLibraryPath());
+   setProperty(p, java.library.path, );
+   setProperty(p, kaffe.library.path, getLibraryPath());
 
setProperty(p, java.vm.specification.version,
  kaffe_vm_specification_version);
Index: kaffe/libraries/javalib/Klasses.jar.bootstrap
cvs rdiff: failed to read diff file header /tmp/cvstinMIN for Klasses.jar.bootstrap,v: 
end of file
system command returned non-zero exit status: 1: aborting

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Release Monday

2003-10-05 Thread Jim Pick
Hi,

I ran short on time today to do the release - expect it tomorrow...

Cheers,

 - Jim

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe