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

[17.09] virtualbox update for linux 4.15 #34758

Merged
merged 2 commits into from Feb 9, 2018

Conversation

andir
Copy link
Member

@andir andir commented Feb 9, 2018

Motivation for this change

Update to latest stable version from the 5.1 branch. Also fixes compilation of the host driver on 4.15.

Changelog:

 * GUI: mouse events did not reach host windows behind the transparent VM window (Mac OS X hosts only; bug #16246)
 * Audio: fixed accidental crashes when using the AC'97 sound emulation (bug #16959)
 * Audio: fixed crash when default input or output devices have changed (bugs #16968, #16969, #17004)
 * Audio: fixed recording when using the ALSA backend
 * Audio: fixed handle leak when using the OSS backend
 * E1000: fixed a crash related to VLAN traffic over internal network (5.1.26 regression; bug #16960)
 * NAT: apply --natbindip1 to TCP connections (bug #16478)
 * OVF: when importing an appliance with XHCI controller, don't add an OHCI controller.
 * Mac OS X hosts: fixed a GUI crash if Spotlight is used from file dialogs (5.1.20 regression; bugs #16935, #16953)
 * Linux hosts: fixed creating fixed sized VDI images (bug #17010)
 * Linux hosts / guests: fixes for Linux 4.4 of openSUSE Leap 42.3 (bug #16966)
 * Bridged networking: align outgoing packet at word boundary, preventing Windows host crash in MsLbfoProvider.
 * Linux Additions: kernel drm driver support for custom EL7 Linux 3.10 kernel
 * Solaris Additions: hide an informational message on the bootup console
 * GUI: translation updates
 * GUI: Fixed double mouse cursor when using mouse integration without Guest Additions, actually a Qt 5.6 bug fixed with QT 5.6.3 (Mac OS X hosts only; bug #15610)
 * Solaris hosts: allow increasing MTU size for host-only adapter to 9706 bytes to support jumbo frames
 * Linux hosts: glibc 2.26 compile fix
 * Windows Additions: 3D related crash fix (bugs #17082, #17092)
 * GUI: fixed occasional screen corruption when host screen resolution is changed
 * User interface: increase proposed disk size when creating new VMs for Windows 7 and newer
 * Serial: fixed broken communication with certain devices on Linux hosts
 * VMM: Fixed problems using 256MB VRAM in raw-mode VMs
 * Audio: added HDA support for more exotic guests (e.g. Haiku)
 * Audio: fixed playback with ALSA backend (5.1.28 regression)
 * USB/OHCI: fixed a problem where OHCI emulation might sporadically drop data transfers
 * Windows hosts: VirtualBoxManager in the Python API no longer calls CoUninitialize when destroyed
 * Linux hosts: fixed VBoxNetFlt kernel module compilation failure with Linux kernel 4.14
 * Linux guests: fixed kernel module compilation and other problems with Linux kernel 4.14
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.

Update to latest stable version from the 5.1 branch. Also fixes
compilation of the host driver on 4.15.

Changelog:

 * GUI: mouse events did not reach host windows behind the transparent VM window (Mac OS X hosts only; bug NixOS#16246)
 * Audio: fixed accidental crashes when using the AC'97 sound emulation (bug NixOS#16959)
 * Audio: fixed crash when default input or output devices have changed (bugs NixOS#16968, NixOS#16969, NixOS#17004)
 * Audio: fixed recording when using the ALSA backend
 * Audio: fixed handle leak when using the OSS backend
 * E1000: fixed a crash related to VLAN traffic over internal network (5.1.26 regression; bug NixOS#16960)
 * NAT: apply --natbindip1 to TCP connections (bug NixOS#16478)
 * OVF: when importing an appliance with XHCI controller, don't add an OHCI controller.
 * Mac OS X hosts: fixed a GUI crash if Spotlight is used from file dialogs (5.1.20 regression; bugs NixOS#16935, NixOS#16953)
 * Linux hosts: fixed creating fixed sized VDI images (bug NixOS#17010)
 * Linux hosts / guests: fixes for Linux 4.4 of openSUSE Leap 42.3 (bug NixOS#16966)
 * Bridged networking: align outgoing packet at word boundary, preventing Windows host crash in MsLbfoProvider.
 * Linux Additions: kernel drm driver support for custom EL7 Linux 3.10 kernel
 * Solaris Additions: hide an informational message on the bootup console
 * GUI: translation updates
 * GUI: Fixed double mouse cursor when using mouse integration without Guest Additions, actually a Qt 5.6 bug fixed with QT 5.6.3 (Mac OS X hosts only; bug NixOS#15610)
 * Solaris hosts: allow increasing MTU size for host-only adapter to 9706 bytes to support jumbo frames
 * Linux hosts: glibc 2.26 compile fix
 * Windows Additions: 3D related crash fix (bugs NixOS#17082, NixOS#17092)
 * GUI: fixed occasional screen corruption when host screen resolution is changed
 * User interface: increase proposed disk size when creating new VMs for Windows 7 and newer
 * Serial: fixed broken communication with certain devices on Linux hosts
 * VMM: Fixed problems using 256MB VRAM in raw-mode VMs
 * Audio: added HDA support for more exotic guests (e.g. Haiku)
 * Audio: fixed playback with ALSA backend (5.1.28 regression)
 * USB/OHCI: fixed a problem where OHCI emulation might sporadically drop data transfers
 * Windows hosts: VirtualBoxManager in the Python API no longer calls CoUninitialize when destroyed
 * Linux hosts: fixed VBoxNetFlt kernel module compilation failure with Linux kernel 4.14
 * Linux guests: fixed kernel module compilation and other problems with Linux kernel 4.14
@andir
Copy link
Member Author

andir commented Feb 9, 2018

@GrahamcOfBorg test virtualbox
@GrahamcOfBorg build linuxPackages_4_15.virtualbox linuxPackages_4_14.virtualbox linuxPackages.virtualbox

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

Package ‘virtualbox-5.1.32’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/applications/virtualization/virtualbox/default.nix:196 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)

copying path '/nix/store/wbq2rw2frgm0fc1hfpf4j4q6akwh70cv-kmod-blacklist-22-1.1ubuntu1' from 'https://cache.nixos.org'...
copying path '/nix/store/nyvvbds5vp7i8g1n4wvgk89iwyj6bg4f-stdenv' from 'https://cache.nixos.org'...
copying path '/nix/store/971kjlf9das59gmm15xxad2qssjvvc53-findutils-4.6.0-info' from 'https://cache.nixos.org'...
copying path '/nix/store/r6fjssaw0ppzfd106wmjc2rlkkxyfvig-fuse-3.2.0' from 'https://cache.nixos.org'...
copying path '/nix/store/40847mm9iqi2gjy6dscjx7wdy0r6q13j-nix-info' from 'https://cache.nixos.org'...
copying path '/nix/store/jjqfv8hwcnf530vrr8y5bdxjx77n5cjq-libwacom-0.22' from 'https://cache.nixos.org'...
copying path '/nix/store/dcx7cpnv01r4ch25465src529697djyk-install-grub.pl' from 'https://cache.nixos.org'...
copying path '/nix/store/3np93zpz5b4rljwcvfknxjq1zv4c0fsq-util-linux-2.31-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/459w6v8m4mvj9d41dafi7mvdasb222n0-zfs-user-0.7.6-lib' from 'https://cache.nixos.org'...
error: a 'x86_64-linux' is required to build '/nix/store/xgjzfgn1jsy0i787spi6x98r8zmvxy1w-Xresources-Xft.drv', but I am a 'aarch64-linux'

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

Package ‘virtualbox-5.1.32’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/applications/virtualization/virtualbox/default.nix:196 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)

error: while evaluating the attribute 'buildCommand' of the derivation 'VirtualBox-GuestAdditions-5.1.32-4.9.80' at /var/lib/gc-of-borg/nix-test-rs-2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-2/pkgs/stdenv/generic/make-derivation.nix:98:11:
Architecture: aarch64-linux not supported for VirtualBox guest additions

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

cleaning up
killing machine (pid 140)
vde_switch: EOF on stdin, cleaning up and exiting
vde_switch: Could not remove ctl dir '/tmp/nix-build-vm-test-run-virtualbox-net-hostonlyif.drv-0/vde1.ctl': Directory not empty
/nix/store/v6p2byspi325a077cq5nzf1armladq1a-vm-test-run-virtualbox-headless
/nix/store/cx423imbr9vdw9i9fn5scdm03bqcgz7w-vm-test-run-virtualbox-host-usb-permissions
/nix/store/7y4v2zvls7hrmb1sk1j9xa0d0lkncnrq-vm-test-run-virtualbox-net-hostonlyif
/nix/store/rfrp4ygmqplfzgl8r548k20qq3cnmayb-vm-test-run-virtualbox-simple-cli
/nix/store/c9d5clnda20x4jgqlb5i1f9fgaf231b1-vm-test-run-virtualbox-simple-gui
/nix/store/xwjnbzbwv0igi4y677jfkyqkidh7shyf-vm-test-run-virtualbox-systemd-detect-virt

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

  DEPMOD  4.14.18
make: Leaving directory '/nix/store/2qmgq2ivhk5mysv88sd3nh442mfwszdx-linux-4.14.18-dev/lib/modules/4.14.18/build'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/rgwm2k2bl3i0fbgh0xph4a1an7dgzhl2-virtualbox-modules-5.1.32-4.14.18
stripping (with flags -S) in /nix/store/rgwm2k2bl3i0fbgh0xph4a1an7dgzhl2-virtualbox-modules-5.1.32-4.14.18/lib 
patching script interpreter paths in /nix/store/rgwm2k2bl3i0fbgh0xph4a1an7dgzhl2-virtualbox-modules-5.1.32-4.14.18
checking for references to /tmp/nix-build-virtualbox-modules-5.1.32-4.14.18.drv-0 in /nix/store/rgwm2k2bl3i0fbgh0xph4a1an7dgzhl2-virtualbox-modules-5.1.32-4.14.18...
/nix/store/6fj3mf5hprl3iy0k20k2wbg2nw1d3rc4-virtualbox-modules-5.1.32-4.15
/nix/store/rgwm2k2bl3i0fbgh0xph4a1an7dgzhl2-virtualbox-modules-5.1.32-4.14.18
/nix/store/hmbiyp5bbfwiif2a7js234cn18am39x9-virtualbox-modules-5.1.32-4.9.80

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

  CC [M]  /tmp/nix-build-VirtualBox-GuestAdditions-5.1.32-4.9.80.drv-0/install/src/vboxguest-5.1.32/vboxvideo/vbox_prime.o
  LD [M]  /tmp/nix-build-VirtualBox-GuestAdditions-5.1.32-4.9.80.drv-0/install/src/vboxguest-5.1.32/vboxvideo/vboxvideo.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/nix-build-VirtualBox-GuestAdditions-5.1.32-4.9.80.drv-0/install/src/vboxguest-5.1.32/vboxvideo/vboxvideo.mod.o
  LD [M]  /tmp/nix-build-VirtualBox-GuestAdditions-5.1.32-4.9.80.drv-0/install/src/vboxguest-5.1.32/vboxvideo/vboxvideo.ko
make[2]: Leaving directory '/nix/store/934h2fdaf99l6qjqxqhzm00is9z01avs-linux-4.9.80-dev/lib/modules/4.9.80/build'
make[1]: Leaving directory '/tmp/nix-build-VirtualBox-GuestAdditions-5.1.32-4.9.80.drv-0/install/src/vboxguest-5.1.32/vboxvideo'
/nix/store/hmbiyp5bbfwiif2a7js234cn18am39x9-virtualbox-modules-5.1.32-4.9.80
/nix/store/wlahglrms2p2k4xj474vp7vcc1cr3yfd-VirtualBox-GuestAdditions-5.1.32-4.9.80

@andir
Copy link
Member Author

andir commented Feb 9, 2018

@GrahamcOfBorg test virtualbox

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

/nix/store/v6p2byspi325a077cq5nzf1armladq1a-vm-test-run-virtualbox-headless
/nix/store/cx423imbr9vdw9i9fn5scdm03bqcgz7w-vm-test-run-virtualbox-host-usb-permissions
/nix/store/7y4v2zvls7hrmb1sk1j9xa0d0lkncnrq-vm-test-run-virtualbox-net-hostonlyif
/nix/store/rfrp4ygmqplfzgl8r548k20qq3cnmayb-vm-test-run-virtualbox-simple-cli
/nix/store/c9d5clnda20x4jgqlb5i1f9fgaf231b1-vm-test-run-virtualbox-simple-gui
/nix/store/xwjnbzbwv0igi4y677jfkyqkidh7shyf-vm-test-run-virtualbox-systemd-detect-virt

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

  /nix/store/zxyvjgijq5fp44qblc9rkrwgz9d47g8p-binutils-2.28.1
  /nix/store/zysck5p51fc77p1y442dyyfmys7vgacl-harfbuzz-icu-1.4.8-dev
  /nix/store/zzh3p887wgw733d6wzkwhnv4r0kl3bqj-libX11-1.6.5
copying path '/nix/store/5l6b97jscljkvsq9y9amg71v5jfzddm4-gcc-wrapper-6.4.0' from 'https://cache.nixos.org'...
copying path '/nix/store/dfk2q9571m9f8b0b13wfqn4bsf467a52-libxml2-2.9.7-py' from 'https://cache.nixos.org'...
copying path '/nix/store/h7qvzgvwv7m7l9gk4vbk0pl8wfmnbc0j-netpbm-10.77.02' from 'https://cache.nixos.org'...
copying path '/nix/store/fvlajbj3gqq181hhvfng11w5s9b0k99k-perl-Term-ReadLine-Gnu-1.31' from 'https://cache.nixos.org'...
copying path '/nix/store/6355kf6ibmwrabs0dgpzjhmvsg8agmgd-vde2-2.3.2' from 'https://cache.nixos.org'...
copying path '/nix/store/023b1kdqx9i2vifhmprdzppjcihdakqz-SDL-1.2.15' from 'https://cache.nixos.org'...
error: a 'x86_64-linux' is required to build '/nix/store/6545mpjhf3j7zyyhxdgfcnm0qavcyx11-append-initrd-secrets.drv', but I am a 'aarch64-linux'

@andir andir merged commit 394efc0 into NixOS:release-17.09 Feb 9, 2018
@andir andir deleted the 17.09/virtualbox branch February 9, 2018 10:56
@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

Updating Autotools / GNU config script to a newer upstream version: ./src/libs/libxml2-2.9.4/config.guess
Updating Autotools / GNU config script to a newer upstream version: ./src/VBox/RDP/client-1.8.3/config.guess
configuring
Checking for environment:
  ** Cannot determine system!
builder for '/nix/store/mmzhybhhngzwq72f5zkdi54zaj2wdbr4-virtualbox-5.1.32.drv' failed with exit code 1
cannot build derivation '/nix/store/sa3in34gg5yllzpi17ll12r3c71pi0ig-virtualbox-modules-5.1.32-4.14.18.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/18r8cficdycp18rkv3vab844p3aamyhw-virtualbox-modules-5.1.32-4.15.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/36sflsv5lcn85r4g4b87r4vb0hccdxnm-virtualbox-modules-5.1.32-4.9.80.drv': 1 dependencies couldn't be built
error: build of '/nix/store/18r8cficdycp18rkv3vab844p3aamyhw-virtualbox-modules-5.1.32-4.15.drv', '/nix/store/36sflsv5lcn85r4g4b87r4vb0hccdxnm-virtualbox-modules-5.1.32-4.9.80.drv', '/nix/store/sa3in34gg5yllzpi17ll12r3c71pi0ig-virtualbox-modules-5.1.32-4.14.18.drv' failed

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

2 participants