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

Dlang update #34812

Merged
merged 3 commits into from Feb 17, 2018
Merged

Dlang update #34812

merged 3 commits into from Feb 17, 2018

Conversation

ThomasMader
Copy link
Contributor

Motivation for this change

Update versions for dmd, dtools and dub.

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.

@Mic92
Copy link
Member

Mic92 commented Feb 10, 2018

@GrahamcOfBorg build dmd dtools dub

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

Package ‘dmd-2.078.2’ in /var/lib/gc-of-borg/nix-test-rs-1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-1/pkgs/development/compilers/dmd/default.nix:230 is not supported on ‘aarch64-linux’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

make: *** [Makefile:249: test_results/d_do_test] Error 255
make: Leaving directory '/private/tmp/nix-build-dmdBuild-2.078.2.drv-0/dmd/test'
builder for '/nix/store/07dm1gmiy51k7r5id8r681m4nxk4sxi8-dmdBuild-2.078.2.drv' failed with exit code 2
cannot build derivation '/nix/store/7fij91y5p2m3gp56dd4cqy0x6cqig6rh-phobosUnittests-2.078.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/66ima20ch9b0ynwffz9jv4m53rqg6bbr-dmd-2.078.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/qki04q15cgyhfk71w5z02syphisclzv7-dtools-2.078.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/vf5sgkjh5rwzpsy41x1zpa3mg27d72ch-dubBuild-1.7.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/k5y60djki5lca5qvds8ch0cc4lwcdvqn-dubUnittests-1.7.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/mmr4jic919nkvcbbv99fv2fr2kbkp9zp-dub-1.7.2.drv': 2 dependencies couldn't be built
error: build of '/nix/store/66ima20ch9b0ynwffz9jv4m53rqg6bbr-dmd-2.078.2.drv', '/nix/store/mmr4jic919nkvcbbv99fv2fr2kbkp9zp-dub-1.7.2.drv', '/nix/store/qki04q15cgyhfk71w5z02syphisclzv7-dtools-2.078.2.drv' failed

@ThomasMader
Copy link
Contributor Author

Failure on x86_64-darwin (full log)

Could you maybe trigger a new run on Mac to see if it is reproducible on this machine?
On my machine it went through.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/llb71z6xg234n0yih1m91mg194xvf5gd-dubUnittests-1.7.2
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/llb71z6xg234n0yih1m91mg194xvf5gd-dubUnittests-1.7.2
checking for references to /build in /nix/store/llb71z6xg234n0yih1m91mg194xvf5gd-dubUnittests-1.7.2...
building '/nix/store/ndgrqfa0nma97j5bp80gvgpcix2xmfxn-dub-1.7.2.drv'...
installing
/nix/store/qcydsjd0l6g8308pqsksabsnv0dmyl1d-dmd-2.078.2
/nix/store/fl7f2cp7mlrp99injv7agbmg170kb04z-dtools-2.078.2
/nix/store/5ssn35s30fjdqj1wipnl39q893mp04k2-dub-1.7.2

@Mic92
Copy link
Member

Mic92 commented Feb 10, 2018

@GrahamcOfBorg build dmd dtools dub

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

Package ‘dmd-2.078.2’ in /var/lib/gc-of-borg/nix-test-rs-2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-2/pkgs/development/compilers/dmd/default.nix:230 is not supported on ‘aarch64-linux’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

@Mic92
Copy link
Member

Mic92 commented Feb 10, 2018

@ThomasMader you also ask for borg access here: NixOS/ofborg#22

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

make: *** [Makefile:249: test_results/d_do_test] Error 255
make: Leaving directory '/private/tmp/nix-build-dmdBuild-2.078.2.drv-0/dmd/test'
builder for '/nix/store/07dm1gmiy51k7r5id8r681m4nxk4sxi8-dmdBuild-2.078.2.drv' failed with exit code 2
cannot build derivation '/nix/store/7fij91y5p2m3gp56dd4cqy0x6cqig6rh-phobosUnittests-2.078.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/66ima20ch9b0ynwffz9jv4m53rqg6bbr-dmd-2.078.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/qki04q15cgyhfk71w5z02syphisclzv7-dtools-2.078.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/vf5sgkjh5rwzpsy41x1zpa3mg27d72ch-dubBuild-1.7.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/k5y60djki5lca5qvds8ch0cc4lwcdvqn-dubUnittests-1.7.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/mmr4jic919nkvcbbv99fv2fr2kbkp9zp-dub-1.7.2.drv': 2 dependencies couldn't be built
error: build of '/nix/store/66ima20ch9b0ynwffz9jv4m53rqg6bbr-dmd-2.078.2.drv', '/nix/store/mmr4jic919nkvcbbv99fv2fr2kbkp9zp-dub-1.7.2.drv', '/nix/store/qki04q15cgyhfk71w5z02syphisclzv7-dtools-2.078.2.drv' failed

@Mic92
Copy link
Member

Mic92 commented Feb 10, 2018

@LnL7 btw. You have a sandbox on your macOS builder, right?

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/llb71z6xg234n0yih1m91mg194xvf5gd-dubUnittests-1.7.2
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/llb71z6xg234n0yih1m91mg194xvf5gd-dubUnittests-1.7.2
checking for references to /tmp/nix-build-dubUnittests-1.7.2.drv-0 in /nix/store/llb71z6xg234n0yih1m91mg194xvf5gd-dubUnittests-1.7.2...
building path(s) ‘/nix/store/5ssn35s30fjdqj1wipnl39q893mp04k2-dub-1.7.2’
installing
/nix/store/qcydsjd0l6g8308pqsksabsnv0dmyl1d-dmd-2.078.2
/nix/store/fl7f2cp7mlrp99injv7agbmg170kb04z-dtools-2.078.2
/nix/store/5ssn35s30fjdqj1wipnl39q893mp04k2-dub-1.7.2

@ThomasMader
Copy link
Contributor Author

I just did a rerun but everything went through again.
In /etc/nix/nix.conf I have build-use-sandbox = true and build-cores = 4.
I am running currently on macOS High Sierra 10.13.3 Beta (17D29a)

I will update to 10.13.4 Beta 2 maybe it's related to that.
Any way to get more information about the bot build machine?

@ThomasMader
Copy link
Contributor Author

Did the update and now nix-build is stopping right at the beginning. :-/

nix-build -A dmd
these derivations will be built:
/nix/store/5h0d608gm0fn83jjcxdgvsaj9prcrnbb-dmd.drv
/nix/store/vvy5r7j489my262f7qb3yy55319sg2lb-druntime.drv
/nix/store/8yjsssadxk7wdb90pwjxqg7hi4095i5s-dmdBuild-2.078.2.drv
/nix/store/9shv1rc5nc9jsly7msc73dh2arnxjljp-phobosUnittests-2.078.2.drv
/nix/store/h4ga1vfh2j2fnvpibplhzhl9c3p8bzxi-dmd-2.078.2.drv
these paths will be fetched (128.47 MiB download, 609.35 MiB unpacked):
/nix/store/24i0p29d4cw0vissa7wvmg16vb66jnsl-apple-lib-xpc
/nix/store/26ssd6a59dw9lcsh5ycfp7m0jdby2sqb-apple-framework-CoreGraphics
/nix/store/2fai9mvfi9nak6jxmqnvv9xqlq0qlinb-clang-wrapper-4.0.1
/nix/store/cryxdda7a4pymfmn9zjkllqbc1cj58qs-dmd-2.067.1
/nix/store/g8ljrl1hzd90ad58m1vzllxi90rpwgxd-apple-framework-IOSurface
/nix/store/gk21pv5a8wwrj6frd5m283qjdvd1yvkn-clang-4.0.1
/nix/store/jk9p05hmny8hlm7ryf6gqb8vv259vn76-llvm-4.0.1
/nix/store/llppkqdpx0yvgkz38ynm5rkqnzl72zda-apple-framework-ApplicationServices
/nix/store/np2zl9hr0p0xhhr65ijgjkf2qcskg2vf-dmdBuild-2.067.1
/nix/store/pa9mggxfc2965vqf15nwjk58x687m0jl-stdenv-darwin
/nix/store/qpr8ya4qjl1mbnpxrhyzanz6pgvy8yg6-MacOS_SDK-10.10
/nix/store/z3xwixy8mqlmfxrln3i586wx89lny1is-apple-framework-Foundation
/nix/store/z5l24i1ph8amj68ypmizl4l639vxb83x-apple-framework-ImageIO
/nix/store/zmsg0kbyl492za3rcs6g5hjxajw403ly-apple-framework-CoreText
fetching path ‘/nix/store/jk9p05hmny8hlm7ryf6gqb8vv259vn76-llvm-4.0.1’...
building path(s) ‘/nix/store/2ml635qwfk2vfr64b6g7rc0hq5kdnjvz-dmd’
killing process 470
error: cannot kill processes for uid ‘30001’: failed due to signal 9 (Killed: 9)

@Mic92
Copy link
Member

Mic92 commented Feb 11, 2018

@ThomasMader I am not sure, if the same would happen on hydra though - we could merge and see. I can't tell what the machine is running exactly, but the bug you have seen might be worth reporting.

@grahamc
Copy link
Member

grahamc commented Feb 11, 2018

cc @LnL7 can you take a look? :/

@ThomasMader
Copy link
Contributor Author

I am on (Nix) 1.11.16 and I wanted to update to channel 17.09-darwin but nix-channel --update failed with the same problem.
I will try to reinstall nix.

@LnL7
Copy link
Member

LnL7 commented Feb 11, 2018

@grahamc Are you sure that's my builder? Works fine for me.

@LnL7
Copy link
Member

LnL7 commented Feb 11, 2018

@ThomasMader that looks like NixOS/nix#1823

@joachifm joachifm merged commit 4b43e72 into NixOS:master Feb 17, 2018
@joachifm
Copy link
Contributor

I take it the failure is unrelated to this PR

@ThomasMader ThomasMader deleted the dlang-update branch February 18, 2018 05:50
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

6 participants