From owner-freebsd-current Wed May 1 20:13:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 83F7E37B404; Wed, 1 May 2002 20:13:34 -0700 (PDT) Received: (from ken@localhost) by panzer.kdm.org (8.11.6/8.9.1) id g423DXS01617; Wed, 1 May 2002 21:13:33 -0600 (MDT) (envelope-from ken) Date: Wed, 1 May 2002 21:13:33 -0600 From: "Kenneth D. Merry" To: Ruslan Ermilov Cc: current@FreeBSD.org Subject: Re: building -current on -stable broken? Message-ID: <20020501211333.C1494@panzer.kdm.org> References: <20020428222710.A79238@panzer.kdm.org> <20020429073305.GC97862@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020429073305.GC97862@sunbay.com>; from ru@FreeBSD.org on Mon, Apr 29, 2002 at 10:33:05AM +0300 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Apr 29, 2002 at 10:33:05 +0300, Ruslan Ermilov wrote: > On Sun, Apr 28, 2002 at 10:27:10PM -0600, Kenneth D. Merry wrote: > > > > I'm trying to build -current from today (4/28/2002) on a -stable box with a > > kernel/world from April 25th. > > > > It blows up in xlint: > > > > ============================================================================== > > cc -O -pipe -I. -I/c/ken/perforce/FreeBSD-ken/src/usr.bin/xlint/lint1 -I/c/ken/perforce/FreeBSD-ken/src/usr.bin/xlint/lint1/../arch/i386 -I/c/ken/perforce/FreeBSD-ken/src/usr.bin/xlint/lint1/../common -D__FBSDID=__RCSID -static -o lint1 cgram.o scan.o mem1.o mem.o err.o main1.o decl.o tree.o func.o init.o emit.o emit1.o inittyp.o -ll -lm > > cgram.o: In function `yyparse': > > cgram.o(.text+0x10b8): undefined reference to `xcalloc' > > cgram.o(.text+0x10f0): undefined reference to `xcalloc' > > scan.o: In function `ccon': > > scan.o(.text+0x23f7): undefined reference to `xcalloc' > > func.o: In function `label': > > func.o(.text+0x6a8): undefined reference to `xcalloc' > > init.o: In function `prepinit': > > init.o(.text+0x78): undefined reference to `xcalloc' > > init.o(.text+0x214): more undefined references to `xcalloc' follow > > emit.o: In function `outopen': > > emit.o(.text+0x4f): undefined reference to `xmalloc' > > emit.o: In function `outxbuf': > > emit.o(.text+0xd4): undefined reference to `xrealloc' > > emit1.o: In function `ttos': > > emit1.o(.text+0x2d5): undefined reference to `xmalloc' > > *** Error code 1 > > > > Stop in /c/ken/perforce/FreeBSD-ken/src/usr.bin/xlint/lint1. > > *** Error code 1 > > > > Stop in /c/ken/perforce/FreeBSD-ken/src. > > *** Error code 1 > > > > Stop in /c/ken/perforce/FreeBSD-ken/src. > > *** Error code 1 > > > > Stop in /c/ken/perforce/FreeBSD-ken/src. > > ============================================================================== > > > > Am I doing something wrong here or is building -current on -stable broken? > > > Seems to work OK here; xcalloc() and xmalloc() are defined in mem.c. The problem I'm having is a stale version of xlint/lint1/mem.c in my cvsup->perforce gateway tree. cvs has a similar problem. If I update an existing tree, lint1/mem.c doesn't get deleted even though everything in that directory is on the HEAD, and mem.c is in the attic! # pwd /a/src/usr.bin/xlint/lint1 # cvs update -Pd cvs update: Updating . # ls -la mem.c -rw-r--r-- 1 root wheel 2398 Apr 15 11:43 mem.c # cvs status mem.c =================================================================== File: mem.c Status: Up-to-date Working revision: 1.1 Mon Apr 15 17:43:04 2002 Repository revision: 1.1 /usr/local/cvs/src/usr.bin/xlint/lint1/Attic/mem.c,v Sticky Tag: (none) Sticky Date: (none) Sticky Options: (none) If I checkout a new copy of xlint, though, I don't get a copy of lint1/mem.c. I suspect cvsup has a similar problem -- even if I remove the checkouts.cvs:. file, xlint/lint1/mem.c still gets checked out, and it's a version from 1995 at that! C src/usr.bin/xlint/lint1/mem.c,v . . 2#871#110#10157933134#39763#444 1.1.1.1 95.11.05.15.56.40 2#871#19#8155870004#23983#600 Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message