Date: Tue, 13 Sep 2011 09:26:54 +0200 From: Erwin Lansing <erwin@FreeBSD.org> To: freebsd-current@freebsd.org Subject: Re: Screwy behavior in ports framework Message-ID: <20110913072653.GV79144@droso.net> In-Reply-To: <20110913065706.DF0A1106564A@hub.freebsd.org> References: <20110913065706.DF0A1106564A@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110913072653.GV79144>