From owner-freebsd-x11@FreeBSD.ORG Sun Apr 27 04:25:49 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC930106564A for ; Sun, 27 Apr 2008 04:25:49 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (ns2.timing.com [206.168.13.218]) by mx1.freebsd.org (Postfix) with ESMTP id ADAB88FC19 for ; Sun, 27 Apr 2008 04:25:49 +0000 (UTC) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id m3R4Plgp026512; Sat, 26 Apr 2008 22:25:48 -0600 (MDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.14.2/8.14.2) with ESMTP id m3R4PkC0004984; Sat, 26 Apr 2008 22:25:46 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.14.2/8.14.2/Submit) id m3R4PjwE004981; Sat, 26 Apr 2008 22:25:45 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18452.73.567828.880789@gromit.timing.com> Date: Sat, 26 Apr 2008 22:25:45 -0600 From: John E Hein To: "Ronald F. Guilmette" In-Reply-To: <30620.1209257487@tristatelogic.com> References: <18451.35402.312511.326280@gromit.timing.com> <30620.1209257487@tristatelogic.com> X-Mailer: VM 7.19 under Emacs 22.1.1 X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on Daffy.timing.com X-Virus-Status: Clean Cc: freebsd-x11@freebsd.org Subject: Re: Upgrade questions X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2008 04:25:50 -0000 Ronald F. Guilmette wrote at 17:51 -0700 on Apr 26, 2008: > OK, could the real problem possibly be that I did: > > portsnap fetch > portsnap extract > > on a fairly stock 6.2-RELEASE systems ... I don't know. But the symptoms (e.g., pkg_version failing due to undefined X_WINDOW_SYSTEM - that might happen if you have a newer bsd.port.mk but older ports Makefiles) point to problems with your ports tree. What's the $FreeBSD$ in your Mk/bsd.port.mk ? xorg-server/Makefile ? Compare those to what you see at http://www.freebsd.org/cgi/cvsweb.cgi/ports/ (teaching you to fish here as you requested). > The Handbook instructions were really not at all clear about whether or not > I was supposed to start by wiping out my pre-existing /usr/ports tree, and > I get the distinct feeling that I perhaps should have done this because > now it appears that I've got a ports tree that's got a bunch of _new_ X > stuff in it along side a big bunch of old/stale X stuff. Example: > > # cd /usr/ports/x11-servers > # ls -l > total 38 > -rw-r--r-- 1 root wheel 410 Mar 7 13:47 Makefile > drwxr-xr-x 4 root wheel 512 Jun 15 2007 XFree86-4-FontServer > drwxr-xr-x 3 root wheel 512 Jun 15 2007 XFree86-4-NestServer > drwxr-xr-x 3 root wheel 512 Jun 15 2007 XFree86-4-PrintServer > drwxr-xr-x 4 root wheel 512 Jun 15 2007 XFree86-4-Server > drwxr-xr-x 3 root wheel 512 Jun 15 2007 XFree86-4-VirtualFramebufferServer > drwxr-xr-x 4 root wheel 512 Apr 26 02:51 Xfstt > drwxr-xr-x 4 root wheel 512 Apr 26 02:52 driglide > drwxr-xr-x 2 root wheel 512 Apr 25 23:30 mga_hal > drwxr-xr-x 3 root wheel 512 Jun 15 2007 synaptics > drwxr-xr-x 2 root wheel 512 Apr 25 23:30 x2vnc > drwxr-xr-x 3 root wheel 512 Apr 25 23:30 x2x > drwxr-xr-x 3 root wheel 512 Apr 25 23:30 xorg-dmx > drwxr-xr-x 4 root wheel 512 Jun 15 2007 xorg-fontserver > drwxr-xr-x 2 root wheel 512 Apr 25 23:30 xorg-nestserver > drwxr-xr-x 2 root wheel 512 Apr 25 23:30 xorg-printserver > drwxr-xr-x 4 root wheel 512 Apr 26 03:15 xorg-server > drwxr-xr-x 3 root wheel 512 Apr 25 23:30 xorg-server-snap > drwxr-xr-x 2 root wheel 512 Apr 25 23:30 xorg-vfbserver > > Do I correctly surmise that this is *not* tyhe way my ports tree should be > looking? I have no idea. Why do you surmise that? We can't tell by looking at that directory listing. What is the PORTVERSION/PORTREVISION in xorg-server/Makefile? Note that if you want to update to xorg 7.3, you'll not want the FreeBSD 6.2 version of the ports tree since xorg was still at 6.9 for FreeBSD 6.2 > Would it make sense for me to in effect, start over, i.e. via the following: > > # rm -fr /usr/ports > # portsnap fetch > # portsnap extract If you have nothing that you've done in /usr/ports that you want to preserve such as local patches (if you don't know what I'm talking about then you haven't), then removing your ports tree will be fine. As to the portsnap part, I don't know - I've never used it - but that looks reasonable after glancing at the man page. You could try doing 'mv /usr/ports /usr/ports.mv' then comparing the trees (diff -ur) after doing the fresh portsnap. For me, I use the 'old school' method straight from CVS (with a local copy of the repository from cvsup in CVS mode) or infrequently cvsup in checkout mode... see cvsup man page or the cvsup faq for more. If you had a local copy of the ports CVS repository, you could checkout the ports tree and do a diff to verify everything is properly up to date. Try ports@ or questions@ if someone doesn't answer here. These questions are not really specific to x11.