From owner-freebsd-ports@FreeBSD.ORG Mon Jul 28 01:25:30 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78D6A37B404 for ; Mon, 28 Jul 2003 01:25:30 -0700 (PDT) Received: from ns0.binep.ac.ru (serv2.binep.ac.ru [193.233.44.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id A265043F3F for ; Mon, 28 Jul 2003 01:25:28 -0700 (PDT) (envelope-from goshik@binep.ac.ru) Received: from byfi (byfi.binep.ac.ru [193.233.44.234]) by ns0.binep.ac.ru (8.11.6/8.11.6) with SMTP id h6S8Xii75545; Mon, 28 Jul 2003 12:33:44 +0400 (MSD) (envelope-from goshik@binep.ac.ru) Message-ID: <034c01c354e1$b8572700$ea2ce9c1@binep.ac.ru> From: "Igor B. Bykhalo" To: "Kent Stewart" , "Kris Kennaway" , "Stephen Hilton" References: <20030726123021.2e3e3c79.nospam@hiltonbsd.com><20030727113043.5e923f6d.nospam@hiltonbsd.com><20030727235101.GA81204@rot13.obsecurity.org> <200307271948.32859.kstewart@owt.com> Date: Mon, 28 Jul 2003 12:24:47 +0400 Organization: BINEPCP RAS MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-ports@freebsd.org Subject: Restoration of usr.bin/make/cond.c cures INDEX build on -stable (Was: Re: make index problems) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2003 08:25:31 -0000 From: "Kent Stewart" To: "Kris Kennaway" ; "Stephen Hilton" Cc: Sent: Monday, July 28, 2003 6:48 AM Subject: Re: make index problems > On Sunday 27 July 2003 04:51 pm, Kris Kennaway wrote: > > On Sun, Jul 27, 2003 at 11:30:43AM -0500, Stephen Hilton wrote: > > > Went to /usr/ports/print and did: > > > # rm -rf pips* > > > > > > To remove all the print/pips* related ports. > > > > > > Now "make index" runs clean on my 4.8-STABLE system cvsup'd > > > last night. [...] > > All of this seemed to pop up when the do_string_compare in > ../usr.bin/make/cond.c was updated. Which happened 6 days ago, according to http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/make/cond.c?only_with_tag=RELENG_4 And all these days make index was broken on my machine... I kept scilence, because usually i receive Kris's announcements of INDEX build failures. Now experiment: 1. >>>> Attempt to build index... Script started on Mon Jul 28 11:02:58 2003 goshik# cd /usr/ports ; make index ; cd /usr/local/etc; exit Generating INDEX - please wait.."/usr/ports/print/pips2200/../pips800/Makefile", line 60: Malformed conditional (${PRTYPE} == 780cs) "/usr/ports/print/pips2200/../pips800/Makefile", line 63: Malformed conditional (${PRTYPE} == 820ug) "/usr/ports/print/pips2200/../pips800/Makefile", line 1: Malformed conditional (${PRTYPE} == 750_2000) "/usr/ports/print/pips2200/../pips800/Makefile", line 1: Need an operator "/usr/ports/print/pips2200/../pips800/Makefile", line 5: Malformed conditional (${PRTYPE} == 780cs) "/usr/ports/print/pips2200/../pips800/Makefile", line 7: Malformed conditional (${PRTYPE} == 820ug) "/usr/ports/print/pips2200/../pips800/Makefile", line 305: if-less endif "/usr/ports/print/pips2200/../pips800/Makefile", line 305: Need an operator make: fatal errors encountered -- cannot continue make_index: icemc-0.2.4: no entry for /usr/ports/x11-toolkits/qt31 [...] make_index: bugzilla-2.16.3_1: no entry for /usr/ports/www/p5-Template-Toolkit Warning: Duplicate INDEX entry: *** Error code 1 Warning: Duplicate INDEX entry: Done. exit Script done on Mon Jul 28 11:13:07 2003 >>>> Attempt failed 2. >>>> Revert usr.bin/make/cond.c 1 week back Script started on Mon Jul 28 11:28:30 2003 goshik# pwd /usr/src goshik# cd usr.bin/make goshik# cvs -n update -rRELENG_4 -D "2003-07-22 01:00" -f cond.c U cond.c goshik# make all install clean cc -O -pipe -I/usr/src/usr.bin/make -c /usr/src/usr.bin/make/cond.c cc -O -pipe -I/usr/src/usr.bin/make -static -o make arch.o buf.o compat.o cond.o dir.o for.o hash.o job.o main.o make.o parse.o str.o suff.o targ.o var.o util.o lstAppend.o lstAtEnd.o lstAtFront.o lstClose.o lstConcat.o lstDatum.o lstDeQueue.o lstDestroy.o lstDupl.o lstEnQueue.o lstFind.o lstFindFrom.o lstFirst.o lstForEach.o lstForEachFrom.o lstInit.o lstInsert.o lstIsAtEnd.o lstIsEmpty.o lstLast.o lstMember.o lstNext.o lstOpen.o lstRemove.o lstReplace.o lstSucc.o install -s -o root -g wheel -m 555 make /usr/bin install -o root -g wheel -m 444 make.1.gz /usr/share/man/man1 rm -f make arch.o buf.o compat.o cond.o dir.o for.o hash.o job.o main.o make.o parse.o str.o suff.o targ.o var.o util.o lstAppend.o lstAtEnd.o lstAtFront.o lstClose.o lstConcat.o lstDatum.o lstDeQueue.o lstDestroy.o lstDupl.o lstEnQueue.o lstFind.o lstFindFrom.o lstFirst.o lstForEach.o lstForEachFrom.o lstInit.o lstInsert.o lstIsAtEnd.o lstIsEmpty.o lstLast.o lstMember.o lstNext.o lstOpen.o lstRemove.o lstReplace.o lstSucc.o make.1.gz make.1.cat.gz goshik# cd /usr/ports; make index; cd /usr/local/etc Generating INDEX - please wait.. Done. goshik# portversion -vL "=" [Updating the portsdb in /usr/ports ... - 9024 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000 ..... done] ghostscript-gnu-7.07_2 < needs updating (port has 7.07_3) goshik# exit exit Script done on Mon Jul 28 12:04:21 2003 >>>> Index built fine here... Clearly there is something wrong with make... HTH, Igor > Kent > > -- > Kent Stewart > Richland, WA > > http://users.owt.com/kstewart/index.html