Bug#903446: diffoscope: libarchive.exception.ArchiveError with lie/2.2.2+dfsg-3
Mattia Rizzolo
mattia at debian.org
Tue Jul 10 09:09:52 BST 2018
Package: diffoscope
Version 98
Severity: important
As seen with lie/2.2.2+dfsg-3 on all suites/architectures:
Mon Jul 9 00:26:25 UTC 2018 I: diffoscope 98 will be used to compare the two builds:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/diffoscope/diff.py", line 327, in diff
return run_diff(fifo1_path, fifo2_path, fifo1.end_nl_q, fifo2.end_nl_q)
File "/usr/lib/python3/dist-packages/diffoscope/diff.py", line 220, in __exit__
self.join()
File "/usr/lib/python3/dist-packages/diffoscope/diff.py", line 253, in join
raise self._exception
File "/usr/lib/python3/dist-packages/diffoscope/diff.py", line 244, in run
end_nl = self.feeder(fifo)
File "/usr/lib/python3/dist-packages/diffoscope/feeders.py", line 45, in feeder
for buf in in_file:
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/libarchive.py", line 91, in list_libarchive
with libarchive.file_reader(path) as archive:
File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
File "/usr/lib/python3/dist-packages/libarchive/read.py", line 73, in file_reader
ffi.read_open_filename_w(archive_p, path, block_size)
File "/usr/lib/python3/dist-packages/libarchive/ffi.py", line 85, in check_int
raise archive_error(args[0], retcode)
File "/usr/lib/python3/dist-packages/libarchive/ffi.py", line 69, in archive_error
raise ArchiveError(msg, errno(archive_p), retcode, archive_p)
libarchive.exception.ArchiveError: Unrecognized archive format (errno=84, retcode=-30, archive_p=140510660415776)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/diffoscope/main.py", line 460, in main
sys.exit(run_diffoscope(parsed_args))
File "/usr/lib/python3/dist-packages/diffoscope/main.py", line 432, in run_diffoscope
difference = compare_root_paths(path1, path2)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 68, in compare_root_paths
difference = compare_files(file1, file2)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 118, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/debian.py", line 184, in compare
differences = super().compare(other, *args, **kwargs)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 366, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 321, in _compare_using_details
other.as_container, no_recurse=no_recurse))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/container.py", line 177, in compare_pair
file1, file2, source=None, diff_content_only=no_recurse)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 118, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 366, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 321, in _compare_using_details
other.as_container, no_recurse=no_recurse))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/container.py", line 177, in compare_pair
file1, file2, source=None, diff_content_only=no_recurse)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 118, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 366, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 321, in _compare_using_details
other.as_container, no_recurse=no_recurse))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/container.py", line 177, in compare_pair
file1, file2, source=None, diff_content_only=no_recurse)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 118, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 366, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 321, in _compare_using_details
other.as_container, no_recurse=no_recurse))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/container.py", line 177, in compare_pair
file1, file2, source=None, diff_content_only=no_recurse)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/compare.py", line 118, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 366, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/file.py", line 304, in _compare_using_details
details.extend(self.compare_details(other, source))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/elf.py", line 590, in compare_details
source="file list",
File "/usr/lib/python3/dist-packages/diffoscope/difference.py", line 228, in from_text_readers
**kwargs
File "/usr/lib/python3/dist-packages/diffoscope/difference.py", line 186, in from_feeder
unified_diff = diff(feeder1, feeder2)
File "/usr/lib/python3/dist-packages/diffoscope/diff.py", line 327, in diff
return run_diff(fifo1_path, fifo2_path, fifo1.end_nl_q, fifo2.end_nl_q)
File "/usr/lib/python3/dist-packages/diffoscope/diff.py", line 220, in __exit__
self.join()
File "/usr/lib/python3/dist-packages/diffoscope/diff.py", line 253, in join
raise self._exception
File "/usr/lib/python3/dist-packages/diffoscope/diff.py", line 244, in run
end_nl = self.feeder(fifo)
File "/usr/lib/python3/dist-packages/diffoscope/feeders.py", line 45, in feeder
for buf in in_file:
File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils/libarchive.py", line 91, in list_libarchive
with libarchive.file_reader(path) as archive:
File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
File "/usr/lib/python3/dist-packages/libarchive/read.py", line 73, in file_reader
ffi.read_open_filename_w(archive_p, path, block_size)
File "/usr/lib/python3/dist-packages/libarchive/ffi.py", line 85, in check_int
raise archive_error(args[0], retcode)
File "/usr/lib/python3/dist-packages/libarchive/ffi.py", line 69, in archive_error
raise ArchiveError(msg, errno(archive_p), retcode, archive_p)
libarchive.exception.ArchiveError: Unrecognized archive format (errno=84, retcode=-30, archive_p=140510526190864)
I can totally reproduce this locally with v99, artifacts are available
till tomorrow on
https://tests.reproducible-builds.org/debian/artifacts/r00t-me/lie_unstable_amd64_tmp-JkpRk/
and I also have a copy of them.
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20180710/3829be00/attachment.sig>
More information about the Reproducible-builds
mailing list