From owner-freebsd-ports@FreeBSD.ORG Fri Aug 13 09:03:02 2010 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 47D43106567A; Fri, 13 Aug 2010 09:03:02 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id F376A8FC24; Fri, 13 Aug 2010 09:03:01 +0000 (UTC) Received: from gate.ipt.ru ([194.62.233.123] helo=h30.sp.ipt.ru) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1OjqAH-0002DE-3m; Fri, 13 Aug 2010 13:03:01 +0400 To: Doug Barton References: <16914744@h30.sp.ipt.ru> <4C65077B.5020107@FreeBSD.org> <40104638@h30.sp.ipt.ru> From: Boris Samorodov Date: Fri, 13 Aug 2010 13:03:00 +0400 In-Reply-To: <40104638@h30.sp.ipt.ru> (Boris Samorodov's message of "Fri\, 13 Aug 2010 13\:00\:49 +0400") Message-ID: <74024507@h30.sp.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-ports@FreeBSD.org Subject: Re: [portmaster] failed update 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: Fri, 13 Aug 2010 09:03:03 -0000 On Fri, 13 Aug 2010 13:00:49 +0400 Boris Samorodov wrote: > On Fri, 13 Aug 2010 01:51:07 -0700 Doug Barton wrote: > > On 08/13/2010 00:26, Boris Samorodov wrote: > > > Hi All, > > > > > > ----- > > > # portmaster --version > > > > > > ===>>> Version 3.0 > > > # portmaster tmux > > > > > > ===>>> Currently installed version: tmux-1.2_1 > > > ===>>> Port directory: /usr/ports/sysutils/tmux > > > > > > ===>>> Gathering distinfo list for installed ports > > > > > > ===>>> Launching 'make checksum' for sysutils/tmux in background > > > ===>>> Gathering dependency list for sysutils/tmux from ports > > > ===>>> Launching child to update /m/ports/devel/libevent > > > tmux-1.2_1 >> /m/ports/devel/libevent > > > > > > ===>>> No valid installed port, or port directory given > > > ===>>> Try portmaster --help > > > > > > > > > ===>>> Update for /m/ports/devel/libevent failed > > > ===>>> Aborting update > > > > > > Terminated > > > # ls -l /usr/ports > > > lrwxr-xr-x 1 root wheel 9 Oct 2 2009 /usr/ports -> /m/ports/ > > I have a similar setup where the actual ports tree lives at > > /usr/local/ports, and for testing sometimes I use a symlink in /usr, OR > > sometimes I set PORTSDIR to /usr/local/ports. If I do either, I can't > > reproduce the error above. However if I do both, I can. Any chance > > you're setting PORTSDIR in your make.conf? > ----- > # echo $PORTSDIR > PORTSDIR: Undefined variable. > # > ----- Wrong answer, sorry. Yes, I do define it at /etc/make.conf: ----- # grep PORTSDIR /etc/make.conf PORTSDIR= /m/ports ----- -- WBR, bsam