Your message dated Wed, 06 Feb 2019 16:49:27 +0000
with message-id <[email protected]>
and subject line Bug#920701: fixed in diffoscope 110
has caused the Debian Bug report #920701,
regarding diffoscope: Please document and allow to disable automatic inclusion 
of dbgsym packages
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 [email protected]
immediately.)


-- 
920701: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920701
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: diffoscope
Version: 108
Severity: wishlist

Hi,

steps to reproduce:

Input: two directories dirA and dirB with some sbuild build artifacts,
so .changes file, .buildinfo file, .deb and .dbgsym packages.

Command: diffoscope dirA/foo.deb dirB/foo.deb

Expectation: diffoscope accesses dirA/foo.deb and dirB/foo.deb and
recursively analyses its content to show the differences.

Reality: diffoscope tries to be clever and also accesses dirA/foo.dbgsym
and dirB/foo.dbgsym in addition to the explicitly specified input files
in an attempt to produce more useful output.

The problems are:

 - I assume that most people would expect that if they give two files to
   a "diff" command, then that command will only use these two files as
   input and will not implicitly add other files.

 - If I wanted diffoscope to also consider the .dbgsym packages, then I
   would've given diffoscope the .changes file and not the .deb files
   directly

 - I have a package with a 180 MB .dbgsym package. I cancelled
   diffoscope after it was running for over two hours.  Even when I add
   --exclude-command=objdump, diffoscope will still take 3 minutes,
   because extracting two 180 MB xz-archives takes a while. Only when I
   copy the .deb packages elsewhere, is diffoscope done in 1.5 minutes.

 - This behaviour is not documented

 - This behaviour cannot be switched off

I suggest to at least:

 - document this behaviour because I find it extremely unexpected for a
   diff program to consider other input files outside the ones that were
   explicitly specified

 - add an option to switch off this behaviour because I don't want to
   always have to copy my .deb packages elsewhere to achieve reasonable
   runtimes

Though personally I would instead remove this magic completely or change
the default for the following reasons:

 - even if it's documented, the current default behaviour is still
   unexpected for a diff program

 - if the user wants diffoscope to consider the .dbgsym packages, then
   they can just ask for a comparison of the .changes file instead

 - after it has been switched off by default, there could be a command
   line argument to switch this behaviour on for the users who want or
   need it

Thanks!

cheers, josch

--- End Message ---
--- Begin Message ---
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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <[email protected]> (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 [email protected])


-----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 
<[email protected]>
Changed-By: Chris Lamb <[email protected]>
Description:
 diffoscope - in-depth comparison of files, archives, and directories
Closes: 901982 920701
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-----

--- End Message ---
_______________________________________________
Reproducible-builds mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to