snapcraft.yaml: add dpkg-dev to the build deps
Bug #1718886 reported by
Paolo Pisati
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
snapcraft (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Invalid
|
Undecided
|
Unassigned |
Bug Description
SRU:
Impact:
In snapcraft.yaml, we use dpkg-parsechangelog (part of dpkg-dev) to extract the debian version string from debian/changelog, but this tool is not installed by default when doing a cleanbuild (build inside a lxd container): fix it by making dpkg-dev an explicit build dep.
Fix:
add dpkg-dev to the build-packages list (see attached patch)
How to test it:
$ git clone git://git.
$ cd linux
$ snapcraft cleanbuild
it will fail by saying that 'dpkg-parsechan
CVE References
description: | updated |
tags: | added: patch |
affects: | linux (Ubuntu) → snapcraft (Ubuntu) |
Changed in snapcraft (Ubuntu): | |
status: | Incomplete → New |
Changed in linux (Ubuntu Xenial): | |
status: | Incomplete → Confirmed |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in linux (Ubuntu Xenial): | |
status: | Confirmed → Fix Committed |
Changed in linux (Ubuntu): | |
status: | Confirmed → Incomplete |
Changed in snapcraft (Ubuntu): | |
status: | New → Invalid |
Changed in snapcraft (Ubuntu Xenial): | |
status: | New → Invalid |
To post a comment you must log in.
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1718886
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.