Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing line feed in error output #241

Closed
cmatsuoka opened this issue Feb 15, 2024 · 2 comments
Closed

Missing line feed in error output #241

cmatsuoka opened this issue Feb 15, 2024 · 2 comments
Labels
Bug Something isn't working

Comments

@cmatsuoka
Copy link
Contributor

Bug Description

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.
@cmatsuoka cmatsuoka added the Bug Something isn't working label Feb 22, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2522.

This message was autogenerated

@sergiusens
Copy link
Collaborator

You created two issues for the same thing 😆

Duplicate #263

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants