Trying to use busybox in a snap results in errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
Adding busybox to a snap with the following yaml triggers an error on snapcraft 2.9.
Yaml:
name: taskwarrior-
version: 2.5.1
summary: Taskwarrior manages your TODO list from the command line.
description: Taskwarrior is Free and Open Source Software that manages your TODO list from the command line. It is flexible, fast, and ubobtrusive. It does its job then gets out of your way.
confinement: devmode # use "strict" to enforce system access only via declared interfaces
build-packages: [libc6, libgcc1, libgnutls-dev, libstdc++6, uuid-dev]
apps:
taskwarrior:
command: task
busybox:
command: sh
parts:
taskwarrior:
plugin: cmake
make-
- -DCMAKE_
source: https:/
busybox:
plugin: nil
stage-packages:
- busybox
Error:
jtar: Exiting with failure status due to previous errors
dpkg-deb: error: subprocess tar returned error exit status 2
Traceback (most recent call last):
File "/usr/lib/
subprocess.
File "/usr/lib/
raise CalledProcessEr
subprocess.
During handling of the above exception, another exception occurred:
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, 'prepare_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise UnpackError(pkg)
snapcraft.
no longer affects: | snapcraft (Ubuntu) |