[Pkg-zfsonlinux-devel] Bug#1089488: Error is actually: passing argument 1 of ‘dequeue_signal’ from incompatible pointer type

Steven Robbins steve at sumost.ca
Sun Dec 8 19:43:55 GMT 2024


On Saturday, December 7, 2024 3:44:43 P.M. CST you wrote:

> The build log shows a warning: "kmem_cache_create" redefined so I suspect an
> upstream fix is required.

I completely misread the build log.  The kmem_cache_create diagnostic is only 
a warning.  The actual build error is something else:

/var/lib/dkms/zfs/2.2.6/build/module/os/linux/spl/spl-thread.c: In function 
‘issig’:
/var/lib/dkms/zfs/2.2.6/build/module/os/linux/spl/spl-thread.c:186:28: error: 
passing argument 1 of ‘dequeue_signal’ from incompatible pointer type [-
Wincompatible-pointer-types]
  186 |         if (dequeue_signal(task, &set, &__info) != 0) {
      |                            ^~~~
      |                            |
      |                            struct task_struct *
In file included from /usr/src/linux-headers-6.12.3-common/include/linux/
rcuwait.h:6,
                 from /usr/src/linux-headers-6.12.3-common/include/linux/
percpu-rwsem.h:7,
                 from /usr/src/linux-headers-6.12.3-common/include/linux/fs.h:
33,
                 from /usr/src/linux-headers-6.12.3-common/include/linux/
compat.h:17,
                 from /usr/src/linux-headers-6.12.3-common/arch/x86/include/
asm/ia32.h:7,
                 from /usr/src/linux-headers-6.12.3-common/arch/x86/include/
asm/elf.h:10,
                 from /usr/src/linux-headers-6.12.3-common/include/linux/
elf.h:6,
                 from /usr/src/linux-headers-6.12.3-common/include/linux/
module.h:19,
                 from /var/lib/dkms/zfs/2.2.6/build/include/os/linux/spl/sys/
thread.h:27,
                 from /var/lib/dkms/zfs/2.2.6/build/module/os/linux/spl/spl-
thread.c:26:
/usr/src/linux-headers-6.12.3-common/include/linux/sched/signal.h:279:37: 
note: expected ‘sigset_t *’ but argument is of type ‘struct task_struct *’
  279 | extern int dequeue_signal(sigset_t *mask, kernel_siginfo_t *info, enum 
pid_type *type);
      |                           ~~~~~~~~~~^~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-zfsonlinux-devel/attachments/20241208/58d61ff7/attachment.sig>


More information about the Pkg-zfsonlinux-devel mailing list