Bug 263447 - sysutils/xen-tools: Fails to build if sysutils/fusefs-libs3 is installed
Summary: sysutils/xen-tools: Fails to build if sysutils/fusefs-libs3 is installed
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Roger Pau Monné
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-21 11:44 UTC by Ting-Wei Lan
Modified: 2022-10-22 18:52 UTC (History)
2 users (show)

See Also:


Attachments
Build log (62.52 KB, application/zstd)
2022-04-21 11:46 UTC, Ting-Wei Lan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ting-Wei Lan 2022-04-21 11:44:41 UTC
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.
Comment 1 Ting-Wei Lan 2022-04-21 11:46:26 UTC
Created attachment 233372 [details]
Build log
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2022-10-22 18:52:43 UTC
Over to maintainer.