Skip site navigation (1)Skip section navigation (2)
Date:      16 Jun 2002 14:55:43 +0200
From:      Vadim Belman <voland@lflat.org>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   RE:  Syscalls.master broken on -CURRENT?
Message-ID:  <1024232143.82226.13.camel@puppy.loc>
In-Reply-To: <Pine.NEB.3.96L.1020615120206.89890B-100000@fledge.watson.org>
References:  <Pine.NEB.3.96L.1020615120206.89890B-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2002-06-15 at 18:03, Robert Watson wrote:

> >  > During the compilation of usr.bin/truss this error stops world:
> >  >
> >  > syscalls.master: line 55: syscall number out of sync at 7
> >  > line is:
> >  >	  struct rusage  * rusage ) ;  }  wait4 wait_args int
> >  >
> >  > The error is actually produced by the execution of
> >  > '/usr/src/sys/kern/makesyscalls.sh syscalls.master'
> >  >
> >  > What I don't understand is why this same error breaks world
> >  > on one of my -CURRENT machines but not on the other machine...
> > 
> > Try this:
> > 
> > # cd /usr/src/usr.bin/truss
> > # make clean
> > # make
> > 
> > I think you will see the error appear.
> 
> s/appear/disappear/?  It basically looks like the generated include files
> aren't in sync, but it's not something I can reproduce locally.  Lots of
> make cleaning and make includes should clear this up.  If it doesn't, let
> me know, and I'll do more chasing.

	I just have found source of the problem. It's broken sed, again. Having
a look into syscalls.master it's easy to spot that error take place
where lines are broken like this one:

7       MSTD    BSD     { int wait4(int pid, int *status, int options, \
                          struct rusage *rusage); } wait4 wait_args int

	As they're joned back with sed, it's easy to guess the cause...

# cd /usr/src/usr.bin/sed
# make
# make install

	And it works.

-- 
/Voland			Vadim Belman
			http://www.lflat.org
			http://www.lflat.net


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?1024232143.82226.13.camel>