From owner-freebsd-ports@FreeBSD.ORG Sat Jun 16 07:19:33 2007 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9572116A469 for ; Sat, 16 Jun 2007 07:19:33 +0000 (UTC) (envelope-from Roar.Pettersen@it.uib.no) Received: from alf.uib.no (alf.uib.no [129.177.30.3]) by mx1.freebsd.org (Postfix) with ESMTP id 55C8813C4B9 for ; Sat, 16 Jun 2007 07:19:33 +0000 (UTC) (envelope-from Roar.Pettersen@it.uib.no) Received: from edprp by alf.uib.no with local-esmtp (Exim 4.34) id 1HzSZB-0006gO-Ld; Sat, 16 Jun 2007 09:19:25 +0200 Date: Sat, 16 Jun 2007 09:19:25 +0200 (CEST) From: Roar Pettersen X-X-Sender: edprp@alf.uib.no To: Sam Lawrance In-Reply-To: Message-ID: References: <20070615230054.GA88372@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: Roar Pettersen Cc: ports@FreeBSD.org, Jeremy Chadwick , Roar Pettersen Subject: Re: cricket-1.0.5_4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2007 07:19:33 -0000 Hello ! >>> I'm trying to compile Cricket, but I get this error message : >>> server:/usr/ports/net-mgmt/cricket# make >>> ===> cricket-1.0.5_4 uses a UID registered to another port. >>> *** Error code 1 >>> >>> Can anybody look into this problem ? >> >> Did you remove the IGNORE line from the Makefile? It looks like you may >> have. The IGNORE line explicitly states what the problem is; you >> shouldn't be able to build the port if IGNORE is set to non-null. >> >> IGNORE= uses a UID registered to another port > > The IGNORE line is why the build stopped in the first place (notice that the > messages are the same). The solution was to comment out this line like this : $FreeBSD: ports/net-mgmt/cricket/Makefile,v 1.28 2007/04/11 16:20:53 mux Exp $ #IGNORE= uses a UID registered to another port Now I was able to compile and install cricket. > >> And the UID is: >> >> CRICKET_USER?= wwwadm >> CRICKET_UID?= 81 >> CRICKET_GROUP?= www >> CRICKET_GID?= 80 >> >> $ grep wwwadm /usr/ports/UIDs >> $ grep :8[01]: /usr/ports/UIDs >> www:*:80:80:World Wide Web Owner:/nonexistent:/sbin/nologin >> alias:*:81:81:QMail user:/var/qmail/alias:/nonexistent >> qmaild:*:82:81:QMail user:/var/qmail:/nonexistent >> qmaill:*:83:81:QMail user:/var/qmail:/nonexistent >> qmailp:*:84:81:QMail user:/var/qmail:/nonexistent >> >> UID 81 is reserved for qmail, which is obviously not what the port >> should be trying to use. GID 80 is used by Apache and friends, although >> if I remember right, the cricket user ends up having its default GID set >> to the same group as what Apache runs as, so CGIs and other whatnots >> have the ability to access cricket-specific files. >> >> As a workaround, you could try setting CRICKET_UID=999 in make.conf or >> during make time. This UID isn't listed in ports/UIDs, but may become >> so in the future. > > It's possible the port won't do anything with that variable (which is why it > hasn't been fixed yet with such a simple fix). > -- Med vennlig hilsen / Regards; Roar Pettersen Universitetet i Bergen - The University of Bergen Nygardsgt. 5 - N-5020 BERGEN - Norway Tlf: +47 55 58 40 55 fax: +47 55 58 40 70 roar.pettersen@it.uib.no - IT-Avd, UiB - http://www.uib.no