-
Notifications
You must be signed in to change notification settings - Fork 8
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
Confusing No buildpacks found!
error message when buildpack.toml
parsing fails
#788
Comments
The error message comes from: libcnb.rs/libcnb-cargo/src/package/error.rs Lines 25 to 26 in e9072af
libcnb.rs/libcnb-cargo/src/package/command.rs Lines 84 to 86 in e9072af
Which implies that an earlier failed parsing error wasn't propagated, and instead the buildpack ignored/excluded from the dependency graph. I think this might have the same root cause as #708. |
This also causes some confusion when using
Adding |
@iloverink Hi! What version of Pack CLI is that using? |
Hi @edmorley - |
This area is also problematic for https://github.com/heroku/languages-github-actions, which depends on More about this over on heroku/languages-github-actions#199. |
[[stacks]]
No buildpacks found!
error message when buildpack.toml
parsing fails
The comments in this issue so far have actually been about three separate things:
Issue (2) has been fixed by #789 and released in libcnb 0.19.0. Issue (3) is an upstream Pack CLI bug unrelated to libcnb, for which I've filed: This leaves just (1) as something we should improve in libcnb. As such, I've adjusted the issue title to be about just (1). It's also quite likely that (1) is a duplicate of #708. |
When trying to package a buildpack with an invalid toml, this is the messaging:
In my case, it wasn't finding any buildpacks, because my
buildpack.toml
had[[stacks]]
in it. Whilestacks
is deprecated, it is still supported in Buildpack API 0.10 (https://github.com/buildpacks/spec/blob/7eb38d15fd3bd5bb5240584f0e70beb61913032c/buildpack.md?plain=1#L1143). Maybe there are two issues here:[[stacks]]
in buildpack.toml, even if libcnb.rs ignores it? This is likely only a temporary issue, so I could go either way here.The text was updated successfully, but these errors were encountered: