From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1135 Path: news.gmane.org!not-for-mail From: Gerrit Pape Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Problem compiling runit Date: Tue, 30 May 2006 11:42:06 +0000 Message-ID: <20060530114206.28841.qmail@23cb2b9a7ac451.315fe32.mid.smarden.org> References: <7231C15EAC2F164CA6DC326D97493C8B01C1DE4A@exchange35.fed.cclrc.ac.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1148989323 27147 80.91.229.2 (30 May 2006 11:42:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 May 2006 11:42:03 +0000 (UTC) Original-X-From: supervision-return-1371-gcsg-supervision=m.gmane.org@list.skarnet.org Tue May 30 13:41:59 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1Fl2ba-00078m-U7 for gcsg-supervision@gmane.org; Tue, 30 May 2006 13:41:47 +0200 Original-Received: (qmail 32379 invoked by uid 76); 30 May 2006 11:42:08 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 32374 invoked from network); 30 May 2006 11:42:07 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <7231C15EAC2F164CA6DC326D97493C8B01C1DE4A@exchange35.fed.cclrc.ac.uk> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1135 Archived-At: On Tue, May 30, 2006 at 10:47:18AM +0100, Nandakumar, R (Raja) wrote: > When I try to compile on my linux machine, I get the problem given > below. Could someone help. I am trying this on a GNU/Linux with kernel > version 2.4.21-20.EL+MA > [blabl@bla runit-1.5.1]$ ./package/install > Linking ./src/* into ./compile... > Compiling everything in ./compile... > + cd compile > + exec make > make: Nothing to be done for `default'. > Copying commands into ./command... > Checking commands in ./command... > + cd compile > + exec make check > ./check-local chpst runit runit-init runsv runsvchdir runsvdir sv svlogd > utmpset > Checking chpst... It's the program selftest that fails. After compiling the programs, the runit installation process runs selftests on the programs to check whether they behave correctly. On your system the selftest for the chpst program fails. > chpst: fatal: unable to lock: > /distribution/admin/runit-1.5.1/compile/check-tmp: no locks available > 111 > chpst: fatal: unable to lock: > /distribution/admin/runit-1.5.1/compile/check-tmp: no locks available > 111 > 0 > 0 > chpst failed. > make: *** [check] Error 1 chpst has two command line options -l, -L for file locking, both fail for you. It's the flock() or lockf() system call that returns ENOLCK on your system, that means something like 'The kernel ran out of memory for allocating lock records', check the man pages. Check compile/sysdeps to find out whether runit found flock() or lockf() on your system. Regards, Gerrit.