snapcraft.yaml: Parts cannot contain both 'install' and 'override-*' keywords.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-raspi2 (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Impact:
Xenial/raspi2 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-raspi2 (Ubuntu Xenial): | |
status: | New → In Progress |
status: | In Progress → Fix Committed |
This bug was fixed in the package linux-raspi2 - 4.4.0-1096.104
---------------
linux-raspi2 (4.4.0-1096.104) xenial; urgency=medium
* linux-raspi2: 4.4.0-1096.104 -proposed tracker (LP: #1788772)
* snapcraft.yaml: Parts cannot contain both 'install' and 'override-*'
keywords. (LP: #1785647)
- snapcraft.yaml: convert prepare, build and install to override-build
* Support for the RaspberryPi 3 B Plus board (LP: #1784025)
- BCM270X_DT: Add Pi 3+ dts files
- SAUCE: dts: remove i2c_dsi reference (4.9+ only)
- SAUCE: dts: use 0 instead of GPIO_ACTIVE_LOW
- SAUCE: dts: remove the hdmi node since it's part of the vc4 overlay
- SAUCE: dts: use the virtgpio driver
- SAUCE: fix address & size of reg cell for usb1
- modules: remove lan78xx and microchip phy check
- SAUCE: Revert "lan78xx: Correctly indicate invalid OTP"
- lan78xx: Read MAC address from DT if present
- lan78xx: Enable LEDs if no valid EEPROM or OTP
- lan78xx: Read initial EEE status from DT
- lan78xx: Change LEDs to include 10Mb activity
- lan78xx: Read LED states from Device Tree
- lan78xx: Ignore DT MAC address if already valid
- net: lan78xx: Allow for VLAN headers in timeout.
- lan78xx: Connect phy early
- lan78xx: Don't reset the interface on open
- lan78xx: Move enabling of EEE into PHY init code
- brcmfmac: Disable runtime pm for USB.
- brcmfmac: Fix double free on exception at module load.
- brcmfmac: only lock and unlock fws if fws is not null
- brcmfmac: Fix warn trace on module unload while in ibss mode
- brcmfmac: fix p2p scan abort null pointer exception
- brcmf: Fix null pointer exception in bcdc_hdrpull
- brcmfmac: Return actual error by fwil.
- brcmfmac: sdio: Increase the default timeouts a bit
* snapcraft.yaml: mv: cannot stat 'unpack/ lib/firmware/ brcm80211/ brcm/*' : No
such file or directory (LP: #1785075)
- snapcraft.yaml: wifi fw files are now part of linux-firmware
[ Ubuntu: 4.4.0-135.161 ]
* linux: 4.4.0-135.161 -proposed tracker (LP: #1788766) INTERRUPT OBJECT_ ACTIVE flag attach_ object( ) error handling
* [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...