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 14:58:06 +0200

 On 10/12/2011 2:30 PM, Joerg Sonnenberger wrote:
 >  You sound like a cancer patient that tells his doc about the head ache
 >  he had for years. The very good reason for this being off-limits is that
 >  it triggers magic behavior in make. Enforcing it is non-trivial as there
 >  are too many different ways to trigger it.
 
 I assumed the trivial way to enforce it is to check the value of
 $WRKOBJDIR and emit an error/die if it starts with "/usr/obj/".
 
 >  Frankly, I am more in favour of something being openly broken that
 >  seemingly working most of the time. This is such a case where pretty
 >  much every make target can easily create a more or less obvious error.
 >  I don't see the advantage in hunting them down.
 
 I'd rather the case just be handled rather gracefully than let it go on
 with unexpected behavior.  If the decision is really that "/usr/obj/" is
 a sacred directory, then A) publish that in the pkgsrc guide and B) have
 pkgsrc enforce the limitation.  Obviously I'd rather there was no such
 limitation, but if that's not practical then so be it.
 
 John
 


Home | Main Index | Thread Index | Old Index