-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
ErlangR24: init at 24.0 #122723
ErlangR24: init at 24.0 #122723
Conversation
All checks appear to have passed, but I am trying to run
I am trying to run on this on NixOS. |
Result of 1 package failed to build:Note that build failures may predate this PR, and could be nondeterministic or hardware dependent. Result of 1 package failed to build:Note that build failures may predate this PR, and could be nondeterministic or hardware dependent. |
Also, this does not switch the default Erlang to 24, it keeps it at 23. I don't know the full repercussions for changing the default. We can do that in a different PR. |
This seems to be a known issue. I will wait for erlang/otp#4821 to be resolved and I will get this fixed afterwards. |
on my box I applied the config change they sugggested |
Update configure options The configure script now needs to be told about the headers and the actual lib files separately. Remove extra whitespace
There was a new configure flag that was added to Erlang's build system. We need to tell it about the dev headers, as well as the actual lib location now. These recent changes should fix the build. |
Looks great, thanks for this! Running the nixpkgs-review on darwin. It looks good to me as far as I'm concerned! I definitely that in order to switch to the default version of erlang we should at least wait a couple of months. |
Result of 6 packages marked as broken and skipped:
24 packages built:
|
I will do a patch to drop R18, R19 and 20 this week. So let's ignore it. Bashor16 being broken is a pain and i am beginning to think we need to drop riak... So i think that we mostly need to fix lfe , couch and cuter. |
There's Riak KV v2.3.3 which is compatible with newer Erlang versions. We might want to upgrade it instead of dropping it. |
downstream package updates and improvements to the erlang ecosystem can be done in subsequent PRs. I think this PR is good as-is. |
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.
https://github.com/NixOS/nixpkgs/pull/122723
7 packages marked as broken and skipped:
cuter erlangR18 erlangR19 erlang_basho_R16B02 lfe_1_2 riak yaws
29 packages built:
asls cl couchdb3 ejabberd elixir elixir_1_10 elixir_1_7 elixir_1_8 elixir_1_9 elixir_ls erlang erlang-ls erlangR20 erlangR21 erlangR22 erlangR24 erlang_javac erlang_nox erlang_odbc erlang_odbc_javac lfe mercury notmuch-bower rabbitmq-server rebar rebar3 relxExe tsung wings
Super keen on dropping older versions of erlang, this build took a looooooooooooong time. Regarding fixing the other packages, I'm not against it, but we will need somebody to maintain them. Unless somebody wants to add themselves as a maintainer, wouldn't it be better to leave them marked as broken until somebody shows up wanting to maintain them? Regarding this PR, personally this is good to merge. @ankhers let me know if you want me to merge it, otherwise I'll leave you to merge it when you think it's right. |
I already merged it. It's just a package addition in it's current form. |
I'm not able to build R23 on You can reproduce the issue by running Here's the tail of the log where things break down
|
@joedevivo thanks for reporting! I am on darwin too and posted the result of nixpkgs-review up top. |
Here's what I've figured out so far. If I delete the line When I check out your branch, it attempts to build 23.3.4, and throws the same error around hipe
These builds are long, so this is all I'll have for you tonight, but let me know if there's anything you want me to try in the morning. |
thanks a lot for testing. We know that it is something that happens on your computer, which is a darwin x86_64 Just briefly looking at the error, it seems to be some hipe related thing that is not found. Perhaps it has to do with a dependency that is missing on your machine. Did you override any of the default options of the generic builder? Another thing to test, would be trying without hipe. Could you disable hipe ? (or remove line 84 of generic builder if it |
@gleber i tried, but quite simply it is a lot of work to update to that from what i gathered and noone is really interested to update Riak |
@happysalada My plan is to override at some point, but I'm able to reproduce this with a clean checkout of your branch at 23.3.4. Because my plan is to override, I need to be able to build it myself. Since #122536 has been merged, my With regards to disabling hipe, I can't make any sense of it. It's still trying to build hipe and failing. I did get it to pass by changing another setting, I think the following things are happening:
If you run |
@happysalada it turns out that nix-darwin is setting nix.conf's |
|
I have this setting in my darwin con looking at the generic.nix file, parallelBuild defaults to false. Maybe that is the problem then. Did you override this on your laptop? |
Motivation for this change
Erlang R24 was just released.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)