[Reproducible-builds] debbindiff 10 crashes and exits with error 1

Holger Levsen holger at layer-acht.org
Sat Mar 21 12:13:10 UTC 2015


reassign 780863 debbindiff
# stupid typo, sorry for the noice

Crashing with exit 1 is the real problem here. Maybe this should be changed, 
so that exit 1 means trouble/crash, while exit 2 means unreproducible?

On Freitag, 20. März 2015, Holger Levsen wrote:
> package: debbindinff
> version: 10
> 
> Hi Lunar,
> 
> from
> https://reproducible.debian.net/rbuild/experimental/amd64/bibtool_2.59+ds-
> 1.rbuild.log
> 
> Fri Mar 20 16:38:44 UTC 2015 - debbindiff 10 will be used to compare the
> two builds now. Traceback (most recent call last):
>   File "/usr/bin/debbindiff", line 103, in <module>
>     sys.exit(main())
>   File "/usr/bin/debbindiff", line 89, in main
>     parsed_args.file1, parsed_args.file2)
>   File
> "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py",
> line 123, in compare_files return comparator(path1, path2, source)
>   File
> "/usr/lib/python2.7/dist-packages/debbindiff/comparators/changes.py", line
> 88, in compare_changes_files dot_changes2.get_path(filename))))
>   File
> "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py",
> line 123, in compare_files return comparator(path1, path2, source)
>   File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py",
> line 59, in with_fallback inside_differences = original_function(path1,
> path2, source)
>   File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/deb.py",
> line 52, in compare_deb_files in_path1, in_path2, source=name))
>   File
> "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py",
> line 123, in compare_files return comparator(path1, path2, source)
>   File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py",
> line 59, in with_fallback inside_differences = original_function(path1,
> path2, source)
>   File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/xz.py",
> line 49, in compare_xz_files source=[os.path.basename(new_path1),
> os.path.basename(new_path2)]) File
> "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py",
> line 123, in compare_files return comparator(path1, path2, source)
>   File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py",
> line 59, in with_fallback inside_differences = original_function(path1,
> path2, source)
>   File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/tar.py",
> line 65, in compare_tar_files source=name))
>   File
> "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py",
> line 123, in compare_files return comparator(path1, path2, source)
>   File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py",
> line 59, in with_fallback inside_differences = original_function(path1,
> path2, source)
>   File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/pdf.py",
> line 45, in compare_pdf_files text1 = pdftotext(path1)
>   File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py",
> line 132, in tool_check return original_function(*args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/pdf.py",
> line 38, in pdftotext shell=False,
> close_fds=True).decode(locale.getpreferredencoding()) UnicodeDecodeError:
> 'ascii' codec can't decode byte 0xe2 in position 64: ordinal not in
> range(128)
> 
> Also this seems to exit with error 1, not 2 as it should according to the
> manpage.
> 
> 
> cheers,
> 	Holger



-------------- 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/20150321/ac6e83f8/attachment.sig>


More information about the Reproducible-builds mailing list