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

misleading error (real problem: unbound variable) #54

Open
christophprokop opened this issue Nov 16, 2022 · 1 comment
Open

misleading error (real problem: unbound variable) #54

christophprokop opened this issue Nov 16, 2022 · 1 comment

Comments

@christophprokop
Copy link
Collaborator

Error: build command failed

[...]

       butido db log-of 038255b5-ac92-4f73-8880-44a7f0870abf | less -SR +G

1: Finalizing container
2: Copying the TAR stream to the staging store
3: Concatenating the output bytestream
4: Copying item from container 30a7db8788fc1946503cc736b3a627a1fe80682c04dc75f6b5b3c67ccd521c84 to host
5: Docker Error: 404 Not Found

----------------------------

this error is a bit misleading
the logfile shows the real problem:

/script: line 730: CONFIGURE_FLAGS[@]: unbound variable

@matthiasbeyer
Copy link
Contributor

This error can only be detected by executing the build script, not by butido itself.

A possible "fix" (although it isn't really a fix) would be to include build script output in the error trace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants