tinderbox not catching some packaging errors

Joe Marcus Clarke marcus at marcuscom.com
Tue Feb 14 10:19:30 EST 2006


On Sat, 2006-02-11 at 14:38 -0800, Ade Lovett wrote:
> Hey folks,
> 
> Whilst doing some extensive port building work, I noticed that there  
> appears to be a minor issue with tinderbox not catching some  
> packaging errors.
> 
> Now, the problem in question was absolutely a pilot-error typo with a  
> couple of files being specified twice in the pkg-plist.
> 
>  From the logfile:
> 
> [...]
> Creating bzip'd tar ball in '/tmp/packages/All/transcode-1.0.2.tbz'
> Deleting transcode-1.0.2
> pkg_delete: file '/usr/local/lib/transcode/import_oss.a' doesn't exist
> pkg_delete: file '/usr/local/lib/transcode/import_oss.la' doesn't exist
> pkg_delete: file '/usr/local/lib/transcode/import_oss.so' doesn't exist
> pkg_delete: couldn't entirely delete package (perhaps the packing  
> list is
> incorrectly specified?)
> [...]
> 
> This happens at stage 7, just before the filesystem checks.   
> Tinderbox actually marked the port as successfully built, yet it is a  
> bug.
> 
> Ideas how to fix this?

This looks like a bug in pkg_create.  It should be catching those
problems, then dying.  buildscript catches that failure, then bails out.
If make package returns successfully, TB has no way of known the package
build failed.

Joe

> 
> -aDe
> 
> _______________________________________________
> tinderbox-list at marcuscom.com mailing list
> http://marcuscom.com/mailman/listinfo/tinderbox-list
> To unsubscribe, send any mail to "tinderbox-list-unsubscribe at marcuscom.com"
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://marcuscom.com/pipermail/tinderbox-list/attachments/20060214/cb56ee0a/attachment.bin 


More information about the tinderbox-list mailing list