From owner-freebsd-x11@FreeBSD.ORG Mon Jun 4 17:12:38 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 8C3E516A400 for ; Mon, 4 Jun 2007 17:12:38 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from mail.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 3F83F13C44C for ; Mon, 4 Jun 2007 17:12:38 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (localhost.ijs.si [127.0.0.1]) by mail.ijs.si (Postfix) with ESMTP id 4378C1928E6; Mon, 4 Jun 2007 19:12:37 +0200 (CEST) DKIM-Signature: v=0.5; a=rsa-sha1; c=relaxed/simple; d=ijs.si; s=ja-200610; t=1180977157; bh=2Iy8bbuvMnbufS3pFT9++zdKvvw=; h=X-Virus-Scanned: Received:Received:Received:Received:From:Organization:To:Subject: Date:User-Agent:Cc:References:In-Reply-To:MIME-Version: Content-Type:Content-Transfer-Encoding:Content-Disposition: Message-Id; b=sXEUgrnsJ+jDAh6tZ81bIT34fAAE17CIBhHUufUvskst4Stwpyye 2VNpC9+t2jZGAvE7uTtw3skyilPViePicwA0ZctUbG5iB0GPSVIlszOu/7NLDfaTc9z h2piiCrOP X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([193.2.4.66]) by localhost (mail.ijs.si [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id SaPaI0S3Cl6i; Mon, 4 Jun 2007 19:12:35 +0200 (CEST) Received: from edina.ijs.si (edina.ijs.si [193.2.4.3]) by mail.ijs.si (Postfix) with ESMTP id 1CD0E1928E5; Mon, 4 Jun 2007 19:12:35 +0200 (CEST) Received: from radagast.ijs.si (radagast.ijs.si [193.2.4.168]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by edina.ijs.si (Postfix) with ESMTP id 12AEC511BC; Mon, 4 Jun 2007 19:12:35 +0200 (CEST) Received: from localhost.ijs.si (localhost.ijs.si [127.0.0.1]) by radagast.ijs.si (8.13.8/8.13.8) with ESMTP id l54HCYBu000951; Mon, 4 Jun 2007 19:12:34 +0200 (CEST) (envelope-from dejan.lesjak@ijs.si) From: Dejan Lesjak Organization: IJS To: freebsd-x11@freebsd.org Date: Mon, 4 Jun 2007 19:12:33 +0200 User-Agent: KMail/1.9.6 References: <1180892310.8180.6.camel@shumai.marcuscom.com> In-Reply-To: <1180892310.8180.6.camel@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706041912.33720.dejan.lesjak@ijs.si> Cc: Joe Marcus Clarke 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 17:12:38 -0000 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? Dejan