← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1718886] Re: snapcraft.yaml: add dpkg-dev to the build deps

 

** Also affects: linux (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: snapcraft (Ubuntu Xenial)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1718886

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

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