Debian Bug report logs - #893183
diffoscope FTBFS with openjdk-9

version graph

Package: src:diffoscope; Maintainer for src:diffoscope is Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>;

Reported by: Adrian Bunk <bunk@debian.org>

Date: Sat, 17 Mar 2018 08:33:08 UTC

Severity: serious

Found in version diffoscope/91

Fixed in version diffoscope/92

Done: Chris Lamb <lamby@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

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#893183; Package src:diffoscope. (Sat, 17 Mar 2018 08:33:11 GMT) (full text, mbox, link).


Acknowledgement sent to Adrian Bunk <bunk@debian.org>:
New Bug report received and forwarded. Copy sent to Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>. (Sat, 17 Mar 2018 08:33:11 GMT) (full text, mbox, link).


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

From: Adrian Bunk <bunk@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: diffoscope FTBFS with openjdk-9
Date: Sat, 17 Mar 2018 10:25:53 +0200
Source: diffoscope
Version: 91
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope.html

...
_______________________________ test_diff_javap ________________________________

differences_javap = [<Difference javap -verbose -constants -s -l -private {} -- javap -verbose -constants -s -l -private {} []>]

    @skip_unless_tool_is_at_least('javap', javap_version, '1.8')
    def test_diff_javap(differences_javap):
>       diff(differences_javap, 'javap_class_expected_diff')

differences_javap = [<Difference javap -verbose -constants -s -l -private {} -- javap -verbose -constants -s -l -private {} []>]

tests/comparators/test_java.py:84: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

differences = [<Difference javap -verbose -constants -s -l -private {} -- javap -verbose -constants -s -l -private {} []>]
expected_diff_file = 'javap_class_expected_diff'

    def diff(differences, expected_diff_file):
        expected_diff = get_data(expected_diff_file)
>       assert differences[0].unified_diff == expected_diff
E       assert '@@ -34,13 +3..."Test.java"\n' == '@@ -31,13 +31..."Test.java"\n'
E         - @@ -34,13 +34,13 @@
E         ?      ^      ^
E         + @@ -31,13 +31,13 @@
E         ?      ^      ^
E                    line 1: 0
E            
E              public static int main(java.lang.String[]);
E                descriptor: ([Ljava/lang/String;)I
E         -      flags: (0x0009) ACC_PUBLIC, ACC_STATIC
E         ?            ---------
E         +      flags: ACC_PUBLIC, ACC_STATIC
E                Code:
E                  stack=1, locals=1, args_size=1
E           -         0: bipush        42
E           -         2: ireturn
E           +         0: iconst_m1
E           +         1: ireturn
E                  LineNumberTable:
E                    line 3: 0
E            }
E            SourceFile: "Test.java"

differences = [<Difference javap -verbose -constants -s -l -private {} -- javap -verbose -constants -s -l -private {} []>]
expected_diff = '@@ -31,13 +31,13 @@\n         line 1: 0\n \n   public static int main(java.lang.String[]);\n     descriptor: ([Ljava/...       0: iconst_m1\n+         1: ireturn\n       LineNumberTable:\n         line 3: 0\n }\n SourceFile: "Test.java"\n'
expected_diff_file = 'javap_class_expected_diff'

tests/comparators/test_java.py:66: AssertionError
------------------------------ Captured log setup ------------------------------
__init__.py                127 DEBUG    Loaded 65 comparator classes
specialize.py               40 DEBUG    Using ClassFile for /build/1st/diffoscope-91/.pybuild/cpython3_3.6/build/tests/data/Test1.class
specialize.py               40 DEBUG    Using ClassFile for /build/1st/diffoscope-91/.pybuild/cpython3_3.6/build/tests/data/Test2.class
command.py                  38 DEBUG    Executing javap -verbose -constants -s -l -private /build/1st/diffoscope-91/.pybuild/cpython3_3.6/build/tests/data/Test1.class
command.py                  38 DEBUG    Executing javap -verbose -constants -s -l -private /build/1st/diffoscope-91/.pybuild/cpython3_3.6/build/tests/data/Test2.class
diff.py                    177 DEBUG    Running diff -aU7 /tmp/tmpff97aoah_diffoscope/fifo1 /tmp/tmpff97aoah_diffoscope/fifo2
diff.py                    193 DEBUG    diff -aU7 /tmp/tmpff97aoah_diffoscope/fifo1 /tmp/tmpff97aoah_diffoscope/fifo2: returncode 1, parsed True
============== 2 failed, 364 passed, 18 skipped in 992.92 seconds ==============
E: pybuild pybuild:323: test: plugin distutils failed with: exit code=1: cd /build/1st/diffoscope-91/.pybuild/cpython3_3.6/build; python3.6 -m pytest -vv -r sxX -l --cov=diffoscope --cov-report=term-missing --cov-report=html
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.6 returned exit code 13
make: *** [debian/rules:35: binary] Error 25



Information forwarded to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#893183; Package src:diffoscope. (Sun, 18 Mar 2018 00:57:03 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>. (Sun, 18 Mar 2018 00:57:03 GMT) (full text, mbox, link).


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

From: Chris Lamb <lamby@debian.org>
To: 893183@bugs.debian.org
Cc: Adrian Bunk <bunk@debian.org>
Subject: Re: diffoscope FTBFS with openjdk-9
Date: Sun, 18 Mar 2018 00:52:08 +0000
tags 893183 + pending
thanks

Fixed in Git, pending upload:

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


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. (Sun, 18 Mar 2018 00:57:05 GMT) (full text, mbox, link).


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


Notification sent to Adrian Bunk <bunk@debian.org>:
Bug acknowledged by developer. (Thu, 22 Mar 2018 15:09:27 GMT) (full text, mbox, link).


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

From: Chris Lamb <lamby@debian.org>
To: 893183-close@bugs.debian.org
Subject: Bug#893183: 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 893183@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. (Fri, 20 Apr 2018 07:32:33 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:47:43 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.