Acknowledgement sent
to Paul Wise <pabs@debian.org>:
New Bug report received and forwarded. Copy sent to Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>.
(Thu, 21 Jun 2018 03:15:04 GMT) (full text, mbox, link).
Package: diffoscope
Version: 96
Severity: normal
Usertags: crash
diffoscope crashes when comparing ext4 filesystems:
$ truncate -s 1M foo.ext4.initial
$ /sbin/mkfs.ext4 foo.ext4.initial
mke2fs 1.44.2 (14-May-2018)
Filesystem too small for a journal
Discarding device blocks: done
Creating filesystem with 1024 1k blocks and 128 inodes
Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
$ cp foo.ext4.initial foo.ext4.mount
$ mkdir foo.ext4.mountdir
$ sudo mount foo.ext4.mount foo.ext4.mountdir
$ sudo umount foo.ext4.mountdir
$ diffoscope foo.ext4.initial foo.ext4.mount
Traceback (most recent call last):#####################################################################################################| 100% ETA: 0:00:00
File "/usr/lib/python3/dist-packages/diffoscope/main.py", line 460, in main
sys.exit(run_diffoscope(parsed_args))
File "/usr/lib/python3/dist-packages/diffoscope/main.py", line 432, in run_diffoscope
difference = compare_root_paths(path1, path2)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 68, in compare_root_paths
difference = compare_files(file1, file2)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 118, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 366, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 321, in _compare_using_details
other.as_container, no_recurse=no_recurse))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/container.py", line 131, in comparisons
my_members = OrderedDict(self.get_adjusted_members_sizes())
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/container.py", line 127, in get_adjusted_members_sizes
size = path_apparent_size(member.path)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/archive.py", line 99, in path
self._name, self._temp_dir.name)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/fsimage.py", line 74, in extract
self.g.tar_out('/', dest_path)
AttributeError: 'FsImageContainer' object has no attribute 'g'
-- System Information:
Debian Release: buster/sid
APT prefers testing-debug
APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages diffoscope depends on:
ii libpython3.6-stdlib 3.6.6~rc1-1
ii python3 3.6.5-3
ii python3-distro 1.0.1-2
ii python3-distutils 3.6.5-4
ii python3-libarchive-c 2.1-3.1
ii python3-magic 2:0.4.15-1
ii python3-pkg-resources 39.1.0-1
Versions of packages diffoscope recommends:
ii abootimg 0.6-1+b2
ii acl 2.2.52-3+b1
ii apktool 2.3.3-1
ii binutils-multiarch 2.30-21
ii bzip2 1.0.6-8.1
ii caca-utils 0.99.beta19-2+b3
ii colord 1.3.3-2
ii db-util 5.3.1
ii default-jdk [java-sdk] 2:1.10-67
ii default-jdk-headless 2:1.10-67
pn device-tree-compiler <none>
pn docx2txt <none>
ii e2fsprogs 1.44.2-1
ii enjarify 1:1.0.3-4
ii fontforge-extras 0.3-4
pn fp-utils <none>
ii genisoimage 9:1.1.11-3+b2
ii gettext 0.19.8.1-6+b1
ii ghc 8.0.2-11
ii ghostscript 9.22~dfsg-2.1
ii giflib-tools 5.1.4-3
ii gnumeric 1.12.39-1
ii imagemagick 8:6.9.9.39+dfsg-1
ii imagemagick-6.q16 [imagemagick] 8:6.9.9.39+dfsg-1
ii jsbeautifier 1.6.4-7
pn libarchive-tools <none>
ii llvm 1:4.0-40
pn mono-utils <none>
pn odt2txt <none>
pn oggvideotools <none>
ii openjdk-10-jdk [java-sdk] 10.0.1+10-4
ii openssh-client 1:7.7p1-2
ii pgpdump 0.31-0.2
ii poppler-utils 0.63.0-2
pn procyon-decompiler <none>
ii python3-argcomplete 1.8.1-1
ii python3-binwalk 2.1.1-16
ii python3-debian 0.1.32
pn python3-defusedxml <none>
pn python3-guestfs <none>
ii python3-jsondiff 1.1.1-2
ii python3-progressbar 2.3-4
ii python3-pyxattr 0.6.0-2+b1
ii python3-tlsh 3.4.4+20151206-1+b3
pn r-base-core <none>
ii sng 1.1.0-1+b1
ii sqlite3 3.24.0-1
ii squashfs-tools 1:4.3-6
ii tcpdump 4.9.2-3
ii unzip 6.0-21
ii vim-common 2:8.0.1766-1
pn xmlutils <none>
ii xxd 2:8.0.1766-1
ii xz-utils 5.2.2-1.3
Versions of packages diffoscope suggests:
ii libjs-jquery 3.2.1-1
-- no debconf information
--
bye,
pabs
https://wiki.debian.org/PaulWise
Information forwarded
to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>: Bug#901982; Package diffoscope.
(Sat, 15 Dec 2018 15:04:54 GMT) (full text, mbox, link).
Acknowledgement sent
to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>.
(Sat, 15 Dec 2018 15:04:54 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>: Bug#901982; Package diffoscope.
(Sat, 19 Jan 2019 22:03:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Cyril Brulebois <kibi@debian.org>:
Extra info received and forwarded to list. Copy sent to Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>.
(Sat, 19 Jan 2019 22:03:02 GMT) (full text, mbox, link).
Hi,
Paul Wise <pabs@debian.org> (2018-06-21):
> $ diffoscope foo.ext4.initial foo.ext4.mount
> Traceback (most recent call last):#####################################################################################################| 100% ETA: 0:00:00
> File "/usr/lib/python3/dist-packages/diffoscope/main.py", line 460, in main
> sys.exit(run_diffoscope(parsed_args))
> File "/usr/lib/python3/dist-packages/diffoscope/main.py", line 432, in run_diffoscope
> difference = compare_root_paths(path1, path2)
> File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 68, in compare_root_paths
> difference = compare_files(file1, file2)
> File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 118, in compare_files
> return file1.compare(file2, source)
> File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 366, in compare
> difference = self._compare_using_details(other, source)
> File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 321, in _compare_using_details
> other.as_container, no_recurse=no_recurse))
> File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/container.py", line 131, in comparisons
> my_members = OrderedDict(self.get_adjusted_members_sizes())
> File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/container.py", line 127, in get_adjusted_members_sizes
> size = path_apparent_size(member.path)
> File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/archive.py", line 99, in path
> self._name, self._temp_dir.name)
> File "/usr/lib/python3/dist-packages/diffoscope/comparators/fsimage.py", line 74, in extract
> self.g.tar_out('/', dest_path)
> AttributeError: 'FsImageContainer' object has no attribute 'g'
FWIW I'm also seeing this in unstable when trying to compare two
boot.img.gz files produced as part of a debian-installer builder:
(sid-amd64-devel)kibi@wodi:~/debian-installer$ diffoscope d-i-[89]/extract/installer-amd64/20190119/images/hd-media/boot.img.gz
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/diffoscope/main.py", line 504, in main
sys.exit(run_diffoscope(parsed_args))
File "/usr/lib/python3/dist-packages/diffoscope/main.py", line 476, in run_diffoscope
difference = compare_root_paths(path1, path2)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 68, in compare_root_paths
difference = compare_files(file1, file2)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 118, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 370, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 325, in _compare_using_details
other.as_container, no_recurse=no_recurse))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/container.py", line 179, in compare_pair
file1, file2, source=None, diff_content_only=no_recurse)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 118, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 370, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 325, in _compare_using_details
other.as_container, no_recurse=no_recurse))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/container.py", line 131, in comparisons
my_members = OrderedDict(self.get_adjusted_members_sizes())
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/container.py", line 127, in get_adjusted_members_sizes
size = path_apparent_size(member.path)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/archive.py", line 99, in path
self._name, self._temp_dir.name)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/fsimage.py", line 74, in extract
self.g.tar_out('/', dest_path)
AttributeError: 'FsImageContainer' object has no attribute 'g'
This is with diffoscope 108.
Interestingly, my host using stretch-backports's version (108~bpo9+1)
doesn't seem affected. Might this be related to missing, external tools?
My sid chroot reports:
External-Tools-Required: Rscript, apktool, bsdtar, cbfstool, cd-iccdump, compare, convert, docx2txt, enjarify, fdtdump, ghc, gifbuild, identify, img2txt, js-beautify, lipo, llvm-bcanalyzer, llvm-dis, odt2txt, oggDump, otool, pdftotext, pedump, pgpdump, ppudump, showttf, sng, sqlite3, tcpdump, unsquashfs, wasm2wat
Available-in-Debian-packages: apktool, caca-utils, colord, device-tree-compiler, docx2txt, enjarify, fontforge-extras, fp-utils, ghc, giflib-tools, imagemagick, jsbeautifier, libarchive-tools, llvm, mono-utils, odt2txt, oggvideotools, pgpdump, poppler-utils, r-base-core, sng, sqlite3, squashfs-tools, tcpdump
while my stretch(+backports) host reports:
External-Tools-Required: cbfstool, lipo, otool, tcpdump, wasm2wat
Available-in-Debian-packages: tcpdump
or could it be due to being used within a schroot session?
Cheers,
--
Cyril Brulebois (kibi@debian.org) <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
Subject: Bug #901982 in diffoscope marked as pending
Date: Sun, 20 Jan 2019 23:35:28 +0000
Control: tag -1 pending
Hello,
Bug #901982 in diffoscope reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:
https://salsa.debian.org/reproducible-builds/diffoscope/commit/dda771308ce89d926ab4c7caf2c4ba3e9e13a4ed
------------------------------------------------------------------------
Don't crash with if we were unable to successfully extract a "guestfs"-based file. (Closes: #901982)
------------------------------------------------------------------------
(this message was generated automatically)
--
Greetings
https://bugs.debian.org/901982
Added tag(s) pending.
Request was from Chris Lamb <lamby@debian.org>
to 901982-submitter@bugs.debian.org.
(Sun, 20 Jan 2019 23:39:08 GMT) (full text, mbox, link).
Reply sent
to Chris Lamb <lamby@debian.org>:
You have taken responsibility.
(Wed, 06 Feb 2019 16:51:03 GMT) (full text, mbox, link).
Notification sent
to Paul Wise <pabs@debian.org>:
Bug acknowledged by developer.
(Wed, 06 Feb 2019 16:51:03 GMT) (full text, mbox, link).
Source: diffoscope
Source-Version: 110
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 901982@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Lamb <lamby@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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 06 Feb 2019 17:33:09 +0100
Source: diffoscope
Binary: diffoscope
Architecture: source all
Version: 110
Distribution: unstable
Urgency: medium
Maintainer: Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Description:
diffoscope - in-depth comparison of files, archives, and directories
Closes: 901982920701
Changes:
diffoscope (110) unstable; urgency=medium
.
[ Chris Lamb ]
* Don't look for adjacent -dbgsym package files automatically anymore to
align better with default user expectations. The existing behaviour can be
re-enabled by specifying the new `--use-dbgsym` flag. (Closes: #920701)
* Don't crash with if we were unable to successfully extract a
"guestfs"-based file. (Closes: #901982)
* Avoid clumsy profiling title length calculations by moving to Markdown
syntax, from reStructuredText.
* Drop printing out dpkg-query output when running tests: it's rather noisy
and has not helped yet in reproducing an error.
* Re-enable gnumeric as a Build-Depends.
* debian/rules: Use str.format over "+" for string concatenation.
.
[ Jelle van der Waa ]
* comparators.wasm: Remove an unused "re" import. (MR: !18)
.
[ Mattia Rizzolo ]
* comparators/elf: Apply flake8.
Checksums-Sha1:
aee6af7f73e0a00d0f05f12d2e36f15df8d933d9 4450 diffoscope_110.dsc
4a6a7585a24c596b588d413e01902a251388c080 9279224 diffoscope_110.tar.xz
0ca54df42dfb09160fa7e512c7c4b4dad520e262 126648 diffoscope_110_all.deb
8854b6cfbbb4f13e9471308cce32cba27815e566 21986 diffoscope_110_amd64.buildinfo
Checksums-Sha256:
452a9a9496745f2d59d8188c35e4b4b0c974b513d45c9fd92036dccbc2211bb0 4450 diffoscope_110.dsc
19f7ef5507c712ecf48326ac17abd46d8ed2a1de3ffa373f1e983f04edc3e1aa 9279224 diffoscope_110.tar.xz
56dc447e4e9eef333f524854fa4e4e7105031ab6da0938ef16fd18f0e95a1df2 126648 diffoscope_110_all.deb
1341ad9ae314fb5457f6554737834d7e10f2d783340e40e23669b0df0d9d05a4 21986 diffoscope_110_amd64.buildinfo
Files:
6a34e603f60f896440c8f7d0e226092b 4450 devel optional diffoscope_110.dsc
adcc63a5d2672027ed8b408e4cf95fde 9279224 devel optional diffoscope_110.tar.xz
5056c6ff5bfa2d8449f1ec70318ce3d9 126648 devel optional diffoscope_110_all.deb
25bb944db5150af9ea89f58afa7b5968 21986 devel optional diffoscope_110_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlxbD0cACgkQHpU+J9Qx
Hlj2BQ//SC7fg4WRB6Nve5gJl1H+uM7VRqumlDNzzr6Fm8SdSeYgEIIJyFLOsP+d
1Yn7tgKMZUjYVWz1edYOnPJR5eYot+fha+ftiojWYsYPy6Vq4UbD0e8msVJoi11C
25YsuEl1qTDq0w4Vqa4qr55zli496BJQEZghC+UDCwA/v4AJ313wh3CQYyd8Gk4T
ewctlta9ZTJQA5jYCfx0BRB/2rmj1x3iDl23+tt8hwjTONxG+PMsFoEK9cPo0eaw
6f2zQAEbK1hzBoCDoFtSawUKkDBa13j9gZ6noGjWALvJsuVPwSb/oQV45w3gLQR+
MQM/cr2F6u0Tc0MxyUE4Hdg7VYcEFPfDQO+P/DDRxjAMbKiU6+tEFMqHzAxoecvy
CvsHc7+Ah/3AMp3cBd3S2XHoGOiprWRpRFdFEM3lusMMh4jI96OGwDaX0e+8VQy1
vYhMiQzqGNDA/7KIjP6jtWJbYQCLdXIHfGdlwpKLWXQJuw+higAokcvzB2zZA66D
OyqRqXIs3aewJQr2/6TjrBApTVhPvue5DIkivzlRhh3uMDNL3tRoTILaNQBcucJP
C7Ef1uqgWyLwzvxZ9RV0SxsdfHBc/Hd3n9pEJyIZpwCddFW7HhM3BKBm5xxjkBwI
fIz5JvWAukGrnwAap3QGySfkqKgBnpNCVK4PTKxQKmsTdsFDepo=
=ASkp
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 09 Mar 2019 07:34:24 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.