misleading error (real problem: unbound variable)
Opened this issue · 1 comments
christophprokop commented
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 commented
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.