From owner-freebsd-ports@FreeBSD.ORG Thu Jan 5 08:53:51 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4519F16A41F; Thu, 5 Jan 2006 08:53:51 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pastinakel.tue.nl (pastinakel.tue.nl [131.155.2.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AD7843D58; Thu, 5 Jan 2006 08:53:50 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from localhost (localhost [127.0.0.1]) by pastinakel.tue.nl (Postfix) with ESMTP id CC34114BCEF; Thu, 5 Jan 2006 09:53:49 +0100 (CET) Received: from pastinakel.tue.nl ([127.0.0.1]) by localhost (pastinakel.tue.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17607-05-4; Thu, 5 Jan 2006 09:53:21 +0100 (CET) Received: from umta.win.tue.nl (umta.win.tue.nl [131.155.71.100]) by pastinakel.tue.nl (Postfix) with ESMTP id 43EA914BC2D; Thu, 5 Jan 2006 09:53:13 +0100 (CET) Received: from pcwin002.win.tue.nl (pcwin002 [131.155.71.72]) by umta.win.tue.nl (Postfix) with ESMTP id 3F94831401D; Thu, 5 Jan 2006 09:53:13 +0100 (CET) Received: by pcwin002.win.tue.nl (Postfix, from userid 1001) id 2E3804128; Thu, 5 Jan 2006 09:53:13 +0100 (CET) Date: Thu, 5 Jan 2006 09:53:13 +0100 From: Stijn Hoop To: ports@freebsd.org, koma2@lovepeers.org, knu@FreeBSD.org Message-ID: <20060105085313.GJ29433@pcwin002.win.tue.nl> References: <20060105083931.GI29433@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8w3uRX/HFJGApMzv" Content-Disposition: inline In-Reply-To: <20060105083931.GI29433@pcwin002.win.tue.nl> User-Agent: Mutt/1.4.2.1i X-Bright-Idea: Let's abolish HTML mail! X-Virus-Scanned: amavisd-new at tue.nl Cc: Subject: Re: portupgrade 2.0.1 insists upon /usr/ports 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: Thu, 05 Jan 2006 08:53:51 -0000 --8w3uRX/HFJGApMzv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Replying to myself: On Thu, Jan 05, 2006 at 09:39:31AM +0100, Stijn Hoop wrote: > I have changed my ports dir location to /net/freebsd/ports instead of > /usr/ports, both in /etc/make.conf as well as in /usr/local/etc/pkgtools.= conf. >=20 > After upgrade to 2.0.1,1 (from a 2004 version) of portupgrade I get this > however: >=20 > [stijn@sandcat] <~> sudo pkgdb -F > cd: can't cd to /usr/ports > /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:71:in `initialize': No such = file or directory - /usr/ports/MOVED (Errno::ENOENT) >=20 > Adding --ignore-moved does not seem to help: >=20 > [stijn@sandcat] <~> sudo portversion --ignore-moved -l '<' > cd: can't cd to /usr/ports > /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:71:in `initialize': No such = file or directory - /usr/ports/MOVED (Errno::ENOENT) >=20 > Anything to be done about this? Yes, set PORTSDIR in the environment: [stijn@sandcat] <~> sudo env PORTSDIR=3D/net/freebsd/ports portversion -l '= <' works "as expected". However previous versions of portupgrade did not need this, nor am I happy with yet another place to set the PORTSDIR. Can't portupgrade infer the default location by executing 'make -V PORTSDIR'? I thought it did so already but obviously I was wrong. --Stijn --=20 "From the moment I picked your book up until I laid it down I was convulsed with laughter. Some day I intend reading it." -- Groucho Marx --8w3uRX/HFJGApMzv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDvN55Y3r/tLQmfWcRAgyKAKCdPjPMGmVTTUBlokmHtg+q0Y5UpACcCCQX PCZdtYQP7HxIi9ZEa2qWNeg= =bPiA -----END PGP SIGNATURE----- --8w3uRX/HFJGApMzv--