No helpfull message when command doesn't exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
If the command specified in the YAML doesn't actually exist, snapcraft provides the following non-helpful message:
Command '['snap', 'pack', '--filename', 'liquidctl_
Failed to execute pack in instance.
I used the following example
snapcraft.yaml:
name: liquidctl
summary: empty
description: |
empty
version: test
base: core22
confinement: strict
parts:
liquidctl:
plugin: python
source: .
stage-packages:
- python3-usb
apps:
liquidctl:
command: wrongname # Here is the line that makes it fails.
plugs:
- raw-usb
- hardware-observe
If the file could be checked, that would help to provide a helpful message for developers.
snapcraft --version
snapcraft 8.0.1