From owner-freebsd-ports@FreeBSD.ORG Sun Sep 16 02:59:33 2007 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D29B416A419 for ; Sun, 16 Sep 2007 02:59:33 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.freebsd.org (Postfix) with ESMTP id 8A18413C458 for ; Sun, 16 Sep 2007 02:59:33 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.1/8.14.1) with ESMTP id l8G2xTgr079845; Sat, 15 Sep 2007 21:59:29 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Sat, 15 Sep 2007 21:59:29 -0500 (CDT) From: "Sean C. Farley" To: "David O'Brien" In-Reply-To: <20070916022630.GA661@dragon.NUXI.org> Message-ID: References: <46E92692.7020202@tempest.sk> <20070913160001.GB49054@glitch.rwxrwxrwx.net> <20070915020746.GA20080@dragon.NUXI.org> <639A91D2-2F37-49A3-933D-AF0D9A88F30D@jump-ing.de> <20070916022630.GA661@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, FB_WORD1_END_DOLLAR autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on mail.farley.org Cc: freebsd-ports@FreeBSD.org Subject: Re: configure editors/vim 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: Sun, 16 Sep 2007 02:59:33 -0000 On Sat, 15 Sep 2007, David O'Brien wrote: > On Sat, Sep 15, 2007 at 09:33:44AM +0200, Markus Hitter wrote: >>> Brownie ports for someone that can explain why this always happens >>> for me with ports that have OPTIONS: >>> >>> bash$ make >>> cd /usr/ports/editors/vim && make config; >>> ===> Switching to root credentials to create /var/db/ports/vim >>> Password: >>> ===> Returning to user credentials >>> [3]+ Stopped WITH_OPTIONS=1 make >> >> Time to fix your system? It doesn't happen on my 6.2-RELEASE. I'm >> running ports stuff as root. > > Tell me how and I will. :-) > > Of course when I do 'make clean install' as root, I'm not asked by the > ports system to su to root. But when one does as a normal user, one > is - by the system in /usr/ports/Mk. You could add an echo statement in the config rule (specifically the UID and INSTALL_AS_USER test) in bsd.port.mk around line 5759. I think something like this may give a better idea about the problem: echo "UID == ${UID}" Also, I assume both id -u and id -ur return 0 for you as root. Is the id you run the id in /usr/bin? Sean -- scf@FreeBSD.org