Snapcraft failed with the following error message:
'override-build' in part 'rockcraft' failed with code 1.ipt for part 'rockcraft'.
Review the scriptlet and make sure it's correct.
Failed to execute pack in instance.
Recommended resolution: Run the same command again with --debug to shell into the environment if you wish to introspect this failure.
The first line has two overlapping messages: error: Failed to run the build script for part 'rockcraft'. and 'override-build' in part 'rockcraft' failed with code 1..
To Reproduce
Run snapcraft on a project containing an error in override-build.
part yaml
N/A
Relevant log output
2024-02-15 17:57:15.047 :: 2024-02-15 17:57:14.344 :: note: This error originates from a subprocess, and is likely not a problem with pip.
2024-02-15 17:57:15.047 :: 2024-02-15 17:57:14.405 :: error: Failed to run the build script for part 'rockcraft'.
2024-02-15 17:57:15.047 :: 2024-02-15 17:57:14.606 'override-build' in part 'rockcraft' failed with code 1.
2024-02-15 17:57:15.047 :: Review the scriptlet and make sure it's correct.
Bug Description
Snapcraft failed with the following error message:
The first line has two overlapping messages:
error: Failed to run the build script for part 'rockcraft'.
and'override-build' in part 'rockcraft' failed with code 1.
.To Reproduce
Run snapcraft on a project containing an error in override-build.
part yaml
Relevant log output