From owner-freebsd-ports@FreeBSD.ORG Tue Nov 28 18:02:22 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 88A4F16A415 for ; Tue, 28 Nov 2006 18:02:22 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.FreeBSD.org (Postfix) with SMTP id 6BD3E43CD1 for ; Tue, 28 Nov 2006 18:02:10 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 25746 invoked by uid 399); 28 Nov 2006 18:02:09 -0000 Received: from localhost (HELO ?156.154.5.122?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 28 Nov 2006 18:02:09 -0000 Message-ID: <456C799B.9010800@FreeBSD.org> Date: Tue, 28 Nov 2006 10:02:03 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Max Khon References: <20061128174728.GB69619@samodelkin.net> In-Reply-To: <20061128174728.GB69619@samodelkin.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: Re: xorg 7.x and non-standard X11BASE 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: Tue, 28 Nov 2006 18:02:22 -0000 Max Khon wrote: > Hi! > > I received a bunch of port build failure logs wrt. move to Xorg 7.x. > > I would like to know if there is known easy way to reproduce build > failures with Xorg 7.x. Currently we have 2 locations for files installed by ports. LOCALBASE (which defaults to /usr/local) and X11BASE (which defaults to /usr/X11R6). When xorg 7 is imported, it will be installing into /usr/local. Shortly thereafter the plan is to do away with the X11BASE stuff altogether, and have all ports install into /usr/local. In order to prepare for this change, and to fix as many ports as possible before it happens, the ports cluster has started running experimental builds with X11BASE set to something that is not /usr/X11R6 AND not /usr/local. So, you can easily reproduce this condition by doing the same thing yourself. That's the good news. The bad news is that in order to test stuff, you have to rebuild your X related ports with the new X11BASE. There are two ways to do this. Either way you choose, you have to put something like this in /etc/make.conf: X11BASE= /usr/local/xorg I chose that directory for my experiment, you can use whatever directory works for you that is NOT /usr/X11R6 or /usr/local. Then you can either do this: cd /var/db/ mv pkg pkg-X11R6 cd /usr/ mv X11R6 save-X11R6 cd /usr/ports/your/port make (or portmaster $PWD) or If you want to make the change permanent, follow the instructions in /usr/ports/UPDATING related to the gnome move to /usr/local, and use portupgrade or portmaster to upgrade everything that depends on pkg-config. hth, Doug -- This .signature sanitized for your protection