From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 13:18:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5040D1065673 for ; Mon, 23 Mar 2009 13:18:03 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 19C1E8FC1B for ; Mon, 23 Mar 2009 13:18:02 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from sarevok.dnr.servegame.org (gate.lan.rachie.is-a-geek.net [192.168.2.10]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id AE2967E818; Mon, 23 Mar 2009 05:18:01 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Mon, 23 Mar 2009 14:18:00 +0100 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.0; i386; ; ) References: <1237688408.46760.6.camel@t60.local.zz> <4ad871310903212304j2e7fea6dve110380de02c97c4@mail.gmail.com> In-Reply-To: <4ad871310903212304j2e7fea6dve110380de02c97c4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903231418.00491.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Tim Judd , Glen Barber Subject: Re: installing ports xorg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2009 13:18:03 -0000 On Sunday 22 March 2009 07:04:14 Glen Barber wrote: > On Sat, Mar 21, 2009 at 10:20 PM, Tim Judd wrote: > > I'm getting ZERO feedback when I install the xorg metaport, updated > > ports tree today. > > > > # cd /usr/ports/x11/xorg > > # make install > > # > > > > > > > > So what am i missing? > > If xorg is already installed, you won't see any output. This is > "expected" behavior, as far as I can tell. No. This is expected behavior if make -V INSTALL_COOKIE -C /usr/ports/x11/xorg exists, which can happen if: 1) You installed xorg on this machine and didn't make clean afterwards and now try the install again. 2) You have /usr/ports mounted via nfs or nullfs from another machine or the host system in a jail and have not set WRKDIRPREFIX. You installed xorg on this other machine or the host system and did not make clean. 3) You have WRKDIRPREFIX set and that directory is mounted via nfs/nullfs. Same applies as in 2) 4) You or some software ran: touch `make -V INSTALL_COOKIE -C /usr/ports/x11/xorg` > What happens on 'make > deinstall; make fetch-recursive; make install' ? This can be bad as deinstall will only delete the install and package cookie. In other words, it will reuse the build and configure. If you were expecting to upgrade your port, then this has unexpected results, especially with meta ports. In 90% of the case you will want to run make clean. Only if you want to reuse a build you've done (for jails or on other machine, with same architecture and OS version), you can use deinstall. However, deinstall relies on /var/db/pkg, specifically if pkg_info cannot find the port, it will be assumed it's not installed. It will go ahead and install then, which can leave your installed ports with multiple versions of the same software. -- Mel