[Reproducible-builds] Bug#817943: dh-strip-nondeterminism damages .zip files

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Fri Mar 11 20:17:14 UTC 2016


Package: dh-strip-nondeterminism
Version: 0.016-1

I attached two files, cat them to get the testcase:
   cat split.clam.bz2.zipaa split.clam.bz2.zipab > clam.bz2.zip

The file is from Clamav's test files package so it will be recognized
as a virus - therefore the split.
Now. The original file:
|$ unzip clam.bz2.zip 
|Archive:  clam.bz2.zip
| bunzipping: clam.exe                
|$ ls -lh clam.exe 
|-rw-r--r-- 1 bigeasy bigeasy 544 Sep  6  2004 clam.exe

After `dh_strip_nondeterminism':

|$ unzip clam.bz2.zip
|Archive:  clam.bz2.zip
| bunzipping: clam.exe                
|   error:  invalid compressed data to bunzip
|$ ls -lh clam.exe 
|-rw-r--r-- 1 bigeasy bigeasy 0 Mar  2 15:48 clam.exe

I will try to work this around by using the `-X' argument and exclude
the test files. Therefore I keep the severity as normal rather than
important.

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: split.clam.bz2.zipaa
Type: application/octet-stream
Size: 231 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160311/1a1d8ab9/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: split.clam.bz2.zipab
Type: application/octet-stream
Size: 231 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160311/1a1d8ab9/attachment-0001.obj>


More information about the Reproducible-builds mailing list