From owner-freebsd-x11@FreeBSD.ORG Mon Jun 4 18:22:45 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 77A3B16A41F for ; Mon, 4 Jun 2007 18:22:45 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.freebsd.org (Postfix) with ESMTP id 1A60513C468 for ; Mon, 4 Jun 2007 18:22:44 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.114] (vpn-client-114.marcuscom.com [10.2.1.114]) by creme-brulee.marcuscom.com (8.14.1/8.14.1) with ESMTP id l54IMklQ011932; Mon, 4 Jun 2007 14:22:46 -0400 (EDT) (envelope-from marcus@marcuscom.com) Message-ID: <466458A0.8060704@marcuscom.com> Date: Mon, 04 Jun 2007 14:23:28 -0400 From: Joe Marcus Clarke Organization: MarcusCom, Inc. User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Dejan Lesjak References: <1180892310.8180.6.camel@shumai.marcuscom.com> <200706041912.33720.dejan.lesjak@ijs.si> In-Reply-To: <200706041912.33720.dejan.lesjak@ijs.si> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=no version=3.2.0 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on creme-brulee.marcuscom.com Cc: freebsd-x11@freebsd.org Subject: Re: Cleaning up the /usr/X11R6 symlink on package builds 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: Mon, 04 Jun 2007 18:22:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dejan Lesjak wrote: > On Sunday 03 June 2007 19:38:30 Joe Marcus Clarke wrote: >> x11/xorg-libraries appears to be broken in Tinderbox and probably on >> pointyhat due to the leftover /usr/X11R6 symlink: >> >> http://www.marcuscom.com/tb/logs/6.2-FreeBSD/xorg-libraries-7.2_1.log >> >> Either it needs to cleanup the symlink that it creates on deinstall, or >> check to see if PACKAGE_BUILDING is not defined before creating the >> symlink. > > When user first installs X.org on clean FreeBSD we shouldn't just error out, > pointing user to UPDATING, thus the automatic creation of symlink. From above > options... I don't think it would be nice to remove the symlink upon, for > example, upgrading xorg-libraries port (and possibly break some application > that would want to do something with /usr/X11R6 in the time symlink is gone). > And if it is created, it needs to be created both via port and via package, > so using PACKAGE_BUILDING doesn't help, unless I misunderstood what you > meant. > The only alternative I can think of is to not create the link automatically, > but print out a message requiring user to create it. Either allowing the > build to proceed or forcing it and erroring out like before, but with > additional "If this is your first install of X.org libraries, > create /usr/X11R6 -> /usr/local symlink." to the existing pointer to > UPDATING. This would be IMHO a bit less nice to users, but more friendly to > pointyhat and tinderbox. > Any other options? I suppose the build scripts could be modified to ignore /usr/X11R6. Kris might want to chime in that so I've copied him. Joe - -- PGP Key : http://www.marcuscom.com/pgp.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGZFigb2iPiv4Uz4cRAlCtAJ0SMZgBq1U1dtBpUM4hbpQHP+gVVACgkTlK Cf34JcjEwd0AciAoy5g+Amk= =lDiq -----END PGP SIGNATURE-----