[Bug 275239] sysutils/openzfs-kmod: fails to build on 14.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Nov 2023 18:53:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275239 Bug ID: 275239 Summary: sysutils/openzfs-kmod: fails to build on 14.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freqlabs@FreeBSD.org Reporter: asomers@FreeBSD.org Assignee: freqlabs@FreeBSD.org Flags: maintainer-feedback?(freqlabs@FreeBSD.org) The openzfs-kmod port fails to build on FreeBSD 14.0. This also affects sysutils/openzfs , which is built from the same sources and depends on openzfs-kmod. There are two possible solutions: 1) Update the port to the latest ZFS-2.2.0 release, which builds successfully. 2) Backport a few changes from it and keep them as patches. Option 1 is easiest and arguably best for many users. The main downside is that it won't be eligible for a MFH. Option 2 works (though I haven't fully tested it yet). Unless the maintainer objects, I'll pursue option 1. Here's the first compile error: /wrkdirs/usr/ports/sysutils/openzfs-kmod/work/zfs-dc5c8006f/module/os/freebsd/spl/spl_policy.c:425:13: error: variable has incomplete type 'vtype_t' (aka 'enum vtype') vtype_t vtype) ^ /wrkdirs/usr/ports/sysutils/openzfs-kmod/work/zfs-dc5c8006f/include/os/freebsd/spl/sys/vnode.h:39:14: note: forward declaration of 'enum vtype' typedef enum vtype vtype_t; ^ 1 error generated. *** Error code 1 -- You are receiving this mail because: You are the assignee for the bug.