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

virtualbox: 5.2.6 -> 5.2.8 #36127

Closed
wants to merge 1 commit into from

Conversation

dtzWill
Copy link
Member

@dtzWill dtzWill commented Feb 28, 2018

Update!

Also fixes guest additions w/4.15.

  • 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.

@dtzWill
Copy link
Member Author

dtzWill commented Feb 28, 2018

@GrahamcOfBorg build linuxPackages_latest.virtualbox linuxPackages_latest.virtualboxGuestAdditions linuxPackages.virtualbox linuxPackages.virtualboxGuestAdditions
@GrahamcOfBorg test virtualbox

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Partial log (click to expand)

error: attribute ‘virttualboxGuestAdditions’ in selection path ‘linuxPackages_latest.virttualboxGuestAdditions’ not found

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

error: while evaluating 'callPackageWith' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:113:35, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/all-packages.nix:13349:18:
while evaluating 'makeOverridable' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:72:24, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:117:8:
while evaluating anonymous function at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/virtualbox/default.nix:1:1, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:74:12:
while evaluating the attribute 'linux_4_15' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/all-packages.nix:13167:3:
while evaluating 'callPackageWith' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:113:35, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/all-packages.nix:13167:16:
while evaluating 'makeOverridable' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:72:24, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:117:8:
while evaluating anonymous function at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/kernel/linux-4.15.nix:1:1, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:74:12:
while evaluating 'makeOverridable' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:72:24, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/kernel/linux-4.15.nix:5:1:
while evaluating anonymous function at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/kernel/generic.nix:9:1, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:74:12:
assertion failed at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/kernel/generic.nix:41:1

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

error: while evaluating 'callPackageWith' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:113:35, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/all-packages.nix:13349:18:
while evaluating 'makeOverridable' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:72:24, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:117:8:
while evaluating anonymous function at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/virtualbox/default.nix:1:1, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:74:12:
while evaluating the attribute 'linux_4_15' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/all-packages.nix:13167:3:
while evaluating 'callPackageWith' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:113:35, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/all-packages.nix:13167:16:
while evaluating 'makeOverridable' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:72:24, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:117:8:
while evaluating anonymous function at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/kernel/linux-4.15.nix:1:1, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:74:12:
while evaluating 'makeOverridable' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:72:24, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/kernel/linux-4.15.nix:5:1:
while evaluating anonymous function at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/kernel/generic.nix:9:1, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:74:12:
assertion failed at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/kernel/generic.nix:41:1

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

Package ‘virtualbox-5.2.8’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/applications/virtualization/virtualbox/default.nix:208 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)

@NeQuissimus
Copy link
Member

Let's try this again. I think Borg grabbed your typo :)

@GrahamcOfBorg build linuxPackages_latest.virtualbox linuxPackages_latest.virtualboxGuestAdditions linuxPackages.virtualbox linuxPackages.virtualboxGuestAdditions
@GrahamcOfBorg test virtualbox

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

error: while evaluating 'callPackageWith' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:113:35, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/all-packages.nix:13333:18:
while evaluating 'makeOverridable' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:72:24, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:117:8:
while evaluating anonymous function at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/virtualbox/default.nix:1:1, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:74:12:
while evaluating the attribute 'linux_4_15' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/all-packages.nix:13151:3:
while evaluating 'callPackageWith' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:113:35, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/all-packages.nix:13151:16:
while evaluating 'makeOverridable' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:72:24, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:117:8:
while evaluating anonymous function at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/kernel/linux-4.15.nix:1:1, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:74:12:
while evaluating 'makeOverridable' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:72:24, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/kernel/linux-4.15.nix:5:1:
while evaluating anonymous function at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/kernel/generic.nix:9:1, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:74:12:
assertion failed at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/kernel/generic.nix:41:1

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Partial log (click to expand)

kBuild: Compiling VBoxManage - /tmp/nix-build-virtualbox-5.2.8.drv-0/VirtualBox-5.2.8/src/VBox/Frontends/VBoxManage/VBoxManageDebugVM.cpp
kBuild: Compiling VBoxManage - /tmp/nix-build-virtualbox-5.2.8.drv-0/VirtualBox-5.2.8/src/VBox/Frontends/VBoxManage/VBoxManageDHCPServer.cpp
kBuild: Compiling VBoxManage - /tmp/nix-build-virtualbox-5.2.8.drv-0/VirtualBox-5.2.8/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp
kBuild: Compiling VBoxManage - /tmp/nix-build-virtualbox-5.2.8.drv-0/VirtualBox-5.2.8/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
kBuild: Compiling VBoxManage - /tmp/nix-build-virtualbox-5.2.8.drv-0/VirtualBox-5.2.8/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrlListener.cpp
kBuild: Compiling VBoxManage - /tmp/nix-build-virtualbox-5.2.8.drv-0/VirtualBox-5.2.8/src/VBox/Frontends/VBoxManage/VBoxManageGuestProp.cpp
building of ‘/nix/store/nswmjwqm4mccvdds64xz7mc56wm19dx3-virtualbox-5.2.8.drv’ timed out after 1800 seconds
cannot build derivation ‘/nix/store/6nrvrjda21vrxrfbvmnf1mbbhjg5xgsz-virtualbox-modules-5.2.8-4.14.22.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/asbpdfpyldqsh7cz4lp23ajhg4kvjw05-virtualbox-modules-5.2.8-4.15.6.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/6nrvrjda21vrxrfbvmnf1mbbhjg5xgsz-virtualbox-modules-5.2.8-4.14.22.drv’, ‘/nix/store/asbpdfpyldqsh7cz4lp23ajhg4kvjw05-virtualbox-modules-5.2.8-4.15.6.drv’ failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

@dtzWill
Copy link
Member Author

dtzWill commented Feb 28, 2018

x86_64-linux build timed out, can confirm it works locally FWIW.

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Partial log (click to expand)

kBuild: Compiling VBoxAPIWrap - /tmp/nix-build-virtualbox-5.2.8.drv-0/VirtualBox-5.2.8/out/linux.amd64/release/obj/VBoxAPIWrap/MediumAttachmentWrap.cpp
kBuild: Compiling VBoxAPIWrap - /tmp/nix-build-virtualbox-5.2.8.drv-0/VirtualBox-5.2.8/out/linux.amd64/release/obj/VBoxAPIWrap/TokenWrap.cpp
kBuild: Compiling VBoxAPIWrap - /tmp/nix-build-virtualbox-5.2.8.drv-0/VirtualBox-5.2.8/out/linux.amd64/release/obj/VBoxAPIWrap/KeyboardWrap.cpp
kBuild: Compiling VBoxAPIWrap - /tmp/nix-build-virtualbox-5.2.8.drv-0/VirtualBox-5.2.8/out/linux.amd64/release/obj/VBoxAPIWrap/MouseWrap.cpp
kBuild: Compiling VBoxAPIWrap - /tmp/nix-build-virtualbox-5.2.8.drv-0/VirtualBox-5.2.8/out/linux.amd64/release/obj/VBoxAPIWrap/FramebufferOverlayWrap.cpp
kBuild: Compiling VBoxAPIWrap - /tmp/nix-build-virtualbox-5.2.8.drv-0/VirtualBox-5.2.8/out/linux.amd64/release/obj/VBoxAPIWrap/DisplayWrap.cpp
kBuild: Compiling VBoxAPIWrap - /tmp/nix-build-virtualbox-5.2.8.drv-0/VirtualBox-5.2.8/out/linux.amd64/release/obj/VBoxAPIWrap/NetworkAdapterWrap.cpp
kBuild: Compiling VBoxAPIWrap - /tmp/nix-build-virtualbox-5.2.8.drv-0/VirtualBox-5.2.8/out/linux.amd64/release/obj/VBoxAPIWrap/SerialPortWrap.cpp
building of ‘/nix/store/d3bv6f8pslb79mqmfw0aa7h798f38820-virtualbox-5.2.8.drv’ timed out after 1800 seconds
error: build of ‘/nix/store/d3bv6f8pslb79mqmfw0aa7h798f38820-virtualbox-5.2.8.drv’ failed

@NeQuissimus
Copy link
Member

hmm, so the test fails for me locally but I don't think it's because of Virtualbox. I'd like somebody else to take a look at this

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Partial log (click to expand)

  LD [M]  net/bridge/br_netfilter.o
  CC [M]  net/caif/caif_dev.o
  CC [M]  drivers/gpu/drm/ttm/ttm_module.o
  CC [M]  net/caif/cfcnfg.o
  CC [M]  drivers/gpu/drm/ttm/ttm_object.o
  CC [M]  drivers/gpu/drm/ttm/ttm_lock.o
building of ‘/nix/store/sf2ms0kqnd98c565r6mkk3a8i116jznv-linux-4.15.7.drv’ timed out after 1800 seconds
cannot build derivation ‘/nix/store/lzcgnnwnh98a9d81ac9mwknw57q479dq-VirtualBox-GuestAdditions-5.2.8-4.15.7.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/0qxpnx0yzvwc7d1w9ia52jjlq4dgnbh4-virtualbox-modules-5.2.8-4.15.7.drv’: 2 dependencies couldn't be built
error: build of ‘/nix/store/0qxpnx0yzvwc7d1w9ia52jjlq4dgnbh4-virtualbox-modules-5.2.8-4.15.7.drv’, ‘/nix/store/24f7h4ncjwk7d6p4zqflngl25bdd4y45-VirtualBox-GuestAdditions-5.2.8-4.14.23.drv’, ‘/nix/store/9167kak64xj081vvnm79qi15rk1x6xbr-virtualbox-modules-5.2.8-4.14.23.drv’, ‘/nix/store/lzcgnnwnh98a9d81ac9mwknw57q479dq-VirtualBox-GuestAdditions-5.2.8-4.15.7.drv’ failed

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

Package ‘virtualbox-modules-5.2.8-4.15.7’ in /var/lib/gc-of-borg/nix-test-rs-10/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-10/pkgs/os-specific/linux/virtualbox/default.nix:31 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 aarch64-linux (full log)

Partial log (click to expand)

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

Package ‘virtualbox-modules-5.2.8-4.15.7’ in /var/lib/gc-of-borg/nix-test-rs-10/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-10/pkgs/os-specific/linux/virtualbox/default.nix:31 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 ‘virtualbox-5.2.8’ in /var/lib/gc-of-borg/nix-test-rs-25/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-25/pkgs/applications/virtualization/virtualbox/default.nix:208 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 aarch64-linux (full log)

Partial log (click to expand)

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

Package ‘virtualbox-modules-5.2.8-4.15.7’ in /var/lib/gc-of-borg/nix-test-rs-31/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-31/pkgs/os-specific/linux/virtualbox/default.nix:31 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 aarch64-linux (full log)

Partial log (click to expand)

@dtzWill
Copy link
Member Author

dtzWill commented Feb 28, 2018

hmm, so the test fails for me locally but I don't think it's because of Virtualbox. I'd like somebody else to take a look at this

You'll need the icu fix from #36130 if that was the problem you're seeing?

I'll push a rebased version shortly, also kicking off a local build of the test :).

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

Package ‘virtualbox-5.2.8’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/applications/virtualization/virtualbox/default.nix:208 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 aarch64-linux (full log)

Partial log (click to expand)

Package ‘virtualbox-5.2.8’ in /var/lib/gc-of-borg/nix-test-rs-10/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-10/pkgs/applications/virtualization/virtualbox/default.nix:208 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.

@dtzWill
Copy link
Member Author

dtzWill commented Feb 28, 2018

Still testing, but the VirtualBox wrapper (/run/wrappers/bin/VirtualBox) seems to segfault? Double-checking a few things but perhaps there is more work to do here....

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

strange: no string table
shrinking /nix/store/94gaaa48lzk945wk2p43phcg69rlxiah-virtualbox-5.2.8/libexec/virtualbox/VBoxExtPackHelperApp
shrinking /nix/store/94gaaa48lzk945wk2p43phcg69rlxiah-virtualbox-5.2.8/libexec/virtualbox/VBoxXPCOMIPCD
shrinking RPATHs of ELF executables and libraries in /nix/store/cka0nq6blvh40fpz8kdxvix31nby7h57-virtualbox-5.2.8-modsrc
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/cka0nq6blvh40fpz8kdxvix31nby7h57-virtualbox-5.2.8-modsrc
/nix/store/cka0nq6blvh40fpz8kdxvix31nby7h57-virtualbox-5.2.8-modsrc/build_in_tmp: interpreter directive changed from "/bin/sh" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/sh"
checking for references to /tmp/nix-build-virtualbox-5.2.8.drv-0 in /nix/store/cka0nq6blvh40fpz8kdxvix31nby7h57-virtualbox-5.2.8-modsrc...
shrinking RPATHs of ELF executables and libraries in /nix/store/cka0nq6blvh40fpz8kdxvix31nby7h57-virtualbox-5.2.8-modsrc
postPatchMkspecs

@dtzWill
Copy link
Member Author

dtzWill commented Mar 1, 2018

FWIW it appears the NixOS test for virtualbox was previously broken, before this change. Blargh.

@globin
Copy link
Member

globin commented Mar 1, 2018

cc @aszlig

@aszlig
Copy link
Member

aszlig commented Mar 1, 2018

Looks fine, but I'd like to merge this after fixing the current test failures, which are twofold: First, they fail for some reason and second they don't give any output from the guests since a while.

@dtzWill
Copy link
Member Author

dtzWill commented Mar 6, 2018

Beep boop!

Is there an issue or something tracking/investigating those test failures?

@aszlig
Copy link
Member

aszlig commented Mar 6, 2018

@dtzWill: Well, for the latter, the fix is already in master (88530e0), the first however is caused by torvalds/linux@72f5e08, which has landed in kernel 4.14.8. VirtualBox tries to figure out the TSS, but seems to be unable to find the correct location. I'm currently trying to dig through the VirtualBox code to fix it.

@aszlig
Copy link
Member

aszlig commented Mar 13, 2018

@dtzWill: Workaround pushed in b05df74, merging this pull request later after running tests.

aszlig pushed a commit that referenced this pull request Mar 13, 2018
Tested against all the VirtualBox VM tests.

Signed-off-by: aszlig <aszlig@nix.build>
Closes: #36127
(cherry picked from commit 273fd89)
Reason: The update is trivial in terms of affected packages and contains
        a bunch of Linux-specific fixes.
Signed-off-by: aszlig <aszlig@nix.build>
@aszlig aszlig closed this in 273fd89 Mar 13, 2018
@NeQuissimus
Copy link
Member

Awesome, thanks @aszlig !

@dtzWill
Copy link
Member Author

dtzWill commented Mar 13, 2018

:D Thanks!

@dtzWill dtzWill deleted the update/virtualbox-5.2.8 branch March 13, 2018 23:57
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