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: mono4 #371172

Closed
devurandom opened this issue Jan 5, 2025 · 1 comment
Closed

Build failure: mono4 #371172

devurandom opened this issue Jan 5, 2025 · 1 comment
Labels
0.kind: build failure A package fails to build

Comments

@devurandom
Copy link
Contributor

devurandom commented Jan 5, 2025

Steps To Reproduce

Steps to reproduce the behavior:

  1. build mono4

Build log

Build Log
error: builder for '/nix/store/5saaj0kj6iycj65v6397s6wyh413qalx-mono-4.8.1.0.drv' failed with exit code 2;
       last 25 log lines:
       >   CC       gc_dlopen.lo
       > In file included from ./include/private/gc_priv.h:95,
       >                  from gc_dlopen.c:26:
       > ./include/private/gc_locks.h:446:27: warning: function declaration isn't a prototype [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-strict-prototypes-Wstrict-prototypes8;;]
       >   446 |        inline static void GC_memory_barrier()
       >       |                           ^~~~~~~~~~~~~~~~~
       > gc_dlopen.c:49:15: warning: function declaration isn't a prototype [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-strict-prototypes-Wstrict-prototypes8;;]
       >    49 |   static void disable_gc_for_dlopen()
       >       |               ^~~~~~~~~~~~~~~~~~~~~
       > gc_dlopen.c: In function 'disable_gc_for_dlopen':
       > gc_dlopen.c:52:30: error: implicit declaration of function 'GC_collection_in_progress' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;]
       >    52 |     while (GC_incremental && GC_collection_in_progress()) {
       >       |                              ^~~~~~~~~~~~~~~~~~~~~~~~~
       > gc_dlopen.c:52:30: warning: nested extern declaration of 'GC_collection_in_progress' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wnested-externs-Wnested-externs8;;]
       > gc_dlopen.c: At top level:
       > gc_dlopen.c:68:10: warning: function declaration isn't a prototype [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-strict-prototypes-Wstrict-prototypes8;;]
       >    68 |   void * GC_dlopen(path, mode)
       >       |          ^~~~~~~~~
       > make[3]: *** [Makefile:699: gc_dlopen.lo] Error 1
       > make[3]: Leaving directory '/build/mono-4.8.1/libgc'
       > make[2]: *** [Makefile:727: all-recursive] Error 1
       > make[2]: Leaving directory '/build/mono-4.8.1/libgc'
       > make[1]: *** [Makefile:539: all-recursive] Error 1
       > make[1]: Leaving directory '/build/mono-4.8.1'
       > make: *** [Makefile:469: all] Error 2
       For full logs, run 'nix log /nix/store/5saaj0kj6iycj65v6397s6wyh413qalx-mono-4.8.1.0.drv'.

5saaj0kj6iycj65v6397s6wyh413qalx-mono-4.8.1.0.log

Additional context

Related: #371175

Metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.5, NixOS, 25.05 (Warbler), 25.05.20241219.d70bd19
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.11
  • channels(root): "nixos"
  • nixpkgs: /nix/store/8fwsiv0hd7nw1brkvka0jf1frk3m7qkr-source

Notify maintainers

@thoughtpolice, @obadz


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


Add a 👍 reaction to issues you find important.

@devurandom devurandom added the 0.kind: build failure A package fails to build label Jan 5, 2025
@devurandom
Copy link
Contributor Author

Fixed by #370711, see #371175 (comment).

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