Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2002 21:13:33 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: building -current on -stable broken?
Message-ID:  <20020501211333.C1494@panzer.kdm.org>
In-Reply-To: <20020429073305.GC97862@sunbay.com>; from ru@FreeBSD.org on Mon, Apr 29, 2002 at 10:33:05AM %2B0300
References:  <20020428222710.A79238@panzer.kdm.org> <20020429073305.GC97862@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020501211333.C1494>