From owner-freebsd-current@FreeBSD.ORG Tue Sep 13 07:30:37 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 5DBF7106564A for ; Tue, 13 Sep 2011 07:30:37 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id E33DA8FC19 for ; Tue, 13 Sep 2011 07:30:36 +0000 (UTC) Received: by fxg9 with SMTP id 9so360398fxg.13 for ; Tue, 13 Sep 2011 00:30:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; bh=sDdz2gKZ6TvkYeEB/HHxY4YuGdQrH+TMMrcD3utvGlI=; b=AkXSslv6ZMMb0m1LGeytGqL4N+xKim2k4wsq6uclliNIFrrCynJn/chjDaib1rjmcU NWkIxd3YTAbjQ7ylo9by2JyJUyEK/rVKMJYIgAn2KTq1qVprqswDmpoQLWVuNjfwzpcg YIeftWNOV/BPzGwjcozarnNI6H1MaJdD3gkVo= Received: by 10.223.34.152 with SMTP id l24mr816197fad.146.1315899035661; Tue, 13 Sep 2011 00:30:35 -0700 (PDT) Received: from ernst.jennejohn.org (p578E239E.dip.t-dialin.net [87.142.35.158]) by mx.google.com with ESMTPS id o22sm816131fab.11.2011.09.13.00.30.33 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Sep 2011 00:30:34 -0700 (PDT) Date: Tue, 13 Sep 2011 09:30:31 +0200 From: Gary Jennejohn To: "Thomas Mueller" Message-ID: <20110913093031.6d63dcf7@ernst.jennejohn.org> In-Reply-To: <20110913065706.DF0A1106564A@hub.freebsd.org> References: <20110913065706.DF0A1106564A@hub.freebsd.org> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.18.7; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Screwy behavior in ports framework X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com 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:30:37 -0000 On Tue, 13 Sep 2011 06:57:04 +0000 (GMT) "Thomas Mueller 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: > > amelia2# ls workb2 .extract_done.libiconv._usr_local > libiconv-1.13.1 amelia2# ls workb2/libiconv-1.13.1/ ABOUT-NLS > Makefile.devel aclocal.m4 gnulib-local src AUTHORS Makefile.in > autogen.sh include srclib COPYING NEWS build-aux lib srcm4 > COPYING.LIB NOTES config.h.in libcharset tests ChangeLog PORTS > configure m4 tools DEPENDENCIES README configure.ac man windows > DESIGN README.djgpp djgpp os2 woe32dll HACKING README.woe32 doc > po INSTALL.generic THANKS extras preload amelia2# make > package-recursive |& tee build.log ===> Patching for > libiconv-1.13.1_1 ===> 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 > > Stop in /BETA1/usr/ports/converters/libiconv. amelia2# pwd > /BETA1/usr/ports/converters/libiconv amelia2# > > (end of quote) > > FreeBSD system or ports system can't find a directory right > under its nose! > > I had gone into directory /BETA1/usr/ports/converters/libiconv > to build that dependency before returning to lynx, but now seem > stuck, or am I overlooking something hopelessly simple? > Your e-mail address is totally fubar. I had to edit it by hand. Yes. Your ports is rooted under /BETA1/usr/ports but I'd guess that workb2 is located someplace else. Define WRKDIRPREFIX which is an _absolute_ path to where workb2 is located, e.g. WRKDIRPREFIX=/my/temporary/work/dir or some such. Just because *you* happen to be in the directory where workb2 is located doesn't mean that it's visible to ports, which requires absolute paths. -- Gary Jennejohn