Skip to content

Build failure: mono4 #371172

Closed
Closed

Description

@devurandom

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.

Activity

  1. added
    0.kind: build failure
    on Jan 5, 2025
  2. devurandom commented on Jan 30, 2025

    @devurandom
    ContributorAuthor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failure

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions