Repository navigation
Closed
Labels
0.kind: build failureA package fails to build
Description
Steps To Reproduce
Steps to reproduce the behavior:
- build seafile-server
Build log
Details
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.
Reacted by Julien Levesy
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to build
Activity
melvyn2 commentedon Jan 3, 2025
haiwen/seafile-server#658
gador commentedon Jun 21, 2025
@padhia if #370753 fixes your issue, please let us know
padhia commentedon Jun 21, 2025
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.