From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Apr 26 00:20:18 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24D0437B404 for ; Sat, 26 Apr 2003 00:20:18 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C09FE43FD7 for ; Sat, 26 Apr 2003 00:20:16 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h3Q7KGUp087761 for ; Sat, 26 Apr 2003 00:20:16 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h3Q7KGOP087760; Sat, 26 Apr 2003 00:20:16 -0700 (PDT) Resent-Date: Sat, 26 Apr 2003 00:20:16 -0700 (PDT) Resent-Message-Id: <200304260720.h3Q7KGOP087760@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Martyn J.Pearce" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16B0137B401 for ; Sat, 26 Apr 2003 00:17:42 -0700 (PDT) Received: from parmenides.zen.co.uk (parmenides.zen.co.uk [212.23.8.69]) by mx1.FreeBSD.org (Postfix) with SMTP id 43A8F43FBF for ; Sat, 26 Apr 2003 00:17:38 -0700 (PDT) (envelope-from martyn@inpharmatica.co.uk) Received: (qmail 19630 invoked from network); 26 Apr 2003 07:17:36 -0000 Received: from protagoras.zen.co.uk (212.23.8.61) by parmenides.zen.co.uk with QMQP; 26 Apr 2003 07:17:36 -0000 Received: from dsl-217-155-79-129.zen.co.uk (HELO chrome.ninja.co.uk) (217.155.79.129) by protagoras.zen.co.uk with SMTP; 26 Apr 2003 07:17:36 -0000 Received: from martyn by chrome.ninja.co.uk with local (Exim 4.14 #1 (Debian)) id 199JxB-0006bq-55 for ; Sat, 26 Apr 2003 07:18:33 +0000 Message-Id: Date: Sat, 26 Apr 2003 07:18:33 +0000 From: "Martyn J.Pearce" Sender: User Martyn To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/51429: [PATCH] scrollkeeper will not build if /usr/local/share is symlinked X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Martyn J.Pearce" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2003 07:20:18 -0000 >Number: 51429 >Category: ports >Synopsis: [PATCH] scrollkeeper will not build if /usr/local/share is symlinked >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Apr 26 00:20:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Martyn J. Pearce >Release: FreeBSD 4.7-STABLE i386 >Organization: None >Environment: System: FreeBSD chrome.ninja.co.uk 4.7-STABLE FreeBSD 4.7-STABLE #4: Mon Feb 10 20:15:19 GMT 2003 martyn@chrome.ninja.co.uk:/usr/obj/usr/src/sys/CHROME i386 All required packages are installed /usr/local/share is a symlink, because due to disk space issues, it is stored on a distinct filesystem from /usr/local >Description: On my box, scrollkeeper refuses to build, as it cannot find docbookx.dtd, etc. I note that in the second chunk of the patch, two finds are run, the first appears to be redundant. I have left this, since it's not causing a problem right now, but is it cruft? >How-To-Repeat: Attempt to install scrollkeeper with the above config. Any of portupgrade down to make install will fail >Fix: The patch adds -follow to the relevant find commands. --- pkg_install.diff begins here --- --- pkg-install Sat Apr 26 07:06:13 2003 +++ pkg-install.orig Sat Apr 26 07:03:10 2003 @@ -32,7 +32,7 @@ # # find the prefix for DocBook DTD # -found=`find ${PREFIX}/ -follow -name docbookx.dtd 2> /dev/null` +found=`find ${PREFIX}/ -name docbookx.dtd 2> /dev/null` if [ "$found" = "" ] ; then echo could not locate docbookx.dtd for DocBook XML exit 1 @@ -103,8 +103,8 @@ # find the prefix for ISO DocBook entities # top=`dirname $docbookdir` -found=`find $top -follow -iname "iso*amsb.ent" 2> /dev/null` -found=`find ${PREFIX}/ -follow -iname "iso*amsb.ent" 2> /dev/null` +found=`find $top -iname "iso*amsb.ent" 2> /dev/null` +found=`find ${PREFIX}/ -iname "iso*amsb.ent" 2> /dev/null` if [ "$found" = "" ] ; then echo could not locate iso-amsb.ent of ISO DocBook entities exit 1 @@ -193,7 +193,7 @@ # top=`dirname $docbookdir` found=`find $top -name chunk.xsl 2> /dev/null` -found=`find ${PREFIX}/ -follow -name chunk.xsl 2> /dev/null` +found=`find ${PREFIX}/ -name chunk.xsl 2> /dev/null` if [ "$found" = "" ] ; then echo could not locate chunk-common.xsl of DocBook XSLT stylesheets exit 1 --- pkg_install.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: