[Bug 263447] sysutils/xen-tools: Fails to build if sysutils/fusefs-libs3 is installed

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 21 Apr 2022 11:44:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263447

            Bug ID: 263447
           Summary: sysutils/xen-tools: Fails to build if
                    sysutils/fusefs-libs3 is installed
           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: lantw44@gmail.com
                CC: royger@freebsd.org, se@FreeBSD.org
                CC: royger@freebsd.org, se@FreeBSD.org

When sysutils/fusefs-libs3 is installed, qemu-xen automatically enables FUSE
exports. This causes the build to fail because block/export/fuse.c cannot be
compiled.

../qemu-xen/block/export/fuse.c:621:16: error: use of undeclared identifier
'FALLOC_FL_KEEP_SIZE'
    if (mode & FALLOC_FL_KEEP_SIZE) {
               ^
../qemu-xen/block/export/fuse.c:625:16: error: use of undeclared identifier
'FALLOC_FL_PUNCH_HOLE'
    if (mode & FALLOC_FL_PUNCH_HOLE) {
               ^
../qemu-xen/block/export/fuse.c:626:22: error: use of undeclared identifier
'FALLOC_FL_KEEP_SIZE'
        if (!(mode & FALLOC_FL_KEEP_SIZE)) {
                     ^
3 errors generated.

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