From owner-freebsd-current@FreeBSD.ORG Tue Sep 13 07:26:55 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE1F8106566B for ; Tue, 13 Sep 2011 07:26:55 +0000 (UTC) (envelope-from erwin@mail.droso.net) Received: from mail.droso.net (grizzly.droso.net [IPv6:2a01:4f8:100:9424::3]) by mx1.freebsd.org (Postfix) with ESMTP id 511ED8FC19 for ; Tue, 13 Sep 2011 07:26:55 +0000 (UTC) Received: by mail.droso.net (Postfix, from userid 1001) id 205B04CECD; Tue, 13 Sep 2011 09:26:54 +0200 (CEST) Date: Tue, 13 Sep 2011 09:26:54 +0200 From: Erwin Lansing To: freebsd-current@freebsd.org Message-ID: <20110913072653.GV79144@droso.net> References: <20110913065706.DF0A1106564A@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20110913065706.DF0A1106564A@hub.freebsd.org> X-Operating-System: FreeBSD/amd64 8.2-RELEASE User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: Screwy behavior in ports framework X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2011 07:26:55 -0000 On Tue, Sep 13, 2011 at 06:57:04AM +0000, wrote: > I just installed FreeBSD 9.0-BETA2 last night, now I try to build ports starting with Perl 5.14.1 (successful), then Python 2.7 fails on something dubious, but when I try to build Lynx, ports framework can't find a directory right under its nose. Problem is with dependency libiconv-1.13.1_1. I am using the ports tree from BETA1, from portsnap, hence ports directory is /BETA1/usr/ports, BETA1 being the BETA1 partition/file system. My /etc/make.conf is > > > PORTSDIR=/BETA1/usr/ports > PACKAGES=/usr/packages > WRKDIR=workb2 > # added by use.perl 2011-09-13 02:49:43 > PERL_VERSION=5.14.1 > > Error screen shows, copied with the mouse, thanks to moused: [snip] > > ===> Applying distribution patches for libiconv-1.13.1_1 > patch: **** can't cd to workb2/libiconv-1.13.1: No such file or directory > *** Error code 1 > > Stop in /BETA1/usr/ports/converters/libiconv. > *** Error code 1 > WKRDIR needs to be an absolute path and will break when it moves up the tree to install dependencies. The most likely fix is to adjust the default value ${WRKDIRPREFIX}${.CURDIR}/work to your liking, but what you probably want is to set WRKDIRPREFIX to say /BETA1/workb2/ or similar. Erwin -- Erwin Lansing http://droso.org Prediction is very difficult especially about the future erwin@FreeBSD.org