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

No heroku-16 build #13

Open
csuhta opened this issue Dec 1, 2017 · 4 comments
Open

No heroku-16 build #13

csuhta opened this issue Dec 1, 2017 · 4 comments
Labels

Comments

@csuhta
Copy link

csuhta commented Dec 1, 2017

I have:

$  heroku buildpacks
1. https://github.com/heroku/heroku-buildpack-apt
2. https://github.com/mojodna/heroku-buildpack-jemalloc.git#v3.6.0
3. heroku/ruby

When I deploy, the build phase crashes:

[...]
remote: -----> jemalloc app detected
remote: -----> Vendoring binaries
remote:        Fetching https://s3.amazonaws.com/mojodna-heroku/heroku-16/jemalloc-3.6.0-1.tar.gz
remote: 
remote: gzip: stdin: not in gzip format
remote: tar: Child returned status 1
remote: tar: Error is not recoverable: exiting now
remote:  !     Push rejected, failed to compile jemalloc app.
remote: 
remote:  !     Push failed
[...]

This file doesn't exist: https://s3.amazonaws.com/mojodna-heroku/heroku-16/jemalloc-3.6.0-1.tar.gz

Everything is fine if I don't pin to v3.6.0.

Is there a reason 3.6.0 is still shown as a fallback option? Is it still supported?

@nateberkopec
Copy link
Collaborator

We need to create a heroku-16 build, we haven't done that yet.

@nateberkopec nateberkopec changed the title Buildpack can't fetch jemalloc-3.6.0-1.tar.gz No heroku-16 build Dec 4, 2017
gaffneyc referenced this issue in gaffneyc/heroku-buildpack-jemalloc Dec 5, 2017
This allows new versions to be built for uploading by running
`make VERSION=5.0.1` rather than updating the hard coded version in
multiple places. I've also added support for building against either the
legacy cedar-14 architecture or heroku-16. While versions built on
cedar-14 appear to run on heroku-16, the newer stack should also mean a
newer and better tool chain.

I've removed the Dockerfile and switched to using Heroku's docker images
directly as this removes the need for cleaning them up afterwards. It
possibly makes debugging harder but having build.sh available should
avoid some of that.

Fixes #7
Fixes #13
gaffneyc referenced this issue in gaffneyc/heroku-buildpack-jemalloc Dec 5, 2017
This allows new versions to be built for uploading by running
`make VERSION=5.0.1` rather than updating the hard coded version in
multiple places. I've also added support for building against either the
legacy cedar-14 architecture or heroku-16. While versions built on
cedar-14 appear to run on heroku-16, the newer stack should also mean a
newer and better tool chain.

I've removed the Dockerfile and switched to using Heroku's docker images
directly as this removes the need for cleaning them up afterwards. It
possibly makes debugging harder but having build.sh available should
avoid some of that.

Fixes #2
Fixes #7
Fixes #13
gaffneyc referenced this issue in gaffneyc/heroku-buildpack-jemalloc Dec 5, 2017
This allows new versions to be built for uploading by running
`make VERSION=5.0.1` rather than updating the hard coded version in
multiple places. I've also added support for building against either the
legacy cedar-14 architecture or heroku-16. While versions built on
cedar-14 appear to run on heroku-16, the newer stack should also mean a
newer and better tool chain.

I've removed the Dockerfile and switched to using Heroku's docker images
directly as this removes the need for cleaning them up afterwards. It
possibly makes debugging harder but having build.sh available should
avoid some of that.

Fixes #2
Fixes #7
Fixes #13
@egimenos
Copy link

egimenos commented May 4, 2018

I have the same exact problem. I read that jemalloc 3.6 works better with Ruby, I'm using Ruby 2.3.1.

@timobleeker
Copy link

I encountered this issue today. Are there any plans for building 3.6 for heroku 16?
Or should I just be using the latest version instead? I have heard of instabilities with 4.0, and unknown performance with 5.0

@nateberkopec
Copy link
Collaborator

See #18.

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