← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1785653] Re: snapcraft.yaml: Parts cannot contain both 'install' and 'override-*' keywords.

 

** Also affects: linux-snapdragon (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/1785653

Title:
  snapcraft.yaml: Parts cannot contain both 'install' and 'override-*'
  keywords.

Status in linux-snapdragon package in Ubuntu:
  New
Status in linux-snapdragon source package in Xenial:
  New

Bug description:
  Impact:

  Xenial/snapdragon kernel snap fails to build with latest snapcraft
  release (2.42.1):

  https://launchpadlibrarian.net/382070508
  /buildlog_snap_ubuntu_xenial_arm64_piso-xenial-snapdragon-
  dummy_BUILDING.txt.gz

  ...
  Selecting previously unselected package snapcraft.
  Preparing to unpack .../snapcraft_2.42.1_all.deb ...
  Unpacking snapcraft (2.42.1) ...
  ...
  Running pull phase...
  Issues while validating None: The 'parts/kernel' property does not match the required schema: Parts cannot contain both 'install' and 'override-*' keywords. Use 'override-build' instead of 'install'.
  Build failed
  ...

  that is due to the deprecation of the 'prepare, build and install'
  targets and their inability to coexist with the newer 'override-build'
  target.

  Fix:

  Apply the attached patch and snap again:

  https://launchpadlibrarian.net/382090616
  /buildlog_snap_ubuntu_xenial_arm64_piso-xenial-snapdragon-
  dummy_BUILDING.txt.gz

  this time it'll snap fine.

  Regression:

  It fixes the build, so none.

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