Bug#1085257: diffoscope: Compare ar(1) archives

Alejandro Colomar alx at kernel.org
Tue Oct 22 23:36:07 BST 2024


Hi Chris,

On Tue, Oct 22, 2024 at 03:15:36PM GMT, Chris Lamb wrote:
> Alejandro Colomar wrote:
> 
> > alx at debian:~/src/alx/liba2i/contrib$ file liba2i*.a
> > liba2i.a:           current ar archive
> > liba2i_ranlibbed.a: current ar archive
> 
> Now that's puzzling. Okay, so we might be in danger of actually
> debugging why these are identified as 'data' on my system (rather than
> fixing the subsequent traceback), but this is enough of an eyebrow-raiser
> to work out what is going on.
> 
> As in, I'm also running the same version as file as you:
> 
>   $ dpkg -l file | tail -n1
>   ii  file           1:5.45-3     amd64        Recognize the type […]
> 
> Okay, before we do anything else, just so we know we are 100% dealing
> with the same files (it has happened!), here is what I'm attempting to
> reproduce with:
> 
>   $ sha1sum liba2i.a liba2i_ranlibbed.a 
>   677d551cf0db663ff7a269133a4e7b297ef57f3e  liba2i.a
>   0c9ac6a9720a69f595510cca27a1c266b2ba3172  liba2i_ranlibbed.a

I've downloaded the files from the email I sent, just in case my mail
client messed with them, and they have the same hashes than the original
ones:

alx at debian:~/tmp/debian/lamby$ sha1sum *
8c7b6195fc9d37b048ecba667ea4327ac71d400e  liba2i.a
69ecc7dbe73a37c07a8eba9f37efd6a356e34ae1  liba2i_ranlibbed.a
alx at debian:~/tmp/debian/lamby$ sha256sum *
ff565e651c66162ff2fc93ac50d9038e1d40274cb6cb9cf878b93740534411ed  liba2i.a
499b2643ec2c51b6c608df70a5d881ce0f22a616cafeeb03dbedde71a530c010  liba2i_ranlibbed.a
alx at debian:~/tmp/debian/lamby$ file *
liba2i.a:           current ar archive
liba2i_ranlibbed.a: current ar archive

I got these by piping from inside neomutt(1) to a recently created dir.
Maybe some mail server in the middle, or your mail client, transformed
the files?

Have a lovely night!
Alex

> 
> 
> 
> Regards,
> 
> -- 
>       ,''`.
>      : :'  :     Chris Lamb
>      `. `'`      lamby at debian.org 🍥 chris-lamb.co.uk
>        `-
> 

-- 
<https://www.alejandro-colomar.es/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20241023/a1732a25/attachment.sig>


More information about the Reproducible-builds mailing list