From owner-freebsd-current Sun Jun 16 5:55:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.lflat.org (62.79.36.241.adsl.taaj.worldonline.dk [62.79.36.241]) by hub.freebsd.org (Postfix) with ESMTP id 7FAD237B42A for ; Sun, 16 Jun 2002 05:55:45 -0700 (PDT) Received: from puppy.loc (puppy.loc [192.168.1.2]) by mail.lflat.org (Postfix) with ESMTP id 4665133E0F for ; Sun, 16 Jun 2002 14:55:43 +0200 (CEST) Subject: RE: Syscalls.master broken on -CURRENT? From: Vadim Belman To: freebsd-current In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 16 Jun 2002 14:55:43 +0200 Message-Id: <1024232143.82226.13.camel@puppy.loc> Mime-Version: 1.0 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 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