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 won't compile on current Nixos Unstable #27666

Closed
sjau opened this issue Jul 26, 2017 · 1 comment · Fixed by #27701
Closed

VirtualBox won't compile on current Nixos Unstable #27666

sjau opened this issue Jul 26, 2017 · 1 comment · Fixed by #27701
Assignees
Labels
6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS

Comments

@sjau
Copy link

sjau commented Jul 26, 2017

Issue description

'out/linux.amd64/release/bin/sdk/bindings/auth/include/VBoxAuth.h' -> '/nix/store/mcv4qrbq9famva1d00yig8sl7mn7vr78-virtualbox-5.1.24/libexec/virtualbox/sdk/bindings/auth/include/VBoxAuth.h'
Linking VirtualBox to /bin
Linking VBoxSDL to /bin
Linking rdesktop-vrdp to /bin
Linking VBoxManage to /bin
Linking VBoxBalloonCtrl to /bin
Linking VBoxHeadless to /bin
VBoxExtPackHelperApp: error: The extension pack file has changed (SHA-256 mismatch)
VBoxExtPackHelperApp: info: Validating extension pack '/nix/store/21h90pzv3iwv6dhbr5j0l60ypvgsxnx8-Oracle_VM_VirtualBox_Extension_Pack-5.1.24-117012.vbox-extpack' ('Oracle VM VirtualBox Extension Pack')...
rcExit=1
builder for ‘/nix/store/a3ls293rj2fpk93rvazv5s0md4af9p8x-virtualbox-5.1.24.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/mjp38d0imyyabpp0y8xmxagrrmsh12bs-nixos-system-subi-17.09pre111388.00512470ec.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/mjp38d0imyyabpp0y8xmxagrrmsh12bs-nixos-system-subi-17.09pre111388.00512470ec.drv’ failed

Steps to reproduce

Add to your configuration.nix

    # Enable Virtualbox
    virtualisation.virtualbox.host.enable = true;
    boot.kernelPackages = pkgs.linuxPackages // {
        virtualbox = pkgs.linuxPackages.virtualbox.override {
            enableExtensionPack = true;
            pulseSupport = true;
        };
    };
    nixpkgs.config.virtualbox.enableExtensionPack = true;

Switch to nixos unstable channel and run

nixos-rebuild boot --upgrade

Technical details

  • System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)

17.09pre110213.01c3847b9c (Hummingbird)

  • Nix version: (run nix-env --version)

nix-env (Nix) 1.11.11

  • Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)

"17.09pre111388.00512470ec"

  • Sandboxing enabled: (run grep build-use-sandbox /etc/nix/nix.conf)

build-use-sandbox = false

@NeQuissimus
Copy link
Member

Oh, boo, did Oracle re-release the extPack?! -.- I'll take a look when I have a moment

@NeQuissimus NeQuissimus self-assigned this Jul 26, 2017
@FRidh FRidh added the 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS label Jul 27, 2017
NeQuissimus added a commit to NeQuissimus/nixpkgs that referenced this issue Jul 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants