** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

-- 
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:
  Incomplete
Status in snapcraft package in Ubuntu:
  New
Status in linux source package in Xenial:
  Fix Released
Status in snapcraft source package in Xenial:
  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