Skip to content

Build failure: wayneko #501211

@0qln

Description

@0qln

Nixpkgs version

  • Unstable (26.05)

Steps to reproduce

Try to build the wayneko package:

nix build github:NixOS/nixpkgs/nixos-unstable#wayneko

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/322245652/nixlog/4

Relevant log output

got build log for '/nix/store/fk3vmv4ws27nn8q665zprvhac79d5xp0-wayneko-0-unstable-2024-03-29.drv' from 'daemon'
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/jjkngx2ja6bzfvq4098hihq8wybcyv04-source
source root is 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: SHELL=/nix/store/2hjsch59amjs3nbgh7ahcfzm2bfwl8zi-bash-5.3p9/bin/bash PREFIX=/nix/store/v8hbxhzailhsr24fldpn8i78pjg9z89s-wayneko-0-unstable-2024-03-29
wayland-scanner private-code < wlr-layer-shell-unstable-v1.xml > wlr-layer-shell-unstable-v1.c
wayland-scanner client-header < wlr-layer-shell-unstable-v1.xml > wlr-layer-shell-unstable-v1.h
wayland-scanner private-code < xdg-shell.xml > xdg-shell.c
wayland-scanner client-header < xdg-shell.xml > xdg-shell.h
wayland-scanner private-code < ext-idle-notify-v1.xml > ext-idle-notify-v1.c
wayland-scanner client-header < ext-idle-notify-v1.xml > ext-idle-notify-v1.h
gcc -Wall  -Wextra -Wpedantic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion -Wunused-result -I/nix/store/s60msvirzaknyjgpsc8yyld1qg5i3hn5-pixman-0.46.4/include/pixman-1   -c -o wayneko.o wayneko.c
wayneko.c:556:26: error: initialization of 'void (*)(void *, struct wl_pointer *, uint32_t,  int32_t)' {aka 'void (*)(void *, struct wl_pointer *, unsigned int,  int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
  556 |         .axis_discrete = noop,
      |                          ^~~~
wayneko.c:556:26: note: (near initialization for 'pointer_listener.axis_discrete')
wayneko.c:155:13: note: 'noop' declared here
  155 | static void noop () {}
      |             ^~~~
wayneko.c:557:26: error: initialization of 'void (*)(void *, struct wl_pointer *, uint32_t,  uint32_t,  wl_fixed_t)' {aka 'void (*)(void *, struct wl_pointer *, unsigned int,  unsigned int,  int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
  557 |         .axis          = noop,
      |                          ^~~~
wayneko.c:557:26: note: (near initialization for 'pointer_listener.axis')
wayneko.c:155:13: note: 'noop' declared here
  155 | static void noop () {}
      |             ^~~~
wayneko.c:558:26: error: initialization of 'void (*)(void *, struct wl_pointer *, uint32_t)' {aka 'void (*)(void *, struct wl_pointer *, unsigned int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
  558 |         .axis_source   = noop,
      |                          ^~~~
wayneko.c:558:26: note: (near initialization for 'pointer_listener.axis_source')
wayneko.c:155:13: note: 'noop' declared here
  155 | static void noop () {}
      |             ^~~~
wayneko.c:559:26: error: initialization of 'void (*)(void *, struct wl_pointer *, uint32_t,  uint32_t)' {aka 'void (*)(void *, struct wl_pointer *, unsigned int,  unsigned int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
  559 |         .axis_stop     = noop,
      |                          ^~~~
wayneko.c:559:26: note: (near initialization for 'pointer_listener.axis_stop')
wayneko.c:155:13: note: 'noop' declared here
  155 | static void noop () {}
      |             ^~~~
wayneko.c:560:26: error: initialization of 'void (*)(void *, struct wl_pointer *, uint32_t,  uint32_t,  uint32_t,  uint32_t)' {aka 'void (*)(void *, struct wl_pointer *, unsigned int,  unsigned int,  unsigned int,  unsigned int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
  560 |         .button        = noop,
      |                          ^~~~
wayneko.c:560:26: note: (near initialization for 'pointer_listener.button')
wayneko.c:155:13: note: 'noop' declared here
  155 | static void noop () {}
      |             ^~~~
wayneko.c:561:26: error: initialization of 'void (*)(void *, struct wl_pointer *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
  561 |         .frame         = noop,
      |                          ^~~~
wayneko.c:561:26: note: (near initialization for 'pointer_listener.frame')
wayneko.c:155:13: note: 'noop' declared here
  155 | static void noop () {}
      |             ^~~~
wayneko.c:583:17: error: initialization of 'void (*)(void *, struct wl_seat *, const char *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
  583 |         .name = noop,
      |                 ^~~~
wayneko.c:583:17: note: (near initialization for 'seat_listener.name')
wayneko.c:155:13: note: 'noop' declared here
  155 | static void noop () {}
      |             ^~~~
wayneko.c: In function 'animation_next_state_with_hotspot':
wayneko.c:867:21: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  867 |         else if ( x > surface.neko_x + neko_size ) /* Cursor right of neko. */
      |                     ^
make: *** [<builtin>: wayneko.o] Error 1

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.56, NixOS, 25.11 (Xantusia), 25.11.20251031.2fb006b
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.31.2
  • channels(root): "home-manager-25.05.tar.gz, nixos-25.05"
  • nixpkgs: /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source

Notify maintainers

@fgaz


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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions