Skip to content

Build failure: seafile-server #370748

Closed
Closed

Description

@padhia

Steps To Reproduce

Steps to reproduce the behavior:

  1. build seafile-server

Build log

Details

hydra log: https://hydra.nixos.org/build/283304144/nixlog/1

Build Log
repo-op.c:6408:31: error: passing argument 2 of 'g_list_sort' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
 6408 |     list = g_list_sort (list, compare_commit_by_time);
      |                               ^~~~~~~~~~~~~~~~~~~~~~
      |                               |
      |                               gint (*)(const void *, const void *, void *) {aka int (*)(const void *, const void *, void *)}
In file included from /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/glib/ghash.h:36,
                 from /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/glib.h:52:
/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/glib/glist.h:143:60: note: expected 'GCompareFunc' {aka 'int (*)(const void *, const void *)'} but argument is of type 'gint (*)(const void *, const void *, void *)' {aka 'int (*)(const void *, const void *, void *)'}
  143 |                                          GCompareFunc      compare_func) G_GNUC_WARN_UNUSED_RESULT;

Additional context

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.12.8, NixOS, 25.05 (Warbler), 25.05.20250102.6df2492`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.11`
 - nixpkgs: `/etc/nix/path/nixpkgs`

Notify maintainers

@greizgh @schmittlauch @melvyn2


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 3, 2025
  2. melvyn2 commented on Jan 3, 2025

    @melvyn2
    Contributor
  3. gador commented on Jun 21, 2025

    @gador
    Member

    @padhia if #370753 fixes your issue, please let us know

  4. padhia commented on Jun 21, 2025

    @padhia
    Author

    Thank you to all those who worked to fix this issue! Unfortunately, I have switched to using a Docker container to run this application; as such, I am unable to test this fix. I am going to mark this as resolved. If anyone else encounters this problem in the future, I assume they'll create a new issue.

    Thanks again.

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