From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 13 03:52:28 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AA3B106564A; Sat, 13 Mar 2010 03:52:28 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id C14068FC0A; Sat, 13 Mar 2010 03:52:27 +0000 (UTC) Received: by wwb24 with SMTP id 24so690399wwb.13 for ; Fri, 12 Mar 2010 19:52:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:received :x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to; bh=ihZA/hSsOJEPJfoqcLgWVYyi73eYnr/5NN4zuJQOnEA=; b=nvtSkxIkLslyJm0gd+o3NLa8ky/I/sW+eCUIQxfNxFR7LmPrxSo9nd+58DBpm1PP/V hiV0LwPhLW3xuUXpVuHm0b6Lj1GHhdc63K3VO9xzardDdBcuaBG973f3PPqmjIbyrr6L vaCQ80tM08kW4rZBglcWHFFn5irAfaIi7TNEM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to; b=rRqDdbO6kp8ALpTb3SfyxTLe91xpu25ezYOu17nKf4Z2+EQQIPGcGsanFAIicFUiVB b8Q2t8hTgEmF3iwBO+PL+TC1sTnuyao5bXeBm1q7Pa8GcDKnlNwZbQzR8PAWkncVKTrN Wx4TWFYQ6mkKwIxit/qwq/4Py9J7MlAdlh60Y= Received: by 10.216.88.83 with SMTP id z61mr615990wee.14.1268452346586; Fri, 12 Mar 2010 19:52:26 -0800 (PST) Received: from viper.internal.network (dsl78-143-199-168.in-addr.fast.co.uk [78.143.199.168]) by mx.google.com with ESMTPS id i35sm7562177gve.11.2010.03.12.19.52.25 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 12 Mar 2010 19:52:26 -0800 (PST) Received: from viper.internal.network (localhost [127.0.0.1]) by viper.internal.network (Postfix) with ESMTP id 773324AC01; Sat, 13 Mar 2010 03:52:24 +0000 (UTC) Received: (from m0@localhost) by viper.internal.network (8.14.3/8.14.3/Submit) id o2D3qNKg065584; Sat, 13 Mar 2010 03:52:23 GMT (envelope-from xorquewasp@googlemail.com) X-Authentication-Warning: viper.internal.network: m0 set sender to xorquewasp@googlemail.com using -f Date: Sat, 13 Mar 2010 03:52:23 +0000 From: xorquewasp@googlemail.com To: Greg Larkin Message-ID: <20100313035223.GA63186@logik.internal.network> References: <20100226163227.GA15162@logik.internal.network> <4B88074E.7050007@FreeBSD.org> <20100226222113.GA14592@logik.internal.network> <4B884D48.90509@FreeBSD.org> <20100227093409.GA40858@logik.internal.network> <864ol0w4g5.fsf@ds4.des.no> <20100304175819.GC31036@logik.internal.network> <867hpr56ek.fsf@ds4.des.no> <20100313022817.GA40872@logik.internal.network> <4B9B0856.4090301@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B9B0856.4090301@FreeBSD.org> Cc: freebsd-hackers@FreeBSD.org Subject: Re: Something rotten in ports (was Re: package building failure irritation) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2010 03:52:28 -0000 On 2010-03-12 22:36:54, Greg Larkin wrote: > Hi xw, > > I noticed something strange here. How is WRKDIR (in this case > "/var/ports/work/var/ports/tree/devel/eggdbus/work") defined? It looks > like bsd.port.mk combined your WRKDIRPREFIX and PORTSDIR to create that > path, but skimming the code, I can't figure out how it's doing that. > How many levels of that directory tree exist on your system? 'Lo. Not sure I understand what you're asking me to check, but things have basically laid themselves out like this: # ls /var/ports/work/var/ports/tree/devel/eggdbus/work/eggdbus-0.6/ AUTHORS Makefile README config.h.in configure.ac eggdbus-1.pc.in missing COPYING Makefile.am aclocal.m4 config.log configure.bak gtk-doc.make src ChangeLog Makefile.in compile config.status depcomp install-sh stamp-h1 HACKING Makefile.in.bak config.guess config.sub docs libtool INSTALL NEWS config.h configure eggdbus-1.pc ltmain.sh > Have you tried just setting PORTSDIR and letting bsd.port.mk set the > rest of the paths with their defaults that are relative to PORTSDIR? If > that works, then we can start hunting for places that are not handling > absolute vs. relative paths correctly in bsd.port.mk. Will try that now. In the original setup, I did specifically want to keep these directories separate (as PORTSDIR was a read-only nullfs mount), but that's obviously not the case for this example setup. xw