[Reproducible-builds] Bug#815171: diffoscope: build time tests fail on armhf
Holger Levsen
holger at layer-acht.org
Fri Feb 19 16:49:23 UTC 2016
Source: diffoscope
Version: 48
Severity: serious
Justification: fails to build from source, but built fine in the past
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
Hi,
diffoscope fails to build from source in unstable/armhf but has
successfully built in the past:
[..]
=================================== FAILURES ===================================
_________________________________ test_content _________________________________
differences = [<Difference dir -- dir [<Difference stat {} -- stat {} []>, <Difference text -- text [<Difference
stat {} -- stat {} []>]>, <Difference stat {} -- stat {} []>]>]
def test_content(differences):
output_text(differences[0], print_func=print)
assert differences[0].source1 == 'dir'
> assert differences[0].details[0].source1 == 'text'
E assert 'stat {}' == 'text'
E - stat {}
E + text
tests/comparators/test_directory.py:53: AssertionError
----------------------------- Captured stdout call -----------------------------
--- dir\n+++ dir\n\u251c\u2500\u2500 stat {}\n\u2502 @@ -1,8 +1,8 @@\n\u2502 \n\u2502 Size: 4096
\tBlocks: 8 IO Block: 4096 directory\n\u2502 \t Links: 2\n\u2502 Access: (0755/drwxr-xr-x) Uid:
( 1111/pbuilder1) Gid: ( 1111/pbuilder1)\n\u2502 \n\u2502 -Modify: 2016-02-19 16:30:48.718912421 +0000\n\u2502
-Change: 2016-02-19 16:30:48.718912421 +0000\n\u2502 +Modify: 2016-02-19 16:30:48.722912326 +0000\n\u2502 +Change:
2016-02-19 16:30:48.722912326 +0000\n\u2502 Birth: -\n\u251c\u2500\u2500 text\n\u2502 @@ -1,6 +1,12 @@\n\u2502
+A common form of lorem ipsum reads:\n\u2502 +\n\u2502 Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor\n\u2502 incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis\n\u2502
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n\u2502 Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu\n\u2502 fugiat nulla pariatur. Excepteur sint occaecat
cupidatat non proident, sunt in\n\u2502 culpa qui officia deserunt mollit anim id est laborum.\n\u2502 +\n\u2502
+"Lorem ipsum" text is derived from sections 1.10.32--3 of Cicero's De finibus\n\u2502 +bonorum et malorum (On the
Ends of Goods and Evils, or alternatively [About]\n\u2502 +The Purposes of Good and Evil).\n\u2502
\u251c\u2500\u2500 stat {}\n\u2502 \u2502 @@ -1,8 +1,8 @@\n\u2502 \u2502 \n\u2502 \u2502 - Size: 446
\tBlocks: 8 IO Block: 4096 regular file\n\u2502 \u2502 + Size: 671 \tBlocks: 8 IO
Block: 4096 regular file\n\u2502 \u2502 \t Links: 1\n\u2502 \u2502 Access: (0644/-rw-r--r--) Uid: (
1111/pbuilder1) Gid: ( 1111/pbuilder1)\n\u2502 \u2502 \n\u2502 \u2502 Modify: 1970-01-01
00:00:00.000000000 +0000\n\u2502 \u2502 Change: 2016-02-19 16:30:48.722912326 +0000\n\u2502 \u2502 Birth:
-\n\u2502 \u2575\n\u251c\u2500\u2500 stat {}\n\u2502 @@ -1,8 +1,8 @@\n\u2502 \n\u2502 Size: 4096
\tBlocks: 8 IO Block: 4096 directory\n\u2502 \t Links: 2\n\u2502 Access: (0755/drwxr-xr-x) Uid:
( 1111/pbuilder1) Gid: ( 1111/pbuilder1)\n\u2502 \n\u2502 -Modify: 2016-02-19 16:30:48.718912421 +0000\n\u2502
-Change: 2016-02-19 16:30:48.718912421 +0000\n\u2502 +Modify: 2016-02-19 16:30:48.722912326 +0000\n\u2502 +Change:
2016-02-19 16:30:48.722912326 +0000\n\u2502 Birth: -\n\u2575
__________________________________ test_stat ___________________________________
differences = [<Difference dir -- dir [<Difference stat {} -- stat {} []>, <Difference text -- text [<Difference
stat {} -- stat {} []>]>, <Difference stat {} -- stat {} []>]>]
def test_stat(differences):
output_text(differences[0], print_func=print)
> assert 'stat' in differences[0].details[0].details[0].source1
E IndexError: list index out of range
tests/comparators/test_directory.py:59: IndexError
----------------------------- Captured stdout call -----------------------------
--- dir\n+++ dir\n\u251c\u2500\u2500 stat {}\n\u2502 @@ -1,8 +1,8 @@\n\u2502 \n\u2502 Size: 4096
\tBlocks: 8 IO Block: 4096 directory\n\u2502 \t Links: 2\n\u2502 Access: (0755/drwxr-xr-x) Uid:
( 1111/pbuilder1) Gid: ( 1111/pbuilder1)\n\u2502 \n\u2502 -Modify: 2016-02-19 16:30:51.186853682 +0000\n\u2502
-Change: 2016-02-19 16:30:51.186853682 +0000\n\u2502 +Modify: 2016-02-19 16:30:51.190853587 +0000\n\u2502 +Change:
2016-02-19 16:30:51.190853587 +0000\n\u2502 Birth: -\n\u251c\u2500\u2500 text\n\u2502 @@ -1,6 +1,12 @@\n\u2502
+A common form of lorem ipsum reads:\n\u2502 +\n\u2502 Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor\n\u2502 incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis\n\u2502
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n\u2502 Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu\n\u2502 fugiat nulla pariatur. Excepteur sint occaecat
cupidatat non proident, sunt in\n\u2502 culpa qui officia deserunt mollit anim id est laborum.\n\u2502 +\n\u2502
+"Lorem ipsum" text is derived from sections 1.10.32--3 of Cicero's De finibus\n\u2502 +bonorum et malorum (On the
Ends of Goods and Evils, or alternatively [About]\n\u2502 +The Purposes of Good and Evil).\n\u2502
\u251c\u2500\u2500 stat {}\n\u2502 \u2502 @@ -1,8 +1,8 @@\n\u2502 \u2502 \n\u2502 \u2502 - Size: 446
\tBlocks: 8 IO Block: 4096 regular file\n\u2502 \u2502 + Size: 671 \tBlocks: 8 IO
Block: 4096 regular file\n\u2502 \u2502 \t Links: 1\n\u2502 \u2502 Access: (0644/-rw-r--r--) Uid: (
1111/pbuilder1) Gid: ( 1111/pbuilder1)\n\u2502 \u2502 \n\u2502 \u2502 Modify: 1970-01-01
00:00:00.000000000 +0000\n\u2502 \u2502 Change: 2016-02-19 16:30:51.190853587 +0000\n\u2502 \u2502 Birth:
-\n\u2502 \u2575\n\u251c\u2500\u2500 stat {}\n\u2502 @@ -1,8 +1,8 @@\n\u2502 \n\u2502 Size: 4096
\tBlocks: 8 IO Block: 4096 directory\n\u2502 \t Links: 2\n\u2502 Access: (0755/drwxr-xr-x) Uid:
( 1111/pbuilder1) Gid: ( 1111/pbuilder1)\n\u2502 \n\u2502 -Modify: 2016-02-19 16:30:51.186853682 +0000\n\u2502
-Change: 2016-02-19 16:30:51.186853682 +0000\n\u2502 +Modify: 2016-02-19 16:30:51.190853587 +0000\n\u2502 +Change:
2016-02-19 16:30:51.190853587 +0000\n\u2502 Birth: -\n\u2575
============== 2 failed, 165 passed, 50 skipped in 238.54 seconds ==============
E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: cd
/build/diffoscope-49/.pybuild/pythonX.Y_3.4/build; python3.4 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.4 3.5 --dir . returned exit code 13
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2
[..]
The full build log for version 49 is attached.
cheers,
Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diffoscope_49.rbuild.log.gz
Type: application/x-gzip
Size: 15631 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160219/d8cfac4a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160219/d8cfac4a/attachment.sig>
More information about the Reproducible-builds
mailing list