-
-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
erlang 20.0 #14815
erlang 20.0 #14815
Conversation
The man resource block and the html resource block need to be bumped, too. Also, since this is a major version bump, we'll need to check whether these build successfully with the new version:
|
Hi @ilovezfs, This is my first contribution, so please forgive me for asking a (possibly) dumb question: is there any practical way of checking for compilation issues that doesn't involve downloading all of them? |
You'll need |
You could revision bump all of them in this PR and see if any fail.
|
Formula/erlang@19.rb
Outdated
sha256 "fc82c5377ad9e84a37f67f2b2b50b27fe4e689440ae9e5d0f5dcfb440a9487ac" | ||
head "https://github.com/erlang/otp.git" | ||
|
||
bottle do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bottle block should be removed since this is technically a new formula.
Formula/erlang@19.rb
Outdated
# Download tarball from GitHub; it is served faster than the official tarball. | ||
url "https://github.com/erlang/otp/archive/OTP-19.3.tar.gz" | ||
sha256 "fc82c5377ad9e84a37f67f2b2b50b27fe4e689440ae9e5d0f5dcfb440a9487ac" | ||
head "https://github.com/erlang/otp.git" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
head
should point at the , :branch => "maint-19"
or be removed.
@ilovezfs |
Thanks @goncalotomas! This is quite an ambitious first PR but you're doing great! |
It seems that the all of the checksums were wrong, and I can't tell why I'm having different results. For instance, after downloading the file shasum -a 256 otp_doc_html_20.0.tar.gz And I get a different value (just checked the Jenkins output). How are these checksums calculated, what am I doing wrong? |
@ilovezfs
I guess this means that there are no 'workers' running Yosemite, but is the build going to fail eventually? |
@goncalotomas Nice work, you beat me to it by 45 minutes 👍 |
Some of the formulas contained 2 packages failed due to pre-compile Erlang version checks:
I will check for ways to bypass this or open an issue in the CouchDB repository.
|
Did you check if the files you downloaded were actually valid tarballs? |
Did you have a chance to test rabbitmq? |
I downloaded the files multiple times and despite being
I don't remember seeing any failed tests, but I tried to compile and it appears there are errors similar to I'm assuming this won't be merged until all packages compile, right? |
I think there is a setting in Safari preferences to disable auto extraction.
Now that we know which formulae build and which formulae don't build, I think we should proceed without doing any revision bumps in this PR. For the formulae that failed to build ( Also, this should be squashed down to be 1 commit per formula. |
(You should revision bump Also, if you do want to make that change to erlang@18, it should be in a separate PR because it won't require a new bottle. |
OK, I think I didn't forget anything. |
git reset HEAD^15 |
@goncalotomas so I'm taking a look at the build failures. For couchdb, we need this:
|
Changed. 😄 |
Next up, rabbitmq ... :) |
@goncalotomas OK, rabbitmq needs this:
|
Also changed. |
For the fossies mirror it's complaining about we can use these instead:
|
But won't it complain about the checksum not being the same? |
The checksum is the same :) |
The checksum of That's weird, they're different major versions and everything :) |
No the ones in the |
I was confused for a minute there xD |
Sorry. |
No worries! |
I won't cancel this one :) |
🍏 |
@ilovezfs |
@goncalotomas Thanks! Do you have links for the upstream issues for the ones that didn't build with the new Erlang? |
Yes. Here you go: |
Thanks for your first contribution to Homebrew, @goncalotomas! Without people like you submitting PRs we couldn't run this project. You rock! 🚀 |
A couple of things I'd like to mention here. First of all, thank you @goncalotomas for uncovering rabbitmq/rabbitmq-server#1272. It only affect master, though, which targets next feature release and not even at RC stage yet. So while it needs to be fixed, Homebrew formula should not build RabbitMQ from master. On top of that, OTP 20 is not supported by any GA release of RabbitMQ at the moment, so pinning Erlang version to 19.3 is necessary for the next few months either way. OTP 20 should work fine for development environments starting with 3.6.11. |
Created with
brew bump-formula-pr
.