Screwy behavior in ports framework
Erwin Lansing
erwin at FreeBSD.org
Tue Sep 13 07:26:55 UTC 2011
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 at FreeBSD.org
More information about the freebsd-current
mailing list