According to the maintainer of mediainfo, he uses 7zip on Windows to generate
the tarballs. The commands used are:

7z a -r -ttar -mx9 MediaInfo_Lib_Source.tar MediaInfoLib\*
7z a -r -tgzip -mx9 libmediainfo_-1.tar.gz MediaInfo_Lib_Source.tar

It seems that the .tar is not at fault -- if I run the first command and use
Debian or Ubuntu's gzip, on the .tar, pristine-tar works. If I use the second
command with a tarball generated from Debian or Ubuntu's tar, pristine-tar 
fails.

The following test script demonstrates the issue:
-----------8<-------------
#!/bin/sh

mkdir foo
touch foo/bar
tar -cf foo.tar foo
7z a -r -tgzip -mx9 foo.tar.gz foo.tar

cd foo
pristine-tar gendelta ../foo.tar.gz ../foo.tar.gz.delta
----------->8-------------

-- 
Kind regards,
Loong Jin

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to