sources can't extract tar.xz archive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
That's the trace from Snapcraft 2.8.4
```
"GET /files/
Traceback (most recent call last):
File "/usr/bin/
snapcraft.
File "/usr/lib/
return run(args, project_options)
File "/usr/lib/
lifecycle.
File "/usr/lib/
snap = execute('strip', project_options)
File "/usr/lib/
_Executor(
File "/usr/lib/
self.
File "/usr/lib/
getattr(part, step)()
File "/usr/lib/
self.
File "/usr/lib/
sources.
File "/usr/lib/
handler.pull()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
tar.
File "/usr/lib/
numeric_
File "/usr/lib/
numeric_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise KeyError("linkname %r not found" % linkname)
KeyError: "linkname 'transmission-
```
But I can extract the archive just fine from the command line using the xf flags
The snapcraft config
```
transmission:
plugin: autotools
source: https:/
source-type: tar
```
summary: |
- autotools can't extract tar.xz source + "sources" plugin can't extract tar.xz source |
summary: |
- "sources" plugin can't extract tar.xz source + "sources" plugin can't extract tar.xz archive |
summary: |
- "sources" plugin can't extract tar.xz archive + sources can't extract tar.xz archive |
tags: | added: stacktrace |
Seems to be sym/hardlink related
https:/ /github. com/python/ cpython/ blob/master/ Lib/tarfile. py#L2357- L2374