Hi, I've been having problems compiling kaffe on my alpha. Compiling stops at this point: Compiling classes ... jikes: /users/stefan/RPM/BUILD/jikes/src/ast.h:6073: AstArray<int>::AstArray(StoragePool *, unsigned int): Assertion `sizeof(T) == sizeof(StoragePool::Cell)' failed. ./rebuildLib: line 45: 21156 Aborted $JAVAC $VERBOSE -d $LIBDIR $CPATH ${1+"$@"} make[1]: *** [lib/stamp] Error 134 make[1]: Leaving directory `/data/users/stefan/RPM/BUILD/kaffe-1.0.5/libraries/javalib' make: *** [Klasses] Error 2 Bad exit status from /var/tmp/rpm-tmp.9879 (%build) I noticed that RedHat just calls a "make" instead of a "make all Klasses". If the .spec file is modified as follows (also see diff) +%ifarch alpha +make +%else make all Klasses +%endif Then it'll work fine. I beleive this change put the "make all Klasses" in: * Tue Mar 14 2000 Maurizio De Cecco <[EMAIL PROTECTED]> - Added Mandrake Patches for Process, TextField and TextComponent classes - Upgraded the kjc compiler to version 1.4C. - Modified build process to rebuild the patched class library - Adapted to the new group structure Would it be OK if just give the alpha platform a "make"? What side effects would it have? How to go from here? Stefan
--- kaffe.spec.orig Sun Jun 11 23:19:12 2000 +++ kaffe.spec Mon Jun 12 00:30:56 2000 @@ -1,7 +1,7 @@ Summary: A free virtual machine for running Java(TM) code Name: kaffe Version: 1.0.5 -Release: 11mdk +Release: 12mdk Serial: 1 Copyright: GPL Url: http://www.kaffe.org/ @@ -52,7 +52,11 @@ # cp -l kaffe/kaffevm/intrp/icode.h kaffe/kaffevm/jit # make # } +%ifarch alpha +make +%else make all Klasses +%endif %install rm -rf $RPM_BUILD_ROOT @@ -91,6 +95,10 @@ /usr/include/kaffe %changelog +* Mon Jun 12 2000 Stefan van der Eijk <[EMAIL PROTECTED]> 1.05-12mdk +- added ifarch for alpha, plain "make" is fine for alpha, make all Klasses + doesn't work + * Fri May 26 2000 David BAUDENS <[EMAIL PROTECTED]> 1.05-11mdk - BuildConflicts: jikes - Use %%{_tmppath} for BuildRoot