From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8132 invoked by alias); 8 Jun 2003 12:40:41 -0000 Mailing-List: contact mauve-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-discuss-owner@sources.redhat.com Received: (qmail 8125 invoked from network); 8 Jun 2003 12:40:40 -0000 Received: from unknown (HELO nescio.wildebeest.org) (62.108.28.95) by sources.redhat.com with SMTP; 8 Jun 2003 12:40:40 -0000 Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark) by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian)) id 19OzS2-0006CG-00; Sun, 08 Jun 2003 14:39:10 +0200 Subject: Re: Build Error From: Mark Wielaard To: Dara Hazeghi Cc: mauve-discuss@sources.redhat.com In-Reply-To: <1055068305.810.930.camel@elsschot> References: <20030608070107.45208.qmail@web41104.mail.yahoo.com> <1055068305.810.930.camel@elsschot> Content-Type: multipart/mixed; boundary="=-CUc6opYvciImvynouqZM" Message-Id: <1055076035.779.1074.camel@elsschot> Mime-Version: 1.0 Date: Sun, 08 Jun 2003 12:40:00 -0000 X-SW-Source: 2003-q2/txt/msg00031.txt.bz2 --=-CUc6opYvciImvynouqZM Content-Type: text/plain Content-Transfer-Encoding: 7bit Content-length: 896 Hi, On Sun, 2003-06-08 at 12:31, Mark Wielaard wrote: > OK. I see that the configure --with-gcj which does a native compile > seems to be broken (almost same error as you have). Hmmmm. Will > investigate later. The problems comes from the fact that we are now sometimes using a class both as a test and as an helper class for another test. This means that we have to make sure that the combination of 'choices' and the 'uses' only contain each class once. The attached patch does this. 2003-06-08 Mark Wielaard * choose: Add all classes first to usesfile to uniqify them later before adding them to choises. I have checked it in. It should fix your problem. For me the following now works: $ GCJ=gcj-3.3 ../mauve/configure --with-gcj $ make check KEYS=libgcj Which gives: 174 of 7979 tests failed (Using a slightly tweaked mauve-libgcj) Cheers, Mark --=-CUc6opYvciImvynouqZM Content-Disposition: inline; filename=choose.diff Content-Type: text/x-patch; name=choose.diff; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Content-length: 619 Index: choose =================================================================== RCS file: /cvs/mauve/mauve/choose,v retrieving revision 1.21 diff -u -r1.21 choose --- choose 12 Jul 2002 19:33:27 -0000 1.21 +++ choose 8 Jun 2003 12:33:26 -0000 @@ -210,7 +210,7 @@ if test "$ok" = yes; then class="gnu.testlet.`echo $file | sed -e 's/\.java$//' | tr / .`" dirpart="`echo $file | sed -e 's,/[^/]*$,,'`" - echo " gnu/testlet/$file" >> $choices + echo "gnu/testlet/$file" >> $usesfile if test "$istest" = yes; then echo $class >> $classes test -n "$verbose" && echo "Chose $class" --=-CUc6opYvciImvynouqZM--