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

Build failure: virtualbox #311857

Open
BirdeeHub opened this issue May 15, 2024 · 2 comments
Open

Build failure: virtualbox #311857

BirdeeHub opened this issue May 15, 2024 · 2 comments

Comments

@BirdeeHub
Copy link

Steps To Reproduce

Steps to reproduce the behavior:

  1. build virtualbox using the following config

https://github.com/BirdeeHub/birdeeSystems/blob/66fe0780ef42503f809121feb99a2ab820d824a2/systems/PCs/aSUS/default.nix#L47-L51

  virtualisation.virtualbox.host = {
    enable = true;
    enableExtensionPack = true;
  };

Build log

error: builder for '/nix/store/147yywgr5457nnpgjwf7cp442sq0fgpb-virtualbox-modules-7.0.14-6.9.drv' failed with exit code 2;
       last 10 log lines:
       >       |         pmd_page
       > cc1: some warnings being treated as errors
       > make[4]: *** [/nix/store/7j5krfzkiw31vkkv1jy13lpfzkiryn5s-linux-6.9-dev/lib/modules/6.9.0/source/scripts/Makefile.build:244: /build/virtualbox-7.0.14-modsrc/vboxdrv/combined-os-specific.o] Error 1
       > make[4]: *** Waiting for unfinished jobs....
       > make[3]: *** [/nix/store/7j5krfzkiw31vkkv1jy13lpfzkiryn5s-linux-6.9-dev/lib/modules/6.9.0/source/Makefile:1919: /build/virtualbox-7.0.14-modsrc/vboxdrv] Error 2
       > make[2]: *** [/nix/store/7j5krfzkiw31vkkv1jy13lpfzkiryn5s-linux-6.9-dev/lib/modules/6.9.0/source/Makefile:240: __sub-make] Error 2
       > make[2]: Leaving directory '/nix/store/7j5krfzkiw31vkkv1jy13lpfzkiryn5s-linux-6.9-dev/lib/modules/6.9.0/build'
       > make[1]: *** [/build/virtualbox-7.0.14-modsrc/vboxdrv/Makefile-footer.gmk:133: vboxdrv] Error 2
       > make[1]: Leaving directory '/build/virtualbox-7.0.14-modsrc/vboxdrv'
       > make: *** [Makefile:78: vboxdrv] Error 2
       For full logs, run 'nix log /nix/store/147yywgr5457nnpgjwf7cp442sq0fgpb-virtualbox-modules-7.0.14-6.9.drv'.
error: 1 dependencies of derivation '/nix/store/9ipma3pbfskgk7wx5ixbsgg1lv5l0src-linux-6.9-modules.drv' failed to build
error (ignored): error: cannot unlink '/tmp/nix-build-templ.drv-0/go-cache': Directory not empty
error: 1 dependencies of derivation '/nix/store/6kb370xpd910yilgya33s0hc4aia8291-nixos-system-nestOS-24.05.20240514.abd6d48.drv' failed to build

Notify maintainers

@svanderburg @FriedrichAltheide @blitz @andresilva

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.9, NixOS, 24.05 (Uakari), 24.05.20240512.3281bec`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/nix/store/y1nw9w1s0ly6442igksfq29v0cfbnmfd-source`

Hardware and other info:

OS: NixOS 24.05.20240512.3281bec (Uakari) x86_64
Host: TUF GAMING FX504GD_FX80GD (1.0)
Kernel: 6.8.9
Uptime: 12 hours, 31 mins
Packages: 2688 (nix-system)
Shell: zsh 5.9
Display (LGD0570): 1920x1080 @ 60Hz *
Display (Acer K242HQL): 1920x1080 @ 60Hz
Display (3): 640x480
DE: none+fake
WM: i3 (X11)
Theme: adw-gtk3-dark [GTK2/3/4]
Icons: BeautyLine [GTK2/3/4]
Cursor: phinger
Terminal: tmux 3.4
CPU: Intel(R) Core(TM) i5-8300H (8) @ 4.00 GHz
GPU 1: Intel UHD Graphics 630 @ 1.00 GHz [Integrated]
GPU 2: NVIDIA GeForce GTX 1050 Mobile [Discrete]
Memory: 7.52 GiB / 15.48 GiB (49%)
Swap: 1.38 GiB / 5.00 GiB (28%)
Disk (/): 200.14 GiB / 1.83 TiB (11%) - ext4
Local IP (wlo1): 10.0.0.74/24 *
Battery: 100% [AC Connected]
Locale: en_US.UTF-8
@FriedrichAltheide
Copy link
Contributor

This may be fixed after merging #311362.
In the meantime, use an older kernel

@BirdeeHub
Copy link
Author

ok! Thank you for the advice :) will do :)

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

No branches or pull requests

2 participants