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

Investigate I/O error when caching buildpack downloads #97

Closed
fbiville opened this issue Feb 11, 2019 · 0 comments
Closed

Investigate I/O error when caching buildpack downloads #97

fbiville opened this issue Feb 11, 2019 · 0 comments

Comments

@fbiville
Copy link
Contributor

Sometimes, the cached buildpack ($HOME/.pack/dl-cache/$sha256/buildpack.toml) gets corrupted with an extra ], leading to errors like this:

ERROR: failed to generate layer for buildpack io.projectriff.riff: reading buildpack.toml from buildpack: /Users/fbiville/.pack/dl-cache/50d30c4c48f8533f9ddbfa2dafc539b49892469417e0883adb0eb0ed1f49d675: Near line 61 (last key parsed 'metadata'): bare keys cannot contain ']'
make: *** [build] Error 1

This is symptomatic of an I/O error in Golang (e.g. resource not closed).

fbiville pushed a commit to fbiville/pack that referenced this issue Feb 11, 2019
fbiville pushed a commit to fbiville/pack that referenced this issue Feb 11, 2019
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

Successfully merging a pull request may close this issue.

1 participant