Package: strip-nondeterminism
Version: 0.028-1
Severity: wishlist

Hi,

(Forwarding message)

"""
If you do this twice:

  7z u -tzip $some_zip $some_path/$some_file
  strip-nondeterminism --timestamp $some_zip

and then diffoscope the two results I *expect* them to be
indentical, but I get this for each folder of $some_path:

│ @@ -68,15 +68,15 @@
│    disk number on which file begins:               disk 1
│    apparent file type:                             binary
│    Unix file attributes (040755 octal):            drwxr-xr-x
│    MS-DOS file attributes (10 hex):                dir 
│  
│    The central-directory extra field contains:
│    - A subfield with ID 0x000a (PKWARE Win32) and 32 data bytes.  The first
│ -    20 are:   00 00 00 00 01 00 18 00 80 58 28 6d e8 43 d2 01 80 58 28 6d.
│ +    20 are:   00 00 00 00 01 00 18 00 00 8a 4d b2 ea 43 d2 01 00 8a 4d b2.
│  
│    There is no file comment.

and this for $some_file:

│    There are an extra -36 bytes preceding this file.
│ @@ -51129,15 +51129,15 @@
│    disk number on which file begins:               disk 1
│    apparent file type:                             binary
│    Unix file attributes (100644 octal):            -rw-r--r--
│    MS-DOS file attributes (00 hex):                none
│  
│    The central-directory extra field contains:
│    - A subfield with ID 0x000a (PKWARE Win32) and 32 data bytes.  The first
│ -    20 are:   00 00 00 00 01 00 18 00 80 58 28 6d e8 43 d2 01 80 58 28 6d.
│ +    20 are:   00 00 00 00 01 00 18 00 00 8a 4d b2 ea 43 d2 01 00 8a 4d b2.
│  
│    There is no file comment.

However, if I pass `-mtc=off` to 7z, all is fine. That
disables "NTFS timestamps for files: Modification time, Creation
time, Last access time". So it seems strip-nondeterminism is not
aware of this timestamp at the moment.
"""


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to