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: EVDI #365907

Open
phozzy opened this issue Dec 17, 2024 · 0 comments
Open

Build failure: EVDI #365907

phozzy opened this issue Dec 17, 2024 · 0 comments
Labels
0.kind: build failure A package fails to build

Comments

@phozzy
Copy link
Contributor

phozzy commented Dec 17, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. Add the following line to your configuration:
  services.xserver.videoDrivers = [
    "displaylink"
    "modesetting"
    "nvidia"
  ];

Build log

Build Log
error: builder for '/nix/store/pxlvaf9f3bwgca0c4i2cirnv1jw0j6h0-evdi-1.14.7.drv' failed with exit code 2;
       last 25 log lines:
       >       |                                           ^
       > In file included from /nix/store/r2dl1fx9i8rr692506dapywqnng2dvmc-linux-6.12.5-dev/lib/modules/6.12.5/source/include/linux/swap.h:13:
       > /nix/store/r2dl1fx9i8rr692506dapywqnng2dvmc-linux-6.12.5-dev/lib/modules/6.12.5/source/include/linux/pagemap.h: In function 'mapping_set_folio_order_range':
       > /nix/store/r2dl1fx9i8rr692506dapywqnng2dvmc-linux-6.12.5-dev/lib/modules/6.12.5/source/include/linux/pagemap.h:415:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare8;;]
       >   415 |         if (min > MAX_PAGECACHE_ORDER)
       >       |                 ^
       > /nix/store/r2dl1fx9i8rr692506dapywqnng2dvmc-linux-6.12.5-dev/lib/modules/6.12.5/source/include/linux/pagemap.h:418:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare8;;]
       >   418 |         if (max > MAX_PAGECACHE_ORDER)
       >       |                 ^
       > make[4]: *** [/nix/store/r2dl1fx9i8rr692506dapywqnng2dvmc-linux-6.12.5-dev/lib/modules/6.12.5/source/scripts/Makefile.build:229: /build/source/module/evdi_modeset.o] Error 1
       > make[4]: *** Waiting for unfinished jobs....
       > /nix/store/r2dl1fx9i8rr692506dapywqnng2dvmc-linux-6.12.5-dev/lib/modules/6.12.5/source/include/linux/pagemap.h: In function 'folio_contains':
       > /nix/store/r2dl1fx9i8rr692506dapywqnng2dvmc-linux-6.12.5-dev/lib/modules/6.12.5/source/include/linux/pagemap.h:958:43: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare8;;]
       >   958 |         return index - folio_index(folio) < folio_nr_pages(folio);
       >       |                                           ^
       > make[3]: *** [/nix/store/r2dl1fx9i8rr692506dapywqnng2dvmc-linux-6.12.5-dev/lib/modules/6.12.5/source/Makefile:1937: /build/source/module] Error 2
       > make[2]: *** [/nix/store/r2dl1fx9i8rr692506dapywqnng2dvmc-linux-6.12.5-dev/lib/modules/6.12.5/source/Makefile:224: __sub-make] Error 2
       > make[2]: Leaving directory '/nix/store/r2dl1fx9i8rr692506dapywqnng2dvmc-linux-6.12.5-dev/lib/modules/6.12.5/build'
       > make[1]: *** [Makefile:87: module] Error 2
       > make[1]: Leaving directory '/build/source/module'
       > make: *** [Makefile:13: module] Error 2
       > make: *** Waiting for unfinished jobs....
       > g++ Buffer.o Card.o PyEvdi.o Stats.o -L../library -Wl,--no-undefined $(python3-config --ldflags --embed) -shared -levdi -Wl,-soname,PyEvdi$(python3-config --extension-suffix).so.1 -o PyEvdi$(python3-config --extension-suffix)
       > g++ Buffer.o Card.o PyEvdi.o Stats.o -L../library -Wl,--no-undefined $(python3-config --ldflags --embed) -shared -levdi -Wl,-soname,PyEvdi$(python3-config --extension-suffix).so.1 -o PyEvdi$(python3-config --extension-suffix)
       > make[1]: Leaving directory '/build/source/pyevdi'

Additional context

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.11.7, NixOS, 24.11 (Vicuna), 24.11.20241109.76612b1`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.10`
 - nixpkgs: `/nix/store/0sxsfzswhjck7f4sbsvznz285s4i7y64-source`

Notify maintainers

No idea from which part of the code does this come from. @abbradar I saw someone mentioning you in a similar issue. Sorry if I bother you wrongly.


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

@phozzy phozzy added the 0.kind: build failure A package fails to build label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

1 participant