Public bug reported: 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. ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Description changed: + Impact: + In snapcraft.yaml, we use dpkg-parsechangelog (part of dpkg-dev) to - extract the debian version string, but this tool is not present by - default when doing a cleanbuild (build inside and lxd container): fix it - by making dpkg-dev an explicit build dep. + 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. + + Fix: + + How to test it: ** 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. 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 saying that 'dpkg-parsechangelog is not installed', then + apply the attached patch and cleanbuild again, this time it will + complete fine. ** 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. 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 saying that 'dpkg-parsechangelog is not installed', then + 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