** Patch added: 
"0001-UBUNTU-snapcraft.yaml-add-dpkg-dev-to-the-build-deps.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1718886/+attachment/4954940/+files/0001-UBUNTU-snapcraft.yaml-add-dpkg-dev-to-the-build-deps.patch

** Description changed:

  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 and
- lxd container): fix it by making dpkg-dev an explicit build dep.
+ 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.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/xenial
  $ cd linux
  $ snapcraft cleanbuild
  
  it will fail by saying that 'dpkg-parsechangelog is not installed', then
  apply the attached patch and cleanbuild again, this time it will
  complete fine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1718886

Title:
  snapcraft.yaml: add dpkg-dev to the build deps

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1718886/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to