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

xen: 4.8.2 -> 4.8.3 #36388

Merged
merged 2 commits into from Mar 6, 2018
Merged

xen: 4.8.2 -> 4.8.3 #36388

merged 2 commits into from Mar 6, 2018

Conversation

xeji
Copy link
Contributor

@xeji xeji commented Mar 6, 2018

Motivation for this change

minor bugfix 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.

/cc @oxij

@7c6f434c
Copy link
Member

7c6f434c commented Mar 6, 2018

@GrahamcOfBorg build xen

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

Package ‘xen-4.5.5’ in /var/lib/gc-of-borg/nix-test-rs-28/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-28/pkgs/applications/virtualization/xen/generic.nix:226 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

Success on x86_64-linux (full log)

Partial log (click to expand)


  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 3346k  100 3346k    0     0  4615k      0 --:--:-- --:--:-- --:--:-- 4615k

fetching path ‘/nix/store/dvwh9vki5j6r8i8xc54f8wlkrh69vl3g-xen-4.5.5’...

*** Downloading ‘https://cache.nixos.org/nar/1hh7vnhm6bkbxad4cpa3q31gi7cfi52c013i74f48zrkma7j29ls.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/dvwh9vki5j6r8i8xc54f8wlkrh69vl3g-xen-4.5.5’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 44 10.3M   44 4771k    0     0  5169k      0  0:00:02 --:--:--  0:00:02 5163k
100 10.3M  100 10.3M    0     0  7484k      0  0:00:01  0:00:01 --:--:-- 7484k

/nix/store/dvwh9vki5j6r8i8xc54f8wlkrh69vl3g-xen-4.5.5

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

Package ‘xen-4.5.5’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/applications/virtualization/xen/generic.nix:226 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.

@xeji
Copy link
Contributor Author

xeji commented Mar 6, 2018

@7c6f434c please build xen_4_8 xen_4_8-light xen_4_8-slim
(the default xen is still 4.5, unrelated to this pr)

@7c6f434c
Copy link
Member

7c6f434c commented Mar 6, 2018

@GrahamcOfBorg build xen_4_8 xen_4_8-light xen_4_8-slim

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

Package ‘xen-4.8.3’ in /var/lib/gc-of-borg/nix-test-rs-29/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-29/pkgs/applications/virtualization/xen/generic.nix:226 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)

Package ‘xen-4.8.3’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/applications/virtualization/xen/generic.nix:226 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.

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Partial log (click to expand)

/nix/store/kbinyg3zcrpn4piaqvws92kb6p9m71xk-xen-4.8.3/sbin/xen-ringwatch: interpreter directive changed from "/usr/bin/env python" to "/nix/store/7b2z0vfbs9539ga4pxx5gmli47rz5y3n-python-2.7.14/bin/python"
/nix/store/kbinyg3zcrpn4piaqvws92kb6p9m71xk-xen-4.8.3/sbin/xen-bugtool: interpreter directive changed from "/usr/bin/env python" to "/nix/store/7b2z0vfbs9539ga4pxx5gmli47rz5y3n-python-2.7.14/bin/python"
/nix/store/kbinyg3zcrpn4piaqvws92kb6p9m71xk-xen-4.8.3/lib/xen/bin/xendomains: interpreter directive changed from "/bin/bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
checking for references to /tmp/nix-build-xen-4.8.3.drv-0 in /nix/store/kbinyg3zcrpn4piaqvws92kb6p9m71xk-xen-4.8.3...
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
moving /nix/store/kbinyg3zcrpn4piaqvws92kb6p9m71xk-xen-4.8.3/sbin/* to /nix/store/kbinyg3zcrpn4piaqvws92kb6p9m71xk-xen-4.8.3/bin
error: build of ‘/nix/store/dwyfg793bys25nx2x384qj41nq18h3rr-xen-4.8.3.drv’ failed

@7c6f434c
Copy link
Member

7c6f434c commented Mar 6, 2018

I looked at the build log and I don't understand what has failed. @oxij — do you see anything interesting in the log?

@xeji
Copy link
Contributor Author

xeji commented Mar 6, 2018

Don't understand this either. Builds on my machine.

@oxij
Copy link
Member

oxij commented Mar 6, 2018 via email

@7c6f434c
Copy link
Member

7c6f434c commented Mar 6, 2018

@GrahamcOfBorg build xen_4_8

@GrahamcOfBorg build xen_4_8-light

@GrahamcOfBorg build xen_4_8-slim

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

/nix/store/1mh37yx6cbn7x1b9jv03yjadhydgqczd-xen-4.8.3

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

Package ‘xen-4.8.3’ in /var/lib/gc-of-borg/nix-test-rs-31/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-31/pkgs/applications/virtualization/xen/generic.nix:226 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 aarch64-linux (full log)

Partial log (click to expand)

Package ‘xen-4.8.3’ in /var/lib/gc-of-borg/nix-test-rs-1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-1/pkgs/applications/virtualization/xen/generic.nix:226 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 aarch64-linux (full log)

Partial log (click to expand)

Package ‘xen-4.8.3’ in /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/pkgs/applications/virtualization/xen/generic.nix:226 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

Success on x86_64-linux (full log)

Partial log (click to expand)

/nix/store/kbinyg3zcrpn4piaqvws92kb6p9m71xk-xen-4.8.3

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

Package ‘xen-4.8.3’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/applications/virtualization/xen/generic.nix:226 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.

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

Package ‘xen-4.8.3’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/applications/virtualization/xen/generic.nix:226 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.

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

Package ‘xen-4.8.3’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/applications/virtualization/xen/generic.nix:226 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.

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Partial log (click to expand)

remote: Counting objects: 27, done.        
remote: Compressing objects:   3% (1/26)           
remote: Compressing objects:   7% (2/26)           
remote: Compressing objects:  11% (3/26)           
remote: Compressing objects:  15% (4/26)           
remote: Compressing objects:  19% (5/26)           
remote: Compressing objects:  23% (6/26)           
remote: Compressing objects:  26% (7/26)           
remote: Compressing objects:  30% (8/26)           
remote: Compressing objects:  34% (9/26)           
remote: Compressing objects:  38% (10/26)           
remote: Compressing objects:  42% (11/26)           
remote: Compressing objects:  46% (12/26)           
remote: Compressing objects:  50% (13/26)           
remote: Compressing objects:  53% (14/26)           
remote: Compressing objects:  57% (15/26)           
remote: Compressing objects:  61% (16/26)           
remote: Compressing objects:  65% (17/26)           
remote: Compressing objects:  69% (18/26)           
remote: Compressing objects:  73% (19/26)           
remote: Compressing objects:  76% (20/26)           
remote: Compressing objects:  80% (21/26)           
remote: Compressing objects:  84% (22/26)           
remote: Compressing objects:  88% (23/26)           
remote: Compressing objects:  92% (24/26)           
remote: Compressing objects:  96% (25/26)           
remote: Compressing objects: 100% (26/26)           
remote: Compressing objects: 100% (26/26), done.        
remote: Total 27 (delta 0), reused 20 (delta 0)        
From git://git.qemu-project.org/vgabios
 * branch            HEAD       -> FETCH_HEAD
Switched to a new branch 'fetchgit'
removing `.git'...
output path ‘/nix/store/f04znbzvgdknjwx43nyhx90yfn6nwry1-qemu-xen’ has r:sha256 hash ‘0lb7zd5nvr6znx47z93nbq4gj8xfb3622s8r2cvmpqmwnmlc3nd4’ when ‘090ibcgs3xwmavk9yg2vaqr3xp9hirnfd3r40ccvrl49c5x58w3g’ was expected
cannot build derivation ‘/nix/store/dwyfg793bys25nx2x384qj41nq18h3rr-xen-4.8.3.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/dwyfg793bys25nx2x384qj41nq18h3rr-xen-4.8.3.drv’ failed

@xeji
Copy link
Contributor Author

xeji commented Mar 6, 2018

ok, guess i can fix that :-)

@xeji
Copy link
Contributor Author

xeji commented Mar 6, 2018

Weird. Looks like nix-prefetch-git (which I used here) stored the qemu-xen git checkout under a different hash on my machine, so the build worked on my machine with that hash. I suspect this is related to the many git submodules included in qemu-xen.

@xeji
Copy link
Contributor Author

xeji commented Mar 6, 2018

should build now

@7c6f434c
Copy link
Member

7c6f434c commented Mar 6, 2018

@xeji are you sure it doesn't change every time?

@xeji
Copy link
Contributor Author

xeji commented Mar 6, 2018

don't think so. I just started the build with a dummy hash and got exactly the same hash as ofborg in the error log. neither the git revision nor the submodule commits have changed recently. If this was a general problem, we would have encountered it many times already when building xen. I thik it's just nix-prefetch-git.

@7c6f434c
Copy link
Member

7c6f434c commented Mar 6, 2018

@GrahamcOfBorg build xen_4_8 xen_4_8-light xen_4_8-slim

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

Package ‘xen-4.8.3’ in /var/lib/gc-of-borg/nix-test-rs-3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-3/pkgs/applications/virtualization/xen/generic.nix:226 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)

Package ‘xen-4.8.3’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/applications/virtualization/xen/generic.nix:226 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.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
moving /nix/store/kr9prvg738vikc15jp5cwcvvwd225jkw-xen-4.8.3/sbin/* to /nix/store/kr9prvg738vikc15jp5cwcvvwd225jkw-xen-4.8.3/bin
/nix/store/kr9prvg738vikc15jp5cwcvvwd225jkw-xen-4.8.3
/nix/store/1mh37yx6cbn7x1b9jv03yjadhydgqczd-xen-4.8.3
/nix/store/kbinyg3zcrpn4piaqvws92kb6p9m71xk-xen-4.8.3

@7c6f434c 7c6f434c merged commit 6b97544 into NixOS:master Mar 6, 2018
@xeji xeji deleted the xen-4-8-3 branch March 6, 2018 22:42
@oxij
Copy link
Member

oxij commented Mar 6, 2018 via email

@xeji
Copy link
Contributor Author

xeji commented Mar 6, 2018

Thanks, switching to revision hash is a good idea. l would leave this as is for now and clean this up next time.

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

4 participants