** 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 Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1718886

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

Status in linux package in Ubuntu:
  New

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.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.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to