From owner-freebsd-ports@FreeBSD.ORG Sun Jul 16 14:31:18 2006 Return-Path: X-Original-To: freebsd-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 00F6A16A4E2 for ; Sun, 16 Jul 2006 14:31:18 +0000 (UTC) (envelope-from james@netinertia.co.uk) Received: from starbug.netinertia.co.uk (starbug.netinertia.co.uk [217.147.82.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EA4E43D49 for ; Sun, 16 Jul 2006 14:31:17 +0000 (GMT) (envelope-from james@netinertia.co.uk) Received: from croydon.netinertia.co.uk ([82.69.247.45] helo=[10.1.0.83]) by starbug.netinertia.co.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.60 (FreeBSD)) (envelope-from ) id 1G27h6-00060q-8B; Sun, 16 Jul 2006 15:34:06 +0100 Message-ID: <44BA4D96.6000402@netinertia.co.uk> Date: Sun, 16 Jul 2006 15:30:46 +0100 From: James O'Gorman User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: mal content References: <8e96a0b90607160621p7a75a63esdff83f98a5652764@mail.gmail.com> <44BA46A3.2020205@netinertia.co.uk> <8e96a0b90607160721i4bbe3cd1w245579b84652ccd8@mail.gmail.com> In-Reply-To: <8e96a0b90607160721i4bbe3cd1w245579b84652ccd8@mail.gmail.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-NetI-Spam-Score: -1.4 (-) Cc: freebsd-ports@freebsd.org Subject: Re: pkg_* [was: Problems creating port, pkg_info?] 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 Jul 2006 14:31:18 -0000 mal content wrote: > On 16/07/06, James O'Gorman wrote: >> mal content wrote: >> > What, in the environment, could possibly cause the ports >> > system to suddenly start believing that the pkg tools (pkg_info, >> > pkg_version etc) reside in /usr/local/sbin, as opposed to the >> > standard /usr/sbin? >> > >> > Nothing in my environment, or PATH has changed so why did >> > it work perfectly for 18 months and then suddenly break? >> > >> > Anyway, I need to get this machine up and working properly, >> > so I'm giving serious consideration to just deleting /usr/local, >> > /usr/ports and the stuff in /var and starting from a blank >> > canvas. >> >> What have you got in /etc/make.conf? bsd.port.mk is what sets the >> make(1) macros for pkg_create, etc. (See /usr/ports/Mk/bsd.port.mk lines >> 2150-2165). Also, when did you last update your ports tree? >> >> James >> > > make.conf: > [snip] > I last updated the ports tree at about 11am this morning GMT, I > think the last time before that was about a week ago. What happens when you run this command from within a port directory: % make -VPKG_CMD -VPKG_INFO /usr/sbin/pkg_create /usr/sbin/pkg_info and % which pkg_info /usr/sbin/pkg_info Does /usr/local/sbin/pkg_info exist? % ls -l /usr/local/sbin/pkg_info ls: /usr/local/sbin/pkg_info: No such file or directory James