Skip to content

Build failure: Xone with latest kernel #414462

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

Closed
3 tasks done
camini opened this issue Jun 6, 2025 · 2 comments · Fixed by #414503
Closed
3 tasks done

Build failure: Xone with latest kernel #414462

camini opened this issue Jun 6, 2025 · 2 comments · Fixed by #414503
Labels
0.kind: build failure A package fails to build

Comments

@camini
Copy link

camini commented Jun 6, 2025

Nixpkgs version

  • Stable (25.05)

Steps to reproduce

enable hardware.xone.enable = true; with kernel_latest

Can Hydra reproduce this build failure?

Please select the Hydra Status.

Link to Hydra build job

No response

Relevant log output

$ nix log /nix/store/sd5nf8dcrgz6iym8c0191gx5a5xynjc0-xone-0.3-unstable-2024-12-23.drv
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/7c5mr87fx3pshbqsmrkkc7jj9l13q29x-source
source root is /build/source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
build flags: -j24 SHELL=/nix/store/xy4jjgw87sbgwylm5kn047d9gkbhsr9x-bash-5.2p37/bin/bash -C /nix/store/iivvm6wf6qxvb6l6xlcip4g4b8q7152d-linux-6.15.1-dev/lib/modules/6.15.1/>
make: Entering directory '/nix/store/iivvm6wf6qxvb6l6xlcip4g4b8q7152d-linux-6.15.1-dev/lib/modules/6.15.1/build'
make[1]: Entering directory '/build/source'
  CC [M]  transport/wired.o
  CC [M]  transport/dongle.o
  CC [M]  transport/mt76.o
  CC [M]  bus/bus.o
  CC [M]  bus/protocol.o
  CC [M]  auth/auth.o
  CC [M]  auth/crypto.o
  CC [M]  driver/common.o
  CC [M]  driver/gamepad.o
  CC [M]  driver/headset.o
lines 1-26...skipping...
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/7c5mr87fx3pshbqsmrkkc7jj9l13q29x-source
unpacking source archive /nix/store/7c5mr87fx3pshbqsmrkkc7jj9l13q29x-source
source root is /build/source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
build flags: -j24 SHELL=/nix/store/xy4jjgw87sbgwylm5kn047d9gkbhsr9x-bash-5.2p37/bin/bash -C /nix/store/iivvm6wf6qxvb6l6xlcip4g4b8q7152d-linux-6.15.1-dev/lib/modules/6.15.1/build M=\$\(sourceRoot\) VERSION=0.3-un>
make: Entering directory '/nix/store/iivvm6wf6qxvb6l6xlcip4g4b8q7152d-linux-6.15.1-dev/lib/modules/6.15.1/build'
make[1]: Entering directory '/build/source'
  CC [M]  transport/wired.o
  CC [M]  transport/dongle.o
  CC [M]  transport/mt76.o
  CC [M]  bus/bus.o
  CC [M]  bus/protocol.o
  CC [M]  auth/auth.o
  CC [M]  auth/crypto.o
  CC [M]  driver/common.o
  CC [M]  driver/gamepad.o
  CC [M]  driver/headset.o
  CC [M]  driver/chatpad.o
  CC [M]  driver/madcatz_strat.o
  CC [M]  driver/madcatz_glam.o
  CC [M]  driver/pdp_jaguar.o
  LD [M]  xone-gip-pdp-jaguar.o
driver/gamepad.c: In function 'gip_gamepad_init_input':
driver/gamepad.c:210:9: error: implicit declaration of function 'del_timer_sync' [-Wimplicit-function-declaration]
  210 |         del_timer_sync(&gamepad->rumble.timer);
      |         ^~~~~~~~~~~~~~
  LD [M]  xone-wired.o
make[3]: *** [/nix/store/iivvm6wf6qxvb6l6xlcip4g4b8q7152d-linux-6.15.1-dev/lib/modules/6.15.1/source/scripts/Makefile.build:203: driver/gamepad.o] Error 1
make[3]: *** Waiting for unfinished jobs....
driver/headset.c: In function 'gip_headset_probe':
driver/headset.c:484:9: error: implicit declaration of function 'hrtimer_init'; did you mean 'hrtimers_init'? [-Wimplicit-function-declaration]
  484 |         hrtimer_init(&headset->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
      |         ^~~~~~~~~~~~
      |         hrtimers_init
make[3]: *** [/nix/store/iivvm6wf6qxvb6l6xlcip4g4b8q7152d-linux-6.15.1-dev/lib/modules/6.15.1/source/scripts/Makefile.build:203: driver/headset.o] Error 1
make[2]: *** [/nix/store/iivvm6wf6qxvb6l6xlcip4g4b8q7152d-linux-6.15.1-dev/lib/modules/6.15.1/source/Makefile:2003: .] Error 2
make[1]: *** [/nix/store/iivvm6wf6qxvb6l6xlcip4g4b8q7152d-linux-6.15.1-dev/lib/modules/6.15.1/source/Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/build/source'
make: *** [/nix/store/iivvm6wf6qxvb6l6xlcip4g4b8q7152d-linux-6.15.1-dev/lib/modules/6.15.1/source/Makefile:248: __sub-make] Error 2
make: Leaving directory '/nix/store/iivvm6wf6qxvb6l6xlcip4g4b8q7152d-linux-6.15.1-dev/lib/modules/6.15.1/build'
error (ignored): error: interrupted by the user

Additional context

No response

System metadata

$ nix-shell -p nix-info --run "nix-info -m"

  • system: "x86_64-linux"
  • host os: Linux 6.14.10, GLF-OS, 25.05 (Warbler), 25.05.20250605.4792576
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.28.3
  • channels(root): "nixos-24.11"
  • nixpkgs: /nix/store/0sg4h9ihh33mpg0lsc8idsir4zb9p2xj-source

Notify maintainers

@Cryolitia @rhysmdnz @misuzu


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@camini camini added the 0.kind: build failure A package fails to build label Jun 6, 2025
@amadejkastelic
Copy link
Member

Fix is in unstable - #400938

@misuzu
Copy link
Contributor

misuzu commented Jun 6, 2025

@misuzu misuzu closed this as completed Jun 6, 2025
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
3 participants