Your message dated Wed, 26 Apr 2017 15:05:05 +0000
with message-id <e1d3ov7-0006j3...@fasolo.debian.org>
and subject line Bug#833697: fixed in diffoscope 82
has caused the Debian Bug report #833697,
regarding diffoscope: libarchive.exception.ArchiveError when running on two dmg 
files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
833697: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833697
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: diffoscope
Version: 56
Severity: normal

I get a crash when running diffoscope on these two dmg files. They are just 
byproducts of a development process. The two files are here (about 65 MB each):
https://people.torproject.org/~dcf/pt-bundle/snowflake/20160806-6.5a1-965e0daa7d59/TorBrowser-6.5a1-osx64_en-US.dmg
https://people.torproject.org/~dcf/pt-bundle/snowflake/20160806-6.5a1-965e0daa7d59-2/TorBrowser-6.5a1-osx64_en-US.dmg

Here are their sha256sums:
e67dc5230d66502725a77fde910ec163a0172f893bc06f378e94eb31f755d1b4  
20160806-6.5a1-965e0daa7d59/TorBrowser-6.5a1-osx64_en-US.dmg
3c182dc03de369b99c60acbd553f4a3e01b07640302a36f2562cc6b491437284  
20160806-6.5a1-965e0daa7d59-2/TorBrowser-6.5a1-osx64_en-US.dmg

This is the crash:

$ diffoscope 20160806-6.5a1-965e0daa7d59/TorBrowser-6.5a1-osx64_en-US.dmg 
20160806-6.5a1-965e0daa7d59-2/TorBrowser-6.5a1-osx64_en-US.dmg

bzip2: 20160806-6.5a1-965e0daa7d59/TorBrowser-6.5a1-osx64_en-US.dmg: trailing 
garbage after EOF ignored

bzip2: 20160806-6.5a1-965e0daa7d59-2/TorBrowser-6.5a1-osx64_en-US.dmg: trailing 
garbage after EOF ignored
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/diffoscope/__main__.py", line 199, in 
main
    sys.exit(run_diffoscope(parsed_args))
  File "/usr/lib/python3/dist-packages/diffoscope/__main__.py", line 170, in 
run_diffoscope
    parsed_args.path1, parsed_args.path2)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", 
line 99, in compare_root_paths
    return compare_files(file1, file2)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", 
line 115, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 
210, in compare
    difference = self._compare_using_details(other, source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 
180, in _compare_using_details
    details.extend(filter(None, self.as_container.compare(other.as_container)))
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", 
line 118, in compare_commented_files
    difference = compare_files(file1, file2, source=source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", 
line 115, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 
210, in compare
    difference = self._compare_using_details(other, source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 
180, in _compare_using_details
    details.extend(filter(None, self.as_container.compare(other.as_container)))
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", 
line 118, in compare_commented_files
    difference = compare_files(file1, file2, source=source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", 
line 104, in compare_files
    if file1.has_same_content_as(file2):
  File "/usr/lib/python3/dist-packages/diffoscope/__init__.py", line 162, in 
tool_check
    return original_function(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 
192, in has_same_content_as
    my_size = os.path.getsize(self.path)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils.py", line 
242, in path
    self._path = self.container.extract(self._name, self._temp_dir.name)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/libarchive.py", 
line 180, in extract
    for buf in entry.get_blocks():
  File "/usr/lib/python3/dist-packages/libarchive/entry.py", line 41, in 
get_blocks
    r = read(archive_p, buf, block_size)
  File "/usr/lib/python3/dist-packages/libarchive/ffi.py", line 85, in check_int
    raise archive_error(args[0], retcode)
  File "/usr/lib/python3/dist-packages/libarchive/ffi.py", line 69, in 
archive_error
    raise ArchiveError(msg, errno(archive_p), retcode, archive_p)
libarchive.exception.ArchiveError: Truncated input file (errno=-1, retcode=-30, 
archive_p=23628240)


The first time I ran diffoscope, I did not have genisoimage installed. There 
was no crash then, but the output was just a diff of disk images and 
recommended to install genisoimage. After installing genisoimage, I got the 
output above.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (600, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages diffoscope depends on:
ii  python3-libarchive-c   2.1-3
ii  python3-magic          1:5.28-4
ii  python3-pkg-resources  20.10.1-1.1
pn  python3:any            <none>

Versions of packages diffoscope recommends:
ii  acl                     2.2.52-3
pn  binutils-multiarch      <none>
ii  bzip2                   1.0.6-8
pn  caca-utils              <none>
pn  colord                  <none>
ii  cpio                    2.11+dfsg-5
pn  default-jdk | java-sdk  <none>
pn  enjarify                <none>
pn  fontforge-extras        <none>
pn  fp-utils                <none>
ii  genisoimage             9:1.1.11-3
ii  gettext                 0.19.8.1-1
ii  ghc                     7.10.3-9
ii  ghostscript             9.19~dfsg-1+b1
ii  gnupg                   1.4.20-6
pn  mono-utils              <none>
pn  pdftk                   <none>
ii  poppler-utils           0.44.0-3
pn  python3-argcomplete     <none>
pn  python3-debian          <none>
pn  python3-guestfs         <none>
pn  python3-rpm             <none>
pn  python3-tlsh            <none>
pn  rpm2cpio                <none>
pn  sng                     <none>
pn  sqlite3                 <none>
pn  squashfs-tools          <none>
ii  unzip                   6.0-20
ii  vim-common              2:7.4.1829-1
ii  xz-utils                5.1.1alpha+20120614-2.1

Versions of packages diffoscope suggests:
ii  libjs-jquery  1.12.4-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: diffoscope
Source-Version: 82

We believe that the bug you reported is fixed in the latest version of
diffoscope, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 833...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <la...@debian.org> (supplier of updated diffoscope package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 26 Apr 2017 16:17:57 +0200
Source: diffoscope
Binary: diffoscope
Architecture: source
Version: 82
Distribution: experimental
Urgency: medium
Maintainer: Reproducible builds folks 
<reproducible-builds@lists.alioth.debian.org>
Changed-By: Chris Lamb <la...@debian.org>
Description:
 diffoscope - in-depth comparison of files, archives, and directories
Closes: 833697 858867 859034 859056 859117 861109
Changes:
 diffoscope (82) experimental; urgency=medium
 .
   [ Chris Lamb ]
   * New features:
     - Add support for comparing Pcap files. (Closes: #858867)
     - Add support for .docx and .odt files via docx2txt & odt2txt.
       (Closes: #859056)
     - Add support for PGP files via pgpdump. (Closes: #859034)
     - Add support for comparing Ogg Vorbis files.
   * Bug fixes:
     - Don't crash on invalid archives; print a useful error instead.
       (Closes: #833697)
     - Ensure tests and the runtime environment can locate binaries in
       /usr/sbin (eg. tcpdump)
   * Tests:
     - Ensure that PATH is modified.
     - Ensure @tool_required raises RequiredToolNotFound.
     - Don't assume that /sbin/init exists; locate any /sbin binary manually and
       then test for that. This should prevent FTBFS on travis-ci.org.
     - Show packages installed in report output.
   * Misc:
     - comparators.bzip2: Don't print error output from bzip2 call.
     - comparators.pcap: Show the delta, not the absolute time.
     - Use /usr/share/dpkg/pkg-info.mk over manual calls to dpkg-parsechangelog
       in debian/rules.
     - Document PYTHONPATH usage when running tests in README.Source.
     - Add internal documentation for @tool_required decorator.
 .
   [ b...@beuc.net ]
   * Display differences in zip platform-specific timestamps. (Closes: #859117)
 .
   [ Ximin Luo ]
   * Add support for R .rds and .rdb object files.
 .
   [ Vagrant Cascadian ]
   * Add support for .dtb (device tree blob) files (Closes: #861109).
Checksums-Sha1:
 f2b2909e530c15bf6c4ba38362d59603e582f6d2 3217 diffoscope_82.dsc
 6256685ec889184164c417d7ac6338658c3faa16 626408 diffoscope_82.tar.xz
 24fc7c18966417d354b1bc25b44b1bd6a7563d0f 17976 diffoscope_82_amd64.buildinfo
Checksums-Sha256:
 0a070d727403446ee39ff1bba30bcf1fe59469392f8aaf77aacba0a20124a0f8 3217 
diffoscope_82.dsc
 9335692349da6420756664e91a0b4e1a56feb589f6aff221361535c17de1b357 626408 
diffoscope_82.tar.xz
 917a2dbcc0c4c334507d5298fc0e8578ebc58401226532e9a75a3e31bdfbb473 17976 
diffoscope_82_amd64.buildinfo
Files:
 b4680b5bdc09061989597eb0eb1b589f 3217 devel optional diffoscope_82.dsc
 97e93d7b5df60a40208ed7a9f59e4cea 626408 devel optional diffoscope_82.tar.xz
 63363901480cde3eba47b5a77249e2b6 17976 devel optional 
diffoscope_82_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlkArp0ACgkQHpU+J9Qx
HlhIJg/+KkTS698+j6G6ifwiSMCHheBYnFmNKr6xfuMu23Q/R+3Lr5PbJLQGGMTl
FyBW+VDzTZY8aDDr8jRVah+1yF3BMHfrkCpmiO3yHkQQs8S6hD1DjdmNmmayR5vI
n+Zj8MJfV5gLtuZwEdRezqRr9S2PgfiDZ3ChcKLX5ByVeAVARfvJVLBgQtUj4nly
7ONtYDueg21qERh0H3CDF/fbN+NqAFiJrdLCU7mVCOj0J/FaMGdEgFAVK9aJzz0Q
i0FLkPU2iQmta/Hh/od5jQYPIHrnWTIQ+MGZgdTJGIFtHp3mNvLcjiFokrQzV02j
FDXP5L1imCA6GEf4XKByPc4yMHteaOp3ZtqUaMpyT2uaHR3l2uKaojR8zhjqPiyE
sZbt7qqvUSXh0yz5yrzCda+RpzMaMYAEJlOOSPMVuACgJpVeM5WI5Yg8VfQH/F6o
WU91csCqHvtZjkR5G2FSaGGYrODsAb+OvkHbfEsyDwJIiTJA5YicYA0c5ybBfJDO
hZdT+XEsFfQeXSW68UNLDCTPonIN36dJKURtfQCyXqGs1lFS+1y25auyNdymaMTB
9+Podwg+unj5wvYJxn6fsR/wzc2jtq3y0dmR5NRUQ9nYIppGkDbEugOuuytsVMxK
DiJ5Fb5UUBi6pcG7CfSIelzh7ef5MdEglfP7SUtUS/FebHxdu2s=
=oZgw
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
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