From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27840 invoked by alias); 2 Aug 2008 12:30:49 -0000 Received: (qmail 27825 invoked by uid 22791); 2 Aug 2008 12:30:46 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 02 Aug 2008 12:30:03 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KPGFA-0002XZ-OS for gcc-help@gcc.gnu.org; Sat, 02 Aug 2008 12:29:56 +0000 Received: from xdsl-87-78-167-116.netcologne.de ([87.78.167.116]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Aug 2008 12:29:56 +0000 Received: from Ralf.Wildenhues by xdsl-87-78-167-116.netcologne.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Aug 2008 12:29:56 +0000 To: gcc-help@gcc.gnu.org From: Ralf Wildenhues Subject: Re: gen-classlist.sh problem while building gcc 4.2.4 Date: Sat, 02 Aug 2008 12:30:00 -0000 Message-ID: References: <5ef8ba410808010737mda3709r496a828176016d53@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg00007.txt.bz2 David Eisner gmail.com> writes: > Still trying to build gcc-4.2.4 on a Solaris 9 box. During stage 3, I > run into this problem: > ./gen-classlist.sh: test: unknown operator -ef > make: *** [genclasses] Error 1 > I couldn't find this in the bug database. Should I report it? This is . If this isn't a regression (which I'm not sure of), then I guess this bug won't be fixed in the branch. The relevant diff between branch-4_2 and branch-4_3 is this (which looks a bit different from the patch proposed in that PR): --- gen-classlist.sh.in 2008-02-13 20:44:41.000000000 +0100 +++ gen-classlist.sh.in 2008-02-19 21:08:25.000000000 +0100 @@ -55,7 +62,9 @@ done # Only include generated files once. -if test ! "${top_builddir}" -ef "@top_srcdir@"; then +abs_top_builddir=`cd "${top_builddir}"; pwd` +abs_top_srcdir=`cd "@top_srcdir@"; pwd` +if test "$abs_top_builddir" != "$abs_top_srcdir"; then echo "Adding generated files in builddir '${top_builddir}'." # Currently the only generated files are in gnu.*. (cd ${top_builddir}; @FIND@ gnu -follow -name '*.java' -print) | @@ -95,7 +104,7 @@ rm tmp.omit new= -if test -e ${top_builddir}/lib/classes.2; then +if test -f ${top_builddir}/lib/classes.2; then p=`diff ${top_builddir}/lib/classes.2 ${top_builddir}/lib/classes.1` if test "$p" != ""; then new="true" > By the way, I'm not sure why it's even building java. I didn't > include java in the enabled languages when I ran configure. I guess > it knows best. Try passing --enable-languages explicitly. Cheers, Ralf