Debian Bug report logs -
#940645
diffoscope: testsuite failure due to new binutils?
Reported by: Gianfranco Costamagna <locutusofborg@debian.org>
Date: Wed, 18 Sep 2019 09:30:02 UTC
Severity: serious
Found in version diffoscope/124
Fixed in version diffoscope/125
Done: Chris Lamb <lamby@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#940645; Package src:diffoscope.
(Wed, 18 Sep 2019 09:30:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Gianfranco Costamagna <locutusofborg@debian.org>:
New Bug report received and forwarded. Copy sent to Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>.
(Wed, 18 Sep 2019 09:30:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: diffoscope
Version: 124
Severity: serious
Hello, thanks for fixing the previous bug! it worked!
However, due to another change, there is now a new failure:
=================================== FAILURES ===================================
___________________________ test_libmix_differences ____________________________
libmix_differences = [<Difference file list -- file list []>, <Difference Mach-O.o -- Mach-O.o []>, <Difference return42_or_3_long_name.o -... [<Difference readelf --wide --decompress --hex-dump=.text {} -- readelf --wide --decompress --hex-dump=.text {} []>]>]
@skip_unless_tools_exist('readelf', 'objdump')
@skip_if_tool_version_is('readelf', readelf_version, '2.29')
@skip_if_binutils_does_not_support_x86()
def test_libmix_differences(libmix_differences):
assert len(libmix_differences) == 5
file_list, mach_o, x86_o, src_c, x_obj = libmix_differences
# Check order and basic identification
assert file_list.source1 == 'file list'
> assert "Falling back to binary" in mach_o.comments[0]
E AssertionError: assert 'Falling back to binary' in 'xxd not available in path. Falling back to Python hexlify.\n'
file_list = <Difference file list -- file list []>
libmix_differences = [<Difference file list -- file list []>,
<Difference Mach-O.o -- Mach-O.o []>,
<Difference return42_or_3_long_name.o -- return42_or_3_long_name.o [<Difference objdump --line-numbers --disassemble --demangle --reloc --section=.text {} -- objdump --line-numbers --disassemble --demangle --reloc --section=.text {} []>]>,
<Difference return42_or_3_long_name.c -- return42_or_3_long_name.c []>,
<Difference return42_or_3_long_name.obj -- return42_or_3_long_name.obj [<Difference readelf --wide --decompress --hex-dump=.text {} -- readelf --wide --decompress --hex-dump=.text {} []>]>]
mach_o = <Difference Mach-O.o -- Mach-O.o []>
src_c = <Difference return42_or_3_long_name.c -- return42_or_3_long_name.c []>
x86_o = <Difference return42_or_3_long_name.o -- return42_or_3_long_name.o [<Difference objdump --line-numbers --disassemble --demangle --reloc --section=.text {} -- objdump --line-numbers --disassemble --demangle --reloc --section=.text {} []>]>
x_obj = <Difference return42_or_3_long_name.obj -- return42_or_3_long_name.obj [<Difference readelf --wide --decompress --hex-dump=.text {} -- readelf --wide --decompress --hex-dump=.text {} []>]>
tests/comparators/test_elf.py:176: AssertionError
------------------------------ Captured log setup ------------------------------
elf.py 348 ERROR Command '['objdump', '--line-numbers', '--disassemble', '--demangle', '--reloc', '--section=.text', '/tmp/diffoscope_869gtrpp/tmpnb7vz781/0/8.obj']' returned non-zero exit status 1.
elf.py 361 ERROR Command '['objdump', '--disassemble', '--demangle', '--section=.text', '/tmp/diffoscope_869gtrpp/tmpnb7vz781/0/8.obj']' returned non-zero exit status 1.
=========================== short test summary info ============================
FAIL tests/comparators/test_elf.py::test_libmix_differences
Also, there seems to be a similar regression in Ubuntu i386
=================================== FAILURES ===================================
___________________________ test_libmix_differences ____________________________
libmix_differences = [<Difference nm -s {} -- nm -s {} []>, <Difference file list -- file list []>, <Difference Mach-O.o -- Mach-O.o []>, <... [<Difference readelf --wide --decompress --hex-dump=.text {} -- readelf --wide --decompress --hex-dump=.text {} []>]>]
@skip_unless_tools_exist('readelf', 'objdump')
@skip_if_tool_version_is('readelf', readelf_version, '2.29')
@skip_if_binutils_does_not_support_x86()
def test_libmix_differences(libmix_differences):
> assert len(libmix_differences) == 5
E assert 6 == 5
E + where 6 = len([<Difference nm -s {} -- nm -s {} []>, <Difference file list -- file list []>, <Difference Mach-O.o -- Mach-O.o []>, <... [<Difference readelf --wide --decompress --hex-dump=.text {} -- readelf --wide --decompress --hex-dump=.text {} []>]>])
libmix_differences = [<Difference nm -s {} -- nm -s {} []>,
<Difference file list -- file list []>,
<Difference Mach-O.o -- Mach-O.o []>,
<Difference return42_or_3_long_name.o -- return42_or_3_long_name.o [<Difference objdump --line-numbers --disassemble --demangle --reloc --section=.text {} -- objdump --line-numbers --disassemble --demangle --reloc --section=.text {} []>]>,
<Difference return42_or_3_long_name.c -- return42_or_3_long_name.c []>,
<Difference return42_or_3_long_name.obj -- return42_or_3_long_name.obj [<Difference readelf --wide --decompress --hex-dump=.text {} -- readelf --wide --decompress --hex-dump=.text {} []>]>]
tests/comparators/test_elf.py:171: AssertionError
------------------------------ Captured log setup ------------------------------
elf.py 348 ERROR Command '['objdump', '--line-numbers', '--disassemble', '--demangle', '--reloc', '--section=.text', '/tmp/diffoscope_hdw4ojmp/tmphb9j11m6/0/8.obj']' returned non-zero exit status 1.
elf.py 361 ERROR Command '['objdump', '--disassemble', '--demangle', '--section=.text', '/tmp/diffoscope_hdw4ojmp/tmphb9j11m6/0/8.obj']' returned non-zero exit status 1.
=========================== short test summary info ============================
FAIL tests/comparators/test_elf.py::test_libmix_differences
SKIP [1] tests/test_presenters.py:154: requires compare (try installing imagemagick) and convert (try installing imagemagick) and sng (try installing sng)
G.
Message sent on
to Gianfranco Costamagna <locutusofborg@debian.org>:
Bug#940645.
(Wed, 18 Sep 2019 09:48:03 GMT) (full text, mbox, link).
Message #8 received at 940645-submitter@bugs.debian.org (full text, mbox, reply):
Control: tag -1 pending
Hello,
Bug #940645 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/7ddebfdc67a7f8ec5eee0b045c90c5b8ae6230d9
------------------------------------------------------------------------
The test_libmix_differences ELF test requires xxd. (Closes: #940645)
------------------------------------------------------------------------
(this message was generated automatically)
--
Greetings
https://bugs.debian.org/940645
Added tag(s) pending.
Request was from Chris Lamb <lamby@debian.org>
to 940645-submitter@bugs.debian.org.
(Wed, 18 Sep 2019 09:48:04 GMT) (full text, mbox, link).
Reply sent
to Chris Lamb <lamby@debian.org>:
You have taken responsibility.
(Wed, 18 Sep 2019 09:51:07 GMT) (full text, mbox, link).
Notification sent
to Gianfranco Costamagna <locutusofborg@debian.org>:
Bug acknowledged by developer.
(Wed, 18 Sep 2019 09:51:07 GMT) (full text, mbox, link).
Message #15 received at 940645-close@bugs.debian.org (full text, mbox, reply):
Source: diffoscope
Source-Version: 125
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 940645@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, 18 Sep 2019 11:44:57 +0200
Source: diffoscope
Built-For-Profiles: nocheck
Architecture: source
Version: 125
Distribution: unstable
Urgency: medium
Maintainer: Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Closes: 940645
Changes:
diffoscope (125) unstable; urgency=medium
.
* The test_libmix_differences ELF test requires xxd. (Closes: #940645)
Checksums-Sha1:
155d07208fb88c1997e46b7e09f962b7a28cd17d 4683 diffoscope_125.dsc
22dd5bd37fa3c642884fb8dae5690a79ac1de5db 1130156 diffoscope_125.tar.xz
815dc07189c049d68d2ca825b4734b73cfc89576 6651 diffoscope_125_amd64.buildinfo
Checksums-Sha256:
3d03f12aeb5d8970a1c2ed6df0689773b939f9f005b1e6ea222faa7dbb911d2b 4683 diffoscope_125.dsc
5e1bd49e6d3d66fa15bececea7196b585e9eb08cb5deec94208f52584bf49f11 1130156 diffoscope_125.tar.xz
44a0a73fc5e4565e2ac3d3ec953da5d82f12f10ec1aca2915996b2e84e058699 6651 diffoscope_125_amd64.buildinfo
Files:
88fe1b9793fae6bfbe9cf42151f81fa8 4683 devel optional diffoscope_125.dsc
3ec4839630ae20b2cd6a0257a445c02a 1130156 devel optional diffoscope_125.tar.xz
b701d5bc92b07a96d981c33675b891be 6651 devel optional diffoscope_125_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAl2B/SQACgkQHpU+J9Qx
HlgMEQ//UoL++dUdWkiIxowI0i5TdvFvicEr6V4DmDgZ0V93IQs1Fbz/1vG4l2p7
TZAizTw7ZzfMvShDSFAJIW+GRjUpuEAYWp0RLtazVcjr+hnYqA1CPsuTidUm2RkG
VdeRN4jMurs7nvdfSadYnKPEREwN9gmqos6yPcpCX+r0Q/JauiSX9rsOly5Yjvjp
tDczR9gEaOZ48y0JpCVIf6xUrWcw6uZIEkqShgMG9uAt6CtSuzUmwcHAjHL405c+
DEuRF1iQg+E7iUlTRtX/STpUJGUpMl2ZkVheZV+Z/z4Tyf2zL8uIAKV5ImEmrW7/
OMmA7WvGWKCk2RO1nG4B3mC5iDEK1l+ukswqotm+aGBl/1islm3hrx110cTsjnH/
7q3CxXlZVOl8uZ5Hq5EbCOAeK/S5JdYnySPi9zhmdkv40Oj8pG/WQrX38IzCb9Fv
0ZGB5ye8EXVerkISpNuPH0WKs46hi/6Rh6+jVMA9cuflozSVh+dPGNBkzVN3G6cT
tvX4J5ieDqvWyHgThuCK+skT3Dz1Kg3pjDWpODZ4PHVcfVCTB6mlJajelLBRRSPX
AHRKoNHcugjhDS5uzZMoaczsBOrLdd4O9kv4M4PBEN/fGh0JOtaaysNz2QUASRy3
NLsMG5DJkcAx3ESNhgiyVw6UfNxb4P9rruHy8g23JLNqzEPR4pY=
=rmKt
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 17 Oct 2019 07:28:49 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 09:36:25 2023;
Machine Name:
bembo
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.