Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 2010 03:52:23 +0000
From:      xorquewasp@googlemail.com
To:        Greg Larkin <glarkin@FreeBSD.org>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: Something rotten in ports (was Re: package building failure irritation)
Message-ID:  <20100313035223.GA63186@logik.internal.network>
In-Reply-To: <4B9B0856.4090301@FreeBSD.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100313035223.GA63186>