buildstream fails with "EOFError: Compressed file ended before the end-of-stream marker was reached"
[00:00:03][1cbcd0f7][build:base/freedesktop-sdk-junction.bst:base/icu.bst] BUG Build
An unhandled exception occured:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/buildstream/_scheduler/job.py", line 265, in child_action
result = self.action(element)
File "/usr/local/lib/python3.6/site-packages/buildstream/_scheduler/buildqueue.py", line 34, in process
element._assemble()
File "/usr/local/lib/python3.6/site-packages/buildstream/element.py", line 1084, in _assemble
self.stage(sandbox)
File "/usr/local/lib/python3.6/site-packages/buildstream/buildelement.py", line 189, in stage
self.stage_sources(sandbox, self.get_variable('build-root'))
File "/usr/local/lib/python3.6/site-packages/buildstream/element.py", line 568, in stage_sources
self._stage_sources_in_sandbox(sandbox, directory)
File "/usr/local/lib/python3.6/site-packages/buildstream/element.py", line 1485, in _stage_sources_in_sandbox
self._stage_sources_at(host_directory, mount_workspaces=mount_workspaces)
File "/usr/local/lib/python3.6/site-packages/buildstream/element.py", line 1509, in _stage_sources_at
source._stage(directory)
File "/usr/local/lib/python3.6/site-packages/buildstream/source.py", line 418, in _stage
self.stage(staging_directory)
File "/usr/local/lib/python3.6/site-packages/buildstream/plugins/sources/tar.py", line 108, in stage
base_dir = self._find_base_dir(tar, self.base_dir)
File "/usr/local/lib/python3.6/site-packages/buildstream/plugins/sources/tar.py", line 188, in _find_base_dir
matches = sorted(list(utils.glob(paths, pattern)))
File "/usr/local/lib/python3.6/site-packages/buildstream/utils.py", line 188, in glob
for filename in paths:
File "/usr/local/lib/python3.6/site-packages/buildstream/plugins/sources/tar.py", line 152, in _list_tar_paths
for member in tar.getmembers():
File "/usr/lib64/python3.6/tarfile.py", line 1758, in getmembers
self._load() # all members, we first have to
File "/usr/lib64/python3.6/tarfile.py", line 2355, in _load
tarinfo = self.next()
File "/usr/lib64/python3.6/tarfile.py", line 2286, in next
self.fileobj.seek(self.offset - 1)
File "/usr/lib64/python3.6/gzip.py", line 368, in seek
return self._buffer.seek(offset, whence)
File "/usr/lib64/python3.6/_compression.py", line 143, in seek
data = self.read(min(io.DEFAULT_BUFFER_SIZE, offset))
File "/usr/lib64/python3.6/gzip.py", line 482, in read
raise EOFError("Compressed file ended before the "
EOFError: Compressed file ended before the end-of-stream marker was reached
Full log here: https://gitlab.gnome.org/GNOME/gnome-build-meta/-/jobs/21281