[Reproducible-builds] Bug#764140: python traceback for foreign packages
Helmut Grohne
helmut at subdivi.de
Sun Oct 5 18:52:36 UTC 2014
Package: debbindiff
Version: 3
Severity: minor
User: helmutg at debian.org
Usertags: rebootstrap
While attempting to validate cross builds with debbindiff I ran into the
following exception:
$ debbindiff ./cross/libc6-dev_2.19-11_mips.deb ./native/libc6-dev_2.19-11_mips.deb
ar: /tmp/tmpmonBzsdebbindiff/./usr/lib/mips-linux-gnu/libieee.a: File format not recognized
Traceback (most recent call last):
File "/usr/bin/debbindiff", line 63, in <module>
main()
File "/usr/bin/debbindiff", line 52, in main
parsed_args.file1, parsed_args.file2)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py", line 91, in compare_files
return comparator(path1, path2, source)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py", line 53, 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 91, in compare_files
return comparator(path1, path2, source)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py", line 53, in with_fallback
inside_differences = original_function(path1, path2, source)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/xz.py", line 48, in compare_xz_files
source=get_source(new_path1, new_path2))
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py", line 91, in compare_files
return comparator(path1, path2, source)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py", line 53, 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 91, in compare_files
return comparator(path1, path2, source)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py", line 53, in with_fallback
inside_differences = original_function(path1, path2, source)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/elf.py", line 85, in compare_static_lib_files
content1 = get_ar_content(path1)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py", line 75, in get_ar_content
return subprocess.check_output(['ar', 'tv', path], shell=False)
File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['ar', 'tv', '/tmp/tmpmonBzsdebbindiff/./usr/lib/mips-linux-gnu/libieee.a']' returned non-zero exit status 1
$
Helmut
More information about the Reproducible-builds
mailing list