Re: building -current on -stable broken?

2002-05-01 Thread Kenneth D. Merry

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
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: building -current on -stable broken?

2002-04-29 Thread Ruslan Ermilov

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.


Cheers,
-- 
Ruslan Ermilov  Sysadmin and DBA,
[EMAIL PROTECTED]   Sunbay Software AG,
[EMAIL PROTECTED]  FreeBSD committer,
+380.652.512.251Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age



msg37842/pgp0.pgp
Description: PGP signature


building -current on -stable broken?

2002-04-28 Thread Kenneth D. Merry


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?

Ken
-- 
Kenneth Merry
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message