[Bug 291393] filesystems/py-libzfs: does not build on FreeBSD 15

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 04 Dec 2025 14:05:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291393

            Bug ID: 291393
           Summary: filesystems/py-libzfs: does not build on FreeBSD 15
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: asomers@FreeBSD.org
                CC: meka@tilda.center
                CC: meka@tilda.center
             Flags: maintainer-feedback?(meka@tilda.center)

py-libzfs fails to build on FreeBSD 15, with this error message:

libzfs.c:72496:86: error: incompatible function pointer types passing 'int
(void *, const char *, uint32_t, uint64_t)' (aka 'int (void *, const char *,
unsigned int, unsigned long)') to parameter of type 'zfs_userspace_cb_t' (aka
'int (*)(void *, const char *, unsigned int, unsigned long, unsigned long)')
[-Wincompatible-function-pointer-types]
 72496 |           __pyx_v_ret = zfs_userspace(__pyx_v_self->__pyx_base.handle,
__pyx_v_prop, __pyx_f_6libzfs_11ZFSResource__userspace_cb, ((void
*)__pyx_v_result));
       |                                                                       
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I'll attempt to fix it .

-- 
You are receiving this mail because:
You are the assignee for the bug.