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

Fails silently when custom buildpack fails to download from Git #244

Open
callahad opened this issue Mar 27, 2017 · 3 comments
Open

Fails silently when custom buildpack fails to download from Git #244

callahad opened this issue Mar 27, 2017 · 3 comments
Labels

Comments

@callahad
Copy link

The logic in buildpack.bash attempts to git ls-remote $url, and falls back to trying to pipe from curl into tar, with arguments based on file extension.

In my case, I was using a buildpack with a GitHub, but ls-remote failed due to a connectivity issue. The following case statement failed to match any extensions, leaving tar_args empty. Which caused tar to fail as tar without one of -Acdrtux is invalid.

@jstr
Copy link

jstr commented Nov 3, 2017

I'm seeing this too. build exits with The command '/bin/sh -c /build' returned a non-zero code: 128.

@michaelshobbs
Copy link
Member

PRs welcomed

@jstr
Copy link

jstr commented Nov 6, 2017

After some investigation I found my issue was actually in heroku-buildpack-multi (https://github.com/drgarcia1986/heroku-buildpack-multi/blob/master/bin/compile#L23). However that package is no longer maintained and is not tracking issues.

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

No branches or pull requests

4 participants