[Bug 272335] sysutils/openzfs-kmod compile error

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 02 Jul 2023 18:26:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272335

            Bug ID: 272335
           Summary: sysutils/openzfs-kmod compile error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freqlabs@FreeBSD.org
          Reporter: michael.hmich@gmail.com
          Assignee: freqlabs@FreeBSD.org
             Flags: maintainer-feedback?(freqlabs@FreeBSD.org)

compile error on 13.2-STABLE

distinfo 
TIMESTAMP = 1674753310
SHA256 (openzfs-zfs-v2023012600-dc5c8006f_GH0.tar.gz) =
a04eac19a4a90377b0874281e2a9fc1d944b1d5714c667df999d65eeb5a6071d
SIZE (openzfs-zfs-v2023012600-dc5c8006f_GH0.tar.gz) = 32880990


 -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include     -MD 
-MF.depend.zfs_ioctl_os.o -MTzfs_ioctl_os.o -mcmodel=kernel -mno-red-zone
-mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare
-Wno-error=empty-body -Wno-error=parentheses-equality
-Wno-error=unused-function -Wno-error=pointer-sign
-Wno-error=shift-negative-value -Wno-address-of-packed-member
-Wno-error=unused-but-set-variable -Wno-format-zero-length   -Qunused-arguments
-mno-aes -mno-avx  -std=iso9899:1999 -c
/usr/ports/sysutils/openzfs-kmod/work/zfs-dc5c8006f/module/os/freebsd/zfs/zfs_ioctl_os.c
-o zfs_ioctl_os.o
/usr/ports/sysutils/openzfs-kmod/work/zfs-dc5c8006f/module/os/freebsd/zfs/zfs_ioctl_os.c:63:1:
error: conflicting types for 'zfs_vfs_held'
zfs_vfs_held(zfsvfs_t *zfsvfs)
^
/usr/ports/sysutils/openzfs-kmod/work/zfs-dc5c8006f/include/sys/zfs_ioctl_impl.h:87:11:
note: previous declaration is here
boolean_t zfs_vfs_held(zfsvfs_t *);
          ^
1 error generated.
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/sysutils/openzfs-kmod/work/zfs-dc5c8006f/module
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/sysutils/openzfs-kmod
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/openzfs-kmod


uname -a
FreeBSD hm-fbsd 13.2-STABLE FreeBSD 13.2-STABLE #2 stable/13-d2ee65f43d-dirty:
Sun Jul  2 14:26:21 -03 2023    
root@hm-fbsd:/usr/obj/usr/src/amd64.amd64/sys/HMichZ amd6

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