pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/45450: pkgtools/p5-pkgsrc-Dewey fails to build with non-standard $WRKOBJDIR
The following reply was made to PR pkg/45450; it has been noted by GNATS.
From: John Marino <netbsd%marino.st@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/45450: pkgtools/p5-pkgsrc-Dewey fails to build with
non-standard
$WRKOBJDIR
Date: Wed, 12 Oct 2011 13:49:16 +0200
On 10/12/2011 1:40 PM, Joerg Sonnenberger wrote:
> The following reply was made to PR pkg/45450; it has been noted by GNATS.
>
> From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: pkg/45450: pkgtools/p5-pkgsrc-Dewey fails to build with
> non-standard $WRKOBJDIR
> Date: Wed, 12 Oct 2011 13:35:16 +0200
>
> On Wed, Oct 12, 2011 at 05:50:04AM +0000, John Marino wrote:
> > > We need to change all relative path reference in pkgsrc,
> > > or prevent bmake to "cd /usr/obj/${.CURDIR}" even if it exists.
> > >
> >
> > Hmm, I'm not see seeing an issue like that and I've been putting the
> > work dirs on /usr/obj/usr/pkgsrc for 6 months now. I have not seen many
> > relative links that outright break like p5-pkgsrc-Dewey did, but I do
> > agree that any others like this one should have their relative path
> fixed.
>
> That's what I meant originally. Just don't do it. Please resist the
> desire to shoot your own foot and just pick a different directory.
>
> Joerg
>
What you interpret as shooting your own foot might be interpreted a bug
in pkgsrc by others. The directory /usr/obj/ was not selected at
random. There should be a very good reason why this is off-limits (if
it's really is off-limits), and if so, pkgsrc should be actively
enforcing this limitation as OBATA suggested.
That said, pkgsrc has mostly been working fine literally for months. I
do notice a "../../pkgtools/digest not found" message at the start of
every build which is probably related to this issue, but other than the
two issues mentioned in this thread, pkgsrc has been behaving well with
the $WRKOBJDIR overridden to the value /usr/obj/usr/pkgsrc. If a couple
of more relatively links need to be fixed to entirely support this
directory base, we should probably do that rather than passing off these
issues as stupid user error.
Regards,
John
Home |
Main Index |
Thread Index |
Old Index