[Reproducible-builds] Bug#786596: still unicode problems: 'ascii' codec can't encode characters in position 64-65: ordinal not in range(128)
Holger Levsen
holger at layer-acht.org
Sat May 23 11:26:42 UTC 2015
package: debbindiff
version: 20
User: reproducible-builds at lists.alioth.debian.org
Usertags: toolchain
Hi,
when running debbindiff 20 on the build artifacts of openocd in unstable,
debbindiff fails like this:
Fri May 22 13:48:49 UTC 2015 - debbindiff 20 will be used to compare the two builds:
Traceback (most recent call last):
File "/usr/bin/debbindiff", line 122, in <module>
sys.exit(main())
File "/usr/bin/debbindiff", line 108, in main
parsed_args.file1, parsed_args.file2)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py", line 129, in compare_files
return comparator(path1, path2, source=source)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/changes.py", line 89, in compare_changes_files
dot_changes2.get_path(filename))))
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py", line 129, in compare_files
return comparator(path1, path2, source=source)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py", line 43, in with_fallback
inside_differences = original_function(path1, path2, source)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/deb.py", line 53, in compare_deb_files
in_path1, in_path2, source=name))
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py", line 129, in compare_files
return comparator(path1, path2, source=source)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py", line 43, in with_fallback
inside_differences = original_function(path1, path2, source)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/xz.py", line 50, 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 129, in compare_files
return comparator(path1, path2, source=source)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py", line 43, 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.decode('utf-8')))
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py", line 109, in compare_files
if os.path.isdir(path1) and os.path.isdir(path2):
File "/usr/lib/python2.7/genericpath.py", line 49, in isdir
st = os.stat(s)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 64-65: ordinal not in range(128)
However, when debbindiff 16 was used to compare the builds of openocd in
testing on May 5th, this worked nicely.
(Granted, the openocd version was slightly different (0.9.0~rc1-1 vs 0.9.0-1)
but I doubt that this matters. Now we could reschedule openocd in testing so
it would be tested with dbd20, but I'll leave this for later so the current
logs stay as they are.
https://reproducible.debian.net/artifacts/r00t-me/openocd_unstable_tmp-a3af8/
has artifacts for two more days...
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/20150523/ef08a806/attachment.sig>
More information about the Reproducible-builds
mailing list