Bug#991059: diffoscope: handling of errors in unsquashfs

Roland Clobus rclobus at rclobus.nl
Tue Aug 17 12:42:28 BST 2021


Hello Chris,

On 17/08/2021 13:02, Chris Lamb wrote:
>> If possible, I would like to see something like:
>> * If the return value of unsquashfs is non-zero, look whether stderr
>>   only contains lines like
>>   'create_inode: could not create character device ./dev/console, because
>>   you're not superuser!'
>> * If that is the case, resume normal operation, pretending the return
>>   code to be zero
>> * If not, then something else happened, which is out-of-scope for this
>>   ticket and handled with the current code
> 
> Great idea. I've tried implementing this on diffoscope 'master' and it
> appears to work for me. Can you test it there, or shall I release it first?

Thanks for the code.

The test suite (which uses git directly) fails at the moment:
https://jenkins.debian.net/job/reproducible_diffoscope_from_git/1063/consoleFull

In parallel, I'll run the code on the images that I have here (using the
latest code in git).

With kind regards,
Roland Clobus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20210817/7abbdcee/attachment.sig>


More information about the Reproducible-builds mailing list