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

bazel: 0.8.0 -> 0.9.0 #33082

Merged
merged 1 commit into from Jan 3, 2018
Merged

bazel: 0.8.0 -> 0.9.0 #33082

merged 1 commit into from Jan 3, 2018

Conversation

mboes
Copy link
Contributor

@mboes mboes commented Dec 26, 2017

Motivation for this change

New Bazel major release.

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.

@FRidh
Copy link
Member

FRidh commented Dec 27, 2017

Can you use the template.

@mboes mboes changed the title bazel: 0.8.0 -> 0.9.0. bazel: 0.8.0 -> 0.9.0 Dec 27, 2017
@grahamc
Copy link
Member

grahamc commented Dec 27, 2017

@GrahamcOfBorg build bazel

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

error: while evaluating the attribute 'buildInputs' of the derivation 'bazel-0.9.0' at /var/lib/gc-of-borg/nix-test-rs-3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-3/pkgs/stdenv/generic/make-derivation.nix:98:11:
while evaluating the attribute 'buildInputs' of the derivation 'openjdk-8u152b16' at /var/lib/gc-of-borg/nix-test-rs-3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-3/pkgs/stdenv/generic/make-derivation.nix:98:11:
while evaluating the attribute 'buildCommand' of the derivation 'openjdk-bootstrap' at /var/lib/gc-of-borg/nix-test-rs-3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-3/pkgs/stdenv/generic/make-derivation.nix:98:11:
No bootstrap for system

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

Package ‘bazel-0.9.0’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/development/tools/build-managers/bazel/default.nix:13 is not supported on ‘x86_64-darwin’, 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.

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

//examples/cpp:hello-success_test                                        PASSED in 0.2s
//examples/java-native/src/test/java/com/example/myproject:hello         PASSED in 0.7s

Executed 2 out of 2 tests: 2 tests pass.
There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are.
installing
post-installation fixup
patching script interpreter paths in /nix/store/53384s12jii4wf6cbpxpfh249xjmnrdp-bazel-0.9.0
checking for references to /tmp in /nix/store/53384s12jii4wf6cbpxpfh249xjmnrdp-bazel-0.9.0...
/nix/store/53384s12jii4wf6cbpxpfh249xjmnrdp-bazel-0.9.0

@globin
Copy link
Member

globin commented Dec 28, 2017

cc @abbradar

@jyp
Copy link
Contributor

jyp commented Jan 3, 2018

Note that bazel is already broken on darwin in master.

@zimbatm zimbatm merged commit a325405 into NixOS:master Jan 3, 2018
@zimbatm
Copy link
Member

zimbatm commented Jan 3, 2018

All good with nox-review on NixOS. This derivation could use come cleanup but the upgrade is working for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants