890904">

Debian Bug report logs - #890904
diffoscope does not show classes.dex diff

version graph

Package: diffoscope; Maintainer for diffoscope is Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>; Source for diffoscope is src:diffoscope (PTS, buildd, popcon).

Reported by: Hans-Christoph Steiner <hans@eds.org>

Date: Tue, 20 Feb 2018 13:09:01 UTC

Severity: normal

Tags: moreinfo

Found in version diffoscope/90

Fixed in version diffoscope/92

Done: Chris Lamb <lamby@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#890904; Package diffoscope. (Tue, 20 Feb 2018 13:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to Hans-Christoph Steiner <hans@eds.org>:
New Bug report received and forwarded. Copy sent to Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>. (Tue, 20 Feb 2018 13:09:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Hans-Christoph Steiner <hans@eds.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: diffoscope does not show classes.dex diff
Date: Tue, 20 Feb 2018 14:04:18 +0100
Package: diffoscope
Version: 90~bpo9+1

Attached are two APKs that have different classes.dex files.  They are
the same size, but have different contents.  diffoscope does not show a
diff for them.  When I extract the classes.dex files from the APK, diff
and vbindiff do show the differences.

Here are the test files:
https://verification.f-droid.org/tmp/a2dp.Vol_137.apk
https://verification.f-droid.org/tmp/sigcp_a2dp.Vol_137.apk

And the report:
https://verification.f-droid.org/tmp/a2dp.Vol_137.apk.diffoscope.txt
https://verification.f-droid.org/tmp/a2dp.Vol_137.apk.diffoscope.html



No longer marked as found in versions diffoscope/90~bpo9+1. Request was from Mattia Rizzolo <mattia@debian.org> to control@bugs.debian.org. (Wed, 21 Feb 2018 18:09:08 GMT) (full text, mbox, link).


Marked as found in versions diffoscope/90. Request was from Mattia Rizzolo <mattia@debian.org> to control@bugs.debian.org. (Wed, 21 Feb 2018 18:09:09 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#890904; Package diffoscope. (Wed, 21 Feb 2018 22:00:05 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>. (Wed, 21 Feb 2018 22:00:05 GMT) (full text, mbox, link).


Message #14 received at 890904@bugs.debian.org (full text, mbox, > > Best wishes, > > -- > ,''`. > : :' : Chris Lamb > `. `'` lamby@debian.org / chris-lamb.co.uk > `- > > &References=<50a88c63-f16a-df2f-d619-32f77d1a0001@eds.org> <1519250161.428387.1278934360.482A38A7@webmail.messagingengine.com>&In-Reply-To=<1519250161.428387.1278934360.482A38A7@webmail.messagingengine.com>&subject=Re: Bug#890904: diffoscope does not show classes.dex diff">reply):

From: Chris Lamb <lamby@debian.org>
To: "Hans-Christoph Steiner" <hans@eds.org>, 890904@bugs.debian.org
Subject: Re: Bug#890904: diffoscope does not show classes.dex diff
Date: Wed, 21 Feb 2018 21:56:01 +0000
tags 890904 + moreinfo
thanks

Hey Hans-Christoph!

> Here are the test files:
> https://verification.f-droid.org/tmp/a2dp.Vol_137.apk
> https://verification.f-droid.org/tmp/sigcp_a2dp.Vol_137.apk

Thank you so much for the report. However, I can't seem to download these:

  $ wget --inet4-only https://verification.f-droid.org/tmp/a2dp.Vol_137.apk
  --2018-02-21 21:54:59--  https://verification.f-droid.org/tmp/a2dp.Vol_137.apk
  Resolving verification.f-droid.org (verification.f-droid.org)... 37.218.242.117
  Connecting to verification.f-droid.org (verification.f-droid.org)|37.218.242.117|:443... failed: No route to host.

In particular - is this a temporary thing, or did you perhaps link to an
"internal" URI by accident?


Best wishes,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Added tag(s) moreinfo. Request was from Chris Lamb <lamby@debian.org> to control@bugs.debian.org. (Wed, 21 Feb 2018 22:00:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#890904; Package diffoscope. (Mon, 26 Feb 2018 14:36:03 GMT) (full text, mbox, link).


Acknowledgement sent to Hans-Christoph Steiner <hans@eds.org>:
Extra info received and forwarded to list. Copy sent to Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>. (Mon, 26 Feb 2018 14:36:03 GMT) (full text, mbox, link).


Message #21 received at 890904@bugs.debian.org (full text, mbox, reply):

From: Hans-Christoph Steiner <hans@eds.org>
To: Chris Lamb <lamby@debian.org>, 890904@bugs.debian.org
Subject: Re: Bug#890904: diffoscope does not show classes.dex diff
Date: Mon, 26 Feb 2018 15:29:45 +0100
sorry, the server was down.  Its back up so you should be able to access
those links now.



Information forwarded to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#890904; Package diffoscope. (Thu, 01 Mar 2018 22:54:04 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>. (Thu, 01 Mar 2018 22:54:04 GMT) (full text, mbox, link).


Message #26 received at 890904@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: 890904@bugs.debian.org
Cc: "Hans-Christoph Steiner" <hans@eds.org>
Subject: Re: diffoscope does not show classes.dex diff
Date: Thu, 01 Mar 2018 22:51:13 +0000
tags 890904 + pending
thanks

Thanks for the report and updating us on the links. I've fixed
this in Git, now pending upload:

  https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=b692cbd610341532f3d9f69dcff0decde8cfcb9b


Best wishes,

-- 
      ,''`.
     : :'  :     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. (Thu, 01 Mar 2018 22:54:06 GMT) (full text, mbox, link).


Reply sent to Chris Lamb <lamby@debian.org>:
You have taken responsibility. (Thu, 22 Mar 2018 15:09:16 GMT) (full text, mbox, link).


Notification sent to Hans-Christoph Steiner <hans@eds.org>:
Bug acknowledged by developer. (Thu, 22 Mar 2018 15:09:16 GMT) (full text, mbox, link).


Message #33 received at 890904-close@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: 890904-close@bugs.debian.org
Subject: Bug#890904: fixed in diffoscope 92
Date: Thu, 22 Mar 2018 15:07:00 +0000
Source: diffoscope
Source-Version: 92

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 890904@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: Thu, 22 Mar 2018 10:28:44 -0400
Source: diffoscope
Binary: diffoscope
Built-For-Profiles: nocheck
Architecture: source all
Version: 92
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: 890904 891363 891903 892240 893183 893311 893324 893443
Changes:
 diffoscope (92) unstable; urgency=medium
 .
   [ Chris Lamb ]
 .
   * New features:
     - Show the list of supported file types in the manual and --help output. We
       can copy-paste this into the website, etc.. Thanks to Jonathan Dowland
       for the suggestion. (Closes: #893443)
     - Add support for comparing Gnumeric spreadsheets. (Closes: #893311)
 .
   * Bug fixes:
     - Additionally extract the classes.dex file from .apk files; apktool does
       not do this by default which was preventing us from recursing into it to
       find differences. Thanks to Hans-Christoph Steiner for the report.
       (Closes: #890904)
     - Recursively reset the permissions of temporary directories prior to
       deletion to ensure that non-writable permissions such as 0555 are removed
       and do not cause a traceback. (Closes: #891363)
     - Support the case where the python3-xattr package is installed but
       python3-pyxattr is not. Based on an patch by Doug Freed; thanks!
       (Closes: #892240)
     - Update Java tests for openjdk-9. (Closes: #893183)
 .
   * Output:
     - Print a nicer error message if you only specify one file to compare.
     - Don't show progress bar if we passed --debug as it just gets in the way.
 .
   * Code tidying:
     - Avoid some necessary indentation around unconditional control flow.
     - Tidy unnecessary assignments.
     - Move the documentation for maybe_decode into a docstring on the method
       itself.
     - Import LooseVersion as LooseVersion.
     - Use more Pythonic `old_level` variable names (over `oldLabel`) and avoid
       using ambiguous `l` variable names.
     - Add whitespace around operators and ensure 4-line indentation throughout.
 .
   * debian/*:
     - Move DOS/MBR check into the testsuite.
     - Add explicit runtime dependency on python3-distutils as it was dropped in
       src:python3.6 3.6.5~rc1-2.
 .
   * Misc:
     - Clarify that the Reproducible Builds project is not just about
     - Drop executable bit on doc/Makefile.
     - Use our bin/diffoscope wrapper in manpage generation to ensure we are
       using the local version of diffoscope.
 .
   [ Mattia Rizzolo ]
   * Update terminology used in docs about exclusion options. Thanks to Paul
     Wise for the idea. (Closes: #893324)
   * Don't try to decode a string in comparators.utils.file. (Closes: #891903)
   * Save a bunch of system calls by resetting tempfile permissions when
     we actually need to do it.
Checksums-Sha1:
 bf5454135e289dc72b6c90b701e236b4cf1aca96 3450 diffoscope_92.dsc
 4d2de0fd8ef3e408b3c9e0ef21424a8c13e19950 8941108 diffoscope_92.tar.xz
 26ca12fbbaac88d473ecefb8104d4970b5707bf7 119368 diffoscope_92_all.deb
 abb5d892ed2888c52b2ef71b211f6e7821e7f87d 6496 diffoscope_92_amd64.buildinfo
Checksums-Sha256:
 89825858473b26ef732bb12c0c63325ef292cc2d2c200a088d7a66e1bfe414cc 3450 diffoscope_92.dsc
 dc0ec115af492d91cc3512d71a0b0882847faa1319e381cdbbc4ec155d568e06 8941108 diffoscope_92.tar.xz
 e3b2e70a097f98b4c318dabf2dd09af84365d0e8c89a45f477dc1f4c91fa33d4 119368 diffoscope_92_all.deb
 fbcc092a28a5874a4b46b31e03a1f9b568363481d94953c4aaad67ac9bb47972 6496 diffoscope_92_amd64.buildinfo
Files:
 a91e7adac25c9b7a6a172ce72251327f 3450 devel optional diffoscope_92.dsc
 8e25a63003ead4b79ed3c1eb130a3470 8941108 devel optional diffoscope_92.tar.xz
 1859965190e58bd76231dcc9439d492b 119368 devel optional diffoscope_92_all.deb
 e0b84b217304d667e0ea353fd5a5d79c 6496 devel optional diffoscope_92_amd64.buildinfo

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

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlqzv4AACgkQHpU+J9Qx
HlgZ1g/9GQQhyCZFU3KETg6AjGkNGyNAjYYD2FqKAJyM0bb3o9Zyg5QWvVPxFYHf
CDaKAwMQn6yws908OEfDPWGQAtowFGMPAXab9ejy9IvyD8wGXJ9iBXzgwtOWUCD7
hvyTCBKGRNwH/LdCWNfX1sNFX+usLDB5mlZytlRZe+aOUN+MKuRzNnDhl7wt6EU9
LiXsjqxdYDMJgBCIMcOJ50q3r8RkFjK7YCHeROrwiMRd/YGIR2i9Ed+g/zIkd2pr
ztgwec9nebOmHmFbWc6bqzKMVSkmejSyOjbZmmudTg0sUKrRF1qO/b5z9kEezSL6
VxyZKHHvqXBgAuwspvluJ4HWLifsWtwOIyg5xrcAAeeGm/j8RoIP8UanOyXbm8Bk
3+MsuGwZJEuNC7y2eiGx/HvcE2R9KK9UJlbIFeKKp16AYbLIINGTMDlHiYo9ItTz
Q77N4sbjSgKIuyBf3qzoyL0luWODVB5bpht+iCJxrOVnNDE2u8xFBYG/wTSxpftA
5X3pj1vPYy+1ozBDddaxOQppoDc/DHCgp6PWAf1K1/FvqNqrOPFiBaEg+L7QMthT
ADXhzB0+z6JnPU92URh7a0/rw+5hfU4dxZElCFznQhDLf8U3NngsSpCfnY3OK3Uu
qknLgJERC2K6iJrhVB023yksPPxAeTH7L+0BDpXeXFReJ6ldOCg=
=CTQP
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 26 Apr 2018 07:25:31 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: Mon Feb 3 06:07:39 2025; Machine Name: buxtehude

Debian Bug tracking system

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/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.