Debian Bug report logs -
#855239
diffoscope: Tests that call xxd fail on jessie due to output change
Reported by: Brett Smith <debbug@brettcsmith.org>
Date: Wed, 15 Feb 2017 20:51:04 UTC
Severity: minor
Tags: upstream
Fixed in version diffoscope/78
Done: Mattia Rizzolo <mattia@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, debbug@brettcsmith.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#855239; Package diffoscope.
(Wed, 15 Feb 2017 20:51:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Brett Smith <debbug@brettcsmith.org>:
New Bug report received and forwarded. Copy sent to debbug@brettcsmith.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>.
(Wed, 15 Feb 2017 20:51:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: diffoscope
Severity: minor
Tags: upstream
Dear Maintainer,
In jessie, xxd outputs one less digit in the line address listing than
expected. This causes tests that call xxd to fail because the output does
not exactly match the output of xxd that was use to generate the expected
diff. Here's an example test session output:
__________________________ test_diff ____________________________________
differences = <Difference /dev/null -- /home/brett/repos/diffoscope/tests/comparators/../data/text_ascii1 []>
@skip_unless_tools_exist('xxd')
def test_diff(differences):
expected_diff = get_data('device_expected_diff')
> assert differences.unified_diff == expected_diff
E assert '@@ -1,3 +1,2...t laborum..\n' == '@@ -1,3 +1,28...t laborum..\n'
E @@ -1,3 +1,28 @@
E - -0000000: 6465 7669 6365 3a63 6861 7261 6374 6572 device:character
E + -00000000: 6465 7669 6365 3a63 6861 7261 6374 6572 device:character
E ? +
E - -0000010: 0a6d 616a 6f72 3a20 310a 6d69 6e6f 723a .major: 1.minor:
E + -00000010: 0a6d 616a 6f72 3a20 310a 6d69 6e6f 723a .major: 1.minor:
E ? +
E - -0000020: 2033 0a 3.
E + -00000020: 2033 0a 3.
E Detailed information truncated (85 more lines), use "-vv" to show
tests/comparators/test_device.py:50: AssertionError
test_device.test_diff_reverse and test_rpm.test_fallback_comparison fail for
the same reason.
-- System Information:
Debian Release: 8.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Information forwarded
to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#855239; Package diffoscope.
(Sat, 18 Feb 2017 01:54:02 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, 18 Feb 2017 01:54:03 GMT) (full text, mbox, link).
Message #10 received at 855239@bugs.debian.org (full text, mbox, reply):
tags 855239 + pending
thanks
Fixed in Git:
https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=46d9c87391fe40eb978244675b43b4bc82abd033
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
Added tag(s) pending.
Request was from Chris Lamb <lamby@debian.org>
to control@bugs.debian.org.
(Sat, 18 Feb 2017 01:54:04 GMT) (full text, mbox, link).
Reply sent
to Mattia Rizzolo <mattia@debian.org>:
You have taken responsibility.
(Sun, 26 Feb 2017 21:06:11 GMT) (full text, mbox, link).
Notification sent
to Brett Smith <debbug@brettcsmith.org>:
Bug acknowledged by developer.
(Sun, 26 Feb 2017 21:06:11 GMT) (full text, mbox, link).
Message #17 received at 855239-close@bugs.debian.org (full text, mbox, reply):
Source: diffoscope
Source-Version: 78
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 855239@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mattia Rizzolo <mattia@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: SHA512
Format: 1.8
Date: Sun, 26 Feb 2017 17:26:48 +0100
Source: diffoscope
Binary: diffoscope
Architecture: source
Version: 78
Distribution: unstable
Urgency: medium
Maintainer: Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>
Changed-By: Mattia Rizzolo <mattia@debian.org>
Description:
diffoscope - in-depth comparison of files, archives, and directories
Closes: 855169 855233 855239
Changes:
diffoscope (78) unstable; urgency=medium
.
[ Brett Smith ]
* comparators.json:
+ Catch bad JSON errors on Python pre-3.5. Closes: #855233
.
[ Chris Lamb ]
* tests:
+ Move normalize_zeros to more generic `utils.data` module.
+ Fix tests that call xxd fail on jessie due to output change.
Closes: #855239
.
[ Ed Maste ]
* comparators.directory:
+ Assume BSD-style stat(1) on FreeBSD. Closes: #855169
Checksums-Sha1:
dbca0cf40169c42e079c2c1c1e4199d15b423b5e 2972 diffoscope_78.dsc
6502474142f19b2394d70b8d8937152f897d85bb 349612 diffoscope_78.tar.xz
3da2126418e31dae8bd7a7e46ed78f5879ee8cc7 16205 diffoscope_78_amd64.buildinfo
Checksums-Sha256:
b45d7e2c6fccf9ccd52dc3c5cb7cef263b3eba378d790e9357b41ac0407b7d3f 2972 diffoscope_78.dsc
6ae6a46123d5ce97062a24e94cd3e9aab15d8297019fa5a0830c46934ab54d52 349612 diffoscope_78.tar.xz
4f8756aababb01106afaa322516769f33d791f6e9821e62eb479440e0adc9b7c 16205 diffoscope_78_amd64.buildinfo
Files:
ab383677f26b502dd0483c282aa31f9d 2972 devel optional diffoscope_78.dsc
222ea64cc6c31a32372fce5eef028128 349612 devel optional diffoscope_78.tar.xz
9639240d6f28ed0772efc8baf04b9748 16205 devel optional diffoscope_78_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAlizODUACgkQCBa54Yx2
K63CYg//UJjqls2B6UsRJ4VkYvNkzMtptLfJdxNICpe6sjJZvxXA7I1ZbivVCnTi
ziTxG/KQYmLPyzzP17/TX8pYRHpOp0kXeZBQSZwOHAoWZk06rht8J0jJI6f6rWC8
brtLJTRoELCU1KtL/FuWhFpypXnQCnoyhuRtXWxPJbhwVwIP6LAB729Wlj76vlRq
yOcydhT19jf+0dNHHX5I3w5HgCAzW6CnJ10TI1fgDHOi41q97ev+XhJiqvlQ8QlA
e+SY4MXF12gSPHgybNGO86w92i+b7P9W0Blqq3wuuOgUPDJNSs0+5Q90ptcPOQDV
MiJBV8CiusPmtyuXZPHd6YpVTIz68t+3oOjk8/7idO1fVsSfX++sMOm2y/tCbssL
QvIvLG6WluqFXRgqpf75Z7rDUKHl1p6J/084K7hH78Sx5QtaZB1hPKE79V9SufST
onHloqVxxp78/3ZPzXB7Ze93oCklANf4CDnSn3H+fg6mLwFXNZEMT927TgxwFrdG
82XVcVx6+Ft3byYPee1GxhkTHVkTJU88UtkSxaedpaLNKlCAtibXwoJHpmeM6pPF
kRUiZ2dlYJRZhYn4PCk1bJfoEuTB3rvmYckxqrebZllWTwDuvDfXXZnUVytj+Aj+
1YMysy6XTLWVkBO5c03yKrrhDtcWkmEe/3sF3Mdp/tCNHvUeXao=
=kWZp
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 01 Apr 2017 07:27:34 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 13:51:05 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.