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

erlang: 20.1.7 -> 20.2.2 #32722

Merged
merged 1 commit into from Dec 19, 2017
Merged

erlang: 20.1.7 -> 20.2.2 #32722

merged 1 commit into from Dec 19, 2017

Conversation

ankhers
Copy link
Contributor

@ankhers ankhers commented Dec 15, 2017

Motivation for this change

Update ErlangR20

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@LnL7
Copy link
Member

LnL7 commented Dec 16, 2017

@GrahamcOfBorg build erlangR20

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failure for system: x86_64-darwin

clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [Makefile:169: ../priv/x86_64-apple-darwin16.3.0/wxe_driver.so] Error 1
make[3]: Leaving directory '/private/tmp/nix-build-erlang-20.2.1.drv-0/source/lib/wx/c_src'
make[2]: *** [/private/tmp/nix-build-erlang-20.2.1.drv-0/source/make/otp_subdir.mk:29: opt] Error 2
make[2]: Leaving directory '/private/tmp/nix-build-erlang-20.2.1.drv-0/source/lib/wx'
make[1]: *** [/private/tmp/nix-build-erlang-20.2.1.drv-0/source/make/otp_subdir.mk:29: opt] Error 2
make[1]: Leaving directory '/private/tmp/nix-build-erlang-20.2.1.drv-0/source/lib'
make: *** [Makefile:464: libs] Error 2
builder for '/nix/store/63miqv9f6jxmb2h0yag56ilywv5nyd9m-erlang-20.2.1.drv' failed with exit code 2
error: build of '/nix/store/63miqv9f6jxmb2h0yag56ilywv5nyd9m-erlang-20.2.1.drv' failed

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failure for system: x86_64-linux

escript /tmp/nix-build-erlang-20.2.1.drv-0/source/bootstrap/lib/erl_docgen/priv/bin/specs_gen.escript -I../../include -I../../../kernel/include -o../specs/ ../../src/gen_statem.erl
date=`date +"%B %e, %Y"`; \
specs_file=`pwd`/../specs/specs_gen_statem.xml; \
xsltproc --output "../man3/gen_statem.3" --stringparam company "Ericsson AB" --stringparam docgen "/tmp/nix-build-erlang-20.2.1.drv-0/source/bootstrap/lib/erl_docgen" --stringparam gendate "$date" --stringparam appname "stdlib" --stringparam appver "3.4.3" --stringparam specs_file "$specs_file" --xinclude -path /tmp/nix-build-erlang-20.2.1.drv-0/source/bootstrap/lib/erl_docgen/priv/dtd  -path /tmp/nix-build-erlang-20.2.1.drv-0/source/bootstrap/lib/erl_docgen/priv/dtd_man_entities /tmp/nix-build-erlang-20.2.1.drv-0/source/bootstrap/lib/erl_docgen/priv/xsl/db_man.xsl gen_statem.xml
escript /tmp/nix-build-erlang-20.2.1.drv-0/source/bootstrap/lib/erl_docgen/priv/bin/specs_gen.escript -I../../include -I../../../kernel/include -o../specs/ ../../src/io.erl
date=`date +"%B %e, %Y"`; \
specs_file=`pwd`/../specs/specs_io.xml; \
xsltproc --output "../man3/io.3" --stringparam company "Ericsson AB" --stringparam docgen "/tmp/nix-build-erlang-20.2.1.drv-0/source/bootstrap/lib/erl_docgen" --stringparam gendate "$date" --stringparam appname "stdlib" --stringparam appver "3.4.3" --stringparam specs_file "$specs_file" --xinclude -path /tmp/nix-build-erlang-20.2.1.drv-0/source/bootstrap/lib/erl_docgen/priv/dtd  -path /tmp/nix-build-erlang-20.2.1.drv-0/source/bootstrap/lib/erl_docgen/priv/dtd_man_entities /tmp/nix-build-erlang-20.2.1.drv-0/source/bootstrap/lib/erl_docgen/priv/xsl/db_man.xsl io.xml
building of ‘/nix/store/cnwa2l5nrcp4daadil23ia51f7l8qjf8-erlang-20.2.1.drv’ timed out after 1800 seconds
error: build of ‘/nix/store/cnwa2l5nrcp4daadil23ia51f7l8qjf8-erlang-20.2.1.drv’ failed

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failure for system: aarch64-linux

 ERLC	../ebin/wxe_util.beam
 ERLC	../ebin/wxSpinEvent.beam
 ERLC	../ebin/wxListItem.beam
 ERLC	../ebin/wxComboBox.beam
 ERLC	../ebin/wxTaskBarIconEvent.beam
 ERLC	../ebin/wxTreeEvent.beam
 ERLC	../ebin/wxScrollWinEvent.beam
 ERLC	../ebin/wxSpinCtrl.beam
building of '/nix/store/qys4yrmfnsxz4d5bryy7v3f4xqlaankj-erlang-20.2.1.drv' timed out after 1800 seconds
error: build of '/nix/store/qys4yrmfnsxz4d5bryy7v3f4xqlaankj-erlang-20.2.1.drv' failed

@grahamc
Copy link
Member

grahamc commented Dec 16, 2017

I increased the timeouts on my linux builder and the aarch64 builder to 3600s. Let's try this again.

@grahamc
Copy link
Member

grahamc commented Dec 16, 2017

@GrahamcOfBorg build erlangR20

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Success for system: x86_64-linux

/nix/store/08iwhbyj70qpavfm5izi9d8mhsj211dq-erlang-20.2.1/lib/erlang/erts-9.2/bin/start.src: interpreter directive changed from "/bin/sh" to "/nix/store/sxwh6a4v8xdlvg4jf3vl2jh9l5760hsc-bash-4.4-p12/bin/sh"
/nix/store/08iwhbyj70qpavfm5izi9d8mhsj211dq-erlang-20.2.1/lib/erlang/erts-9.2/bin/start: interpreter directive changed from "/bin/sh" to "/nix/store/sxwh6a4v8xdlvg4jf3vl2jh9l5760hsc-bash-4.4-p12/bin/sh"
/nix/store/08iwhbyj70qpavfm5izi9d8mhsj211dq-erlang-20.2.1/lib/erlang/erts-9.2/bin/erl: interpreter directive changed from "/bin/sh" to "/nix/store/sxwh6a4v8xdlvg4jf3vl2jh9l5760hsc-bash-4.4-p12/bin/sh"
/nix/store/08iwhbyj70qpavfm5izi9d8mhsj211dq-erlang-20.2.1/lib/erlang/erts-9.2/bin/start_erl.src: interpreter directive changed from "/bin/sh" to "/nix/store/sxwh6a4v8xdlvg4jf3vl2jh9l5760hsc-bash-4.4-p12/bin/sh"
/nix/store/08iwhbyj70qpavfm5izi9d8mhsj211dq-erlang-20.2.1/lib/erlang/erts-9.2/bin/erl.src: interpreter directive changed from "/bin/sh" to "/nix/store/sxwh6a4v8xdlvg4jf3vl2jh9l5760hsc-bash-4.4-p12/bin/sh"
checking for references to /tmp/nix-build-erlang-20.2.1.drv-0 in /nix/store/08iwhbyj70qpavfm5izi9d8mhsj211dq-erlang-20.2.1...
wrong ELF type
wrong ELF type
wrong ELF type
/nix/store/08iwhbyj70qpavfm5izi9d8mhsj211dq-erlang-20.2.1

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failure for system: aarch64-linux

make[6]: Leaving directory '/build/source/lib/runtime_tools/c_src'
make[5]: Leaving directory '/build/source/lib/runtime_tools/c_src'
make[4]: Leaving directory '/build/source/lib/runtime_tools/c_src'
make[4]: Entering directory '/build/source/lib/runtime_tools/doc/src'
make -w RELEASE_PATH="/nix/store/pz5lkgnh027p169jlfc98avpqbfd92vr-erlang-20.2.1/lib/erlang"   release_docs_spec
make[5]: Entering directory '/build/source/lib/runtime_tools/doc/src'
/build/source/make/emd2exml /build/source/HOWTO/DTRACE.md DTRACE.xml
/build/source/make/emd2exml /build/source/HOWTO/SYSTEMTAP.md SYSTEMTAP.xml
building of '/nix/store/qys4yrmfnsxz4d5bryy7v3f4xqlaankj-erlang-20.2.1.drv' timed out after 3600 seconds
error: build of '/nix/store/qys4yrmfnsxz4d5bryy7v3f4xqlaankj-erlang-20.2.1.drv' failed

@ankhers
Copy link
Contributor Author

ankhers commented Dec 16, 2017

@grahamc Another timeout :(

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failure for system: x86_64-darwin

clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [Makefile:169: ../priv/x86_64-apple-darwin16.3.0/wxe_driver.so] Error 1
make[3]: Leaving directory '/private/tmp/nix-build-erlang-20.2.1.drv-0/source/lib/wx/c_src'
make[2]: *** [/private/tmp/nix-build-erlang-20.2.1.drv-0/source/make/otp_subdir.mk:29: opt] Error 2
make[2]: Leaving directory '/private/tmp/nix-build-erlang-20.2.1.drv-0/source/lib/wx'
make[1]: *** [/private/tmp/nix-build-erlang-20.2.1.drv-0/source/make/otp_subdir.mk:29: opt] Error 2
make[1]: Leaving directory '/private/tmp/nix-build-erlang-20.2.1.drv-0/source/lib'
make: *** [Makefile:464: libs] Error 2
builder for '/nix/store/63miqv9f6jxmb2h0yag56ilywv5nyd9m-erlang-20.2.1.drv' failed with exit code 2
error: build of '/nix/store/63miqv9f6jxmb2h0yag56ilywv5nyd9m-erlang-20.2.1.drv' failed

@ankhers ankhers changed the title Erlang: 20.1.7 -> 20.2.1 Erlang: 20.1.7 -> 20.2.1 -> 20.2.2 Dec 19, 2017
@ankhers
Copy link
Contributor Author

ankhers commented Dec 19, 2017

Another version of Erlang was just released. Should I close this PR and open a new one, should I squash the commits, or something else entirely?

@orivej orivej changed the title Erlang: 20.1.7 -> 20.2.1 -> 20.2.2 erlang: 20.1.7 -> 20.2.2 Dec 19, 2017
@orivej orivej merged commit 95f9eaf into NixOS:master Dec 19, 2017
@orivej
Copy link
Contributor

orivej commented Dec 19, 2017

I have amended the PR as necessary and merged. Thank you!

@ankhers ankhers deleted the update_erlang_20 branch December 20, 2017 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants