Skip to content

Build failure: moon-buggy #476707

@gaelj

Description

@gaelj

Nixpkgs version

  • Unstable (26.05)

Steps to reproduce

nix build .#moon-buggy

Can Hydra reproduce this build failure?

Please select the Hydra Status.

Link to Hydra build job

No response

Relevant log output

 nix build .#moon-buggy
error: Cannot build '/nix/store/8vs7qw8g2dpdkfdw9kcyvrcljcmvsvkb-moon-buggy-1.0.51.drv'.
       Reason: builder failed with exit code 2.
       Output paths:
         /nix/store/38f3lnfi5sb5xlhfqyimfysimsf4czzz-moon-buggy-1.0.51
       Last 25 log lines:
       > signal.c:64:1: note: 'generic_handler' declared here
       >    64 | generic_handler (int signum)
       >       | ^~~~~~~~~~~~~~~
       > signal.c: In function 'tstp_handler':
       > signal.c:126:28: error: passing argument 2 of 'install_signal' from incompatible pointer type [-Wincompatible-pointer-types]
       >   126 |   install_signal (SIGTSTP, SIG_DFL);
       >       |                            ^~~~~~~
       >       |                            |
       >       |                            void (*)(int)
       > signal.c:50:42: note: expected 'int (*)(void)' but argument is of type 'void (*)(int)'
       >    50 | install_signal (int signum, RETSIGTYPE (*handler) ())
       > signal.c: In function 'cont_handler':
       > signal.c:133:28: error: passing argument 2 of 'install_signal' from incompatible pointer type [-Wincompatible-pointer-types]
       >   133 |   install_signal (SIGTSTP, tstp_handler);
       >       |                            ^~~~~~~~~~~~
       >       |                            |
       >       |                            void (*)(int)
       > signal.c:50:42: note: expected 'int (*)(void)' but argument is of type 'void (*)(int)'
       >    50 | install_signal (int signum, RETSIGTYPE (*handler) ())
       > signal.c:121:1: note: 'tstp_handler' declared here
       >   121 | tstp_handler (int signum)
       >       | ^~~~~~~~~~~~
       > make[1]: *** [Makefile:333: signal.o] Error 1
       > make[1]: Leaving directory '/build/moon-buggy-1.0.51'
       > make: *** [Makefile:215: all] Error 2
       For full logs, run:
         nix log /nix/store/8vs7qw8g2dpdkfdw9kcyvrcljcmvsvkb-moon-buggy-1.0.51.drv

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.18.2, NixOS, 26.05 (Yarara), 26.05.20251230.e77214d
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.31.2+1
  • nixpkgs: /nix/store/yjvrn1vnnjz1lkpmifxjli4v14i9zlyh-source

Notify maintainers

@rybern


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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions