False positive perl leftovers

Joe Marcus Clarke marcus at marcuscom.com
Wed Aug 6 18:07:20 EDT 2008


On Wed, 2008-08-06 at 14:42 -0700, Ade Lovett wrote:
> For the longest time, I've noticed a number of issues with false- 
> positive leftovers relating to /usr/bin/perl and /usr/bin/perl5 being  
> "missing" as part of the mtree check after a single package build.
> 
> I'm not sure what the underlying cause is yet -- possibly some weird  
> interaction between tinderbox's removal of packages, and the use.perl  
> script that's part of the perl port.
> 
> In the interests of my own sanity, I added the following as line 169  
> of lib/buildscript:
> 
> /bin/rm -f /usr/bin/perl /usr/bin/perl5   # XXX: ugly hack to fix  
> false positives
> 
> Wondering if this should be included in the actual code itself, rather  
> than being a local hack -- I've reproduced it on a variety of  
> hardware, package builds, architectures, and OS versions, so I'm  
> pretty such it's not specific to me.

Yeah, I've seen this, too.  I think it has to do with a failing port
leaving a dirty build environment.  But this hack looks okay to me.  I
don't think it will trigger any false negatives.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://marcuscom.com/pipermail/tinderbox-list/attachments/20080806/eed48a01/attachment.bin>


More information about the tinderbox-list mailing list