snapcraft.yaml: Parts cannot contain both 'install' and 'override-*' keywords.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-snapdragon (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Impact:
Xenial/snapdragon kernel snap fails to build with latest snapcraft release (2.42.1):
...
Selecting previously unselected package snapcraft.
Preparing to unpack .../snapcraft_
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:
this time it'll snap fine.
Regression:
It fixes the build, so none.
tags: | added: patch |
Changed in linux-snapdragon (Ubuntu Xenial): | |
status: | New → Fix Committed |
This bug was fixed in the package linux-snapdragon - 4.4.0-1100.105
---------------
linux-snapdragon (4.4.0-1100.105) xenial; urgency=medium
* linux-snapdragon: 4.4.0-1100.105 -proposed tracker (LP: #1788773)
* snapcraft.yaml: Parts cannot contain both 'install' and 'override-*'
keywords. (LP: #1785653)
- snapcraft.yaml: convert prepare, build and install to override-build
[ Ubuntu: 4.4.0-135.161 ]
* linux: 4.4.0-135.161 -proposed tracker (LP: #1788766) INTERRUPT OBJECT_ ACTIVE flag attach_ object( ) error handling read_copier race" tools-common: Ensure hv-kvp- daemon. service starts before t.service (LP: #1739107) daemon. service starts before ent.service
* [Regression] APM Merlin boards fail to recover link after interface down/up
(LP: #1785739)
- net: phylib: fix interrupts re-enablement in phy_start
- net: phy: fix phy_start to consider PHY_IGNORE_
* qeth: don't clobber buffer on async TX completion (LP: #1786057)
- s390/qeth: don't clobber buffer on async TX completion
* nvme: avoid cqe corruption (LP: #1788035)
- nvme: avoid cqe corruption when update at the same time as read
* CacheFiles: Error: Overlong wait for old active object to go away.
(LP: #1776254)
- cachefiles: Fix missing clear of the CACHEFILES_
- cachefiles: Wait rather than BUG'ing on "Unexpected object collision"
* fscache cookie refcount updated incorrectly during fscache object allocation
(LP: #1776277) // fscache cookie refcount updated incorrectly during fscache
object allocation (LP: #1776277)
- fscache: Fix reference overput in fscache_
* FS-Cache: Assertion failed: FS-Cache: 6 == 5 is false (LP: #1774336)
- Revert "UBUNTU: SAUCE: CacheFiles: fix a read_waiter/
- fscache: Allow cancelled operations to be enqueued
- cachefiles: Fix refcounting bug in backing-file read monitoring
* linux-cloud-
walinuxagen
- [Debian] hyper-v -- Ensure that hv-kvp-
walinuxag
-- Khalid Elmously <email address hidden> Mon, 27 Aug 2018 00:33:00 -0400