From owner-freebsd-ports@FreeBSD.ORG Tue Sep 21 15:34:05 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DD73106566C for ; Tue, 21 Sep 2010 15:34:05 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtp.3dresearch.com (dorabella.3dresearch.com [66.167.251.2]) by mx1.freebsd.org (Postfix) with ESMTP id 31DFB8FC19 for ; Tue, 21 Sep 2010 15:34:04 +0000 (UTC) Received: from fracasso.3dresearch.com (pool-72-95-209-5.pitbpa.east.verizon.net [72.95.209.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vmail.3dresearch.com (Postfix) with ESMTP id 8A2389C70B; Tue, 21 Sep 2010 11:34:03 -0400 (EDT) Received: from fracasso.3dresearch.com (localhost [127.0.0.1]) by fracasso.3dresearch.com (Postfix) with SMTP id C4CE15CD2; Tue, 21 Sep 2010 11:34:02 -0400 (EDT) Date: Tue, 21 Sep 2010 11:33:27 -0400 From: Janos Dohanics To: Jeremy Chadwick Message-Id: <20100921113327.8d621546.web@3dresearch.com> In-Reply-To: <20100921125919.GA58450@icarus.home.lan> References: <20100917153118.f5ae90bd.web@3dresearch.com> <20100920013759.c769e845.web@3dresearch.com> <4C97BEF4.8030607@gmx.de> <20100920182009.91a61590.web@3dresearch.com> <20100921014921.GA42015@icarus.home.lan> <20100921020512.GA42144@icarus.home.lan> <20100921032538.e032f829.web@3dresearch.com> <20100921125919.GA58450@icarus.home.lan> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: x11/kdelibs4 build fails, can't find docbook 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, 21 Sep 2010 15:34:05 -0000 On Tue, 21 Sep 2010 05:59:19 -0700 Jeremy Chadwick wrote: > On Tue, Sep 21, 2010 at 03:25:38AM -0400, Janos Dohanics wrote: > > On Mon, 20 Sep 2010 19:05:12 -0700 > > Jeremy Chadwick wrote: > > > > > On Mon, Sep 20, 2010 at 06:49:21PM -0700, Jeremy Chadwick wrote: > > > > On Mon, Sep 20, 2010 at 06:20:09PM -0400, Janos Dohanics wrote: > > > > > On Mon, 20 Sep 2010 22:07:16 +0200 > > > > > olli hauer wrote: > > > > > > > > > > > On 2010-09-20 07:37, Janos Dohanics wrote: > > > > > > > On Fri, 17 Sep 2010 15:31:18 -0400 > > > > > > > Janos Dohanics wrote: > > > > > > > > > > > > > >> While building kde4-4.5.1, I get this error: > > > > > > >> > > > > > > >> # make install clean > > > > > > >> ===> kde4-4.5.1 depends on > > > > > > >> file: /usr/local/kde4/bin/kdebugdialog - not found ===> > > > > > > >> Verifying install [...] > > > > > > > > > > > > > > I did some basic troubleshooting, and found that the > > > > > > > files do not get installed > > > > > > > in /usr/local/share/xml/docbook/4.2/, except > > > > > > > the /usr/local/share/xml/docbook/4.2/ent directory is > > > > > > > created. > > > > > > > > > > > > > > This seems to be happening because the port > > > > > > > uses /usr/bin/unzip instead of /usr/local/bin/unzip. > > > > > > > > > > > > > > How can I change this behavior so /usr/local/bin/unzip > > > > > > > would be used? > > > > > > > > > > > > > > > > > > > If you haven't redefined UNZIP_CMD or LOCALBASE somewhere > > > > > > ${LOCALBASE}/bin/unzip will be used. > > > > > > > > > > I have not made any change like that. > > > > > > > > > > > You can test this with the follwing command in the > > > > > > directory of the port where you think the wrong unzip will > > > > > > be used. > > > > > > > > > > > > In case of docbook-420/docbook-xml > > > > > > cd ${PORTSDIR}/textproc/docbook-(420|xml) > > > > > > make -V UNZIP_CMD > > > > > > make -V EXTRACT_CMD > > > > > > > > > > Thank you... > > > > > > > > > > # make -V UNZIP_CMD > > > > > /usr/local/bin/unzip > > > > > # make -V EXTRACT_CMD > > > > > /usr/local/bin/unzip > > > > > # which unzip > > > > > /usr/bin/unzip > > > > > > > > > > > But wait, in your previous mail you have only docbook-4.1 > > > > > > and not docbook-4.2 in the "portversion -vF docbook*" > > > > > > listing which is needed to install docbook-xml correct. > > > > > > > > > > You are right, docbook-4.2 was not installed; I have > > > > > installed it now. However, kde4 is still gets stuck with the > > > > > "reinstall textproc/docbook-xml" message (portversion says > > > > > docbook-xml-4.2_1 is installed, but the files aren't installed > > > > > in /usr/local/share/xml/docbook/4.2/). > > > > > > > > > > I guess my problem is that while both UNZIP_CMD and > > > > > EXTRACT_CMD point to /usr/local/bin/unzip, the > > > > > docbook-xml-4.2_1 port still uses /usr/bin/unzip. > > > > > > > > > > How can I fix this? > > > > > > > > Where did /usr/bin/unzip come from? This program isn't part of > > > > the base system on FreeBSD, nor is it on any system I have > > > > access to. I realise you're complaining that the port > > > > finds /usr/bin/unzip instead of /usr/local/bin/unzip, but your > > > > "which" command above indicates you actually have something > > > > in /usr/bin that shouldn't be there. > > > > > > I do see /usr/src/usr.bin/unzip on all RELENG_8 systems I have > > > access to, and I do see mention of this in CVS: > > > > > > http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/unzip/Makefile > > > > > > But there's no unzip build target in /usr/src/usr.bin/Makefile. > > > Here's the most recent commit that would be RELENG_8 and > > > RELENG_8_1: > > > > > > RELENG_8 -- > > > http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/Makefile#rev1.324.2.3 > > > RELENG_8_1 -- > > > http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/Makefile#rev1.324.2.3.2.1 > > > > > > If you view the content or annotations for these, you won't find > > > any mention of unzip in the targets (SUBDIR) list. > > > > > > On the other hand, HEAD/CURRENT do indicate unzip is a target. > > > Are you running HEAD/CURRENT? > > > > I don't know where did /usr/bin/unzip come from - I first installed > > this machine in January of 2010 using 8.0-RELEASE (?). I have > > rebuilt it since to 8.1-PRERELEASE (amd64). > > Which tags/releases are you using in your supfiles? *default release=cvs tag=RELENG_8 src-all > > This machine was used for some Django application development - I > > will ask my developer if he had installed something... > > Okay. > > > >From what you say I gather that I could simlink /usr/bin/unzip > > to /usr/local/bin/unzip - thank you for your help... > > No, do not do this; simply rm /usr/bin/unzip. OK, thanks again. -- Janos Dohanics