pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/39271: rcd_scripts don't work if names match package directory



On Sat,  2 Aug 2008 20:55:04 +0000 (UTC)
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:

> The following reply was made to PR pkg/39271; it has been noted by
> GNATS.
> 
> From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: 
> Subject: Re: pkg/39271: rcd_scripts don't work if names match package
>       directory
> Date: Sat, 2 Aug 2008 22:53:48 +0200
> 
>  On Sat, Aug 02, 2008 at 03:10:03PM +0000, Jeremy C. Reed wrote:
>  >  The following worked for me for the package you sent me. (Be sure
>  > to add entry to PLIST too.) Just added a unique suffix to filename
>  > for the copy in the work directory.
>  
>  I'd prefer if we don't obscure the file name for a single package
> that failed so far.
>  
I have several work-arounds, but the problem is not improbable and it
cost me ~4 hours work trying to figure out what was wrong.  In other
words, I don't need a change to be able to keep working on this
particular package.  However, the fix is easy, and there's no strong
reason that anyone needs to see the original filename in the work
directory.  The work directory is just that, the work directory; it
isn't normally looked at by pkgsrc users. (Actually, I find the
existence of non-dot files in that directory to be problematic, since I
like to do 'cd work/*' when debugging things. Thus, I'd personally
prefer a new . subdirectory, but Jeremy's fix is easier and solves the
problem.)


                --Steve Bellovin, http://www.cs.columbia.edu/~smb


Home | Main Index | Thread Index | Old Index