Date: Fri, 31 Dec 2021 07:41:49 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260835] emulators/qemu-devel: build fails if sysutils/fusefs-libs3 is installed Message-ID: <bug-260835-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260835 Bug ID: 260835 Summary: emulators/qemu-devel: build fails 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: jcfyecrayz@liamekaens.com CC: bofh@freebsd.org, se@FreeBSD.org CC: bofh@freebsd.org, se@FreeBSD.org 'make build' for emulators/qemu-devel fails to build if sysutils/fusefs-lib= s3 is installed: . . [768/6688] Compiling C object libblockdev.fa.p/nbd_server.c.o [769/6688] Compiling C object libblockdev.fa.p/block_export_export.c.o [770/6688] Compiling C object libblockdev.fa.p/block_export_fuse.c.o FAILED: libblockdev.fa.p/block_export_fuse.c.o cc -Ilibblockdev.fa.p -I. -I.. -Iqapi -Itrace -Iui -Iui/shader -I/usr/local/include/fuse3 -I/usr/local/include -I/usr/local/include/p11-ki= t-1 -I/z1/local/users/jhein/.nobak/wd/usr/ports/emulators/qemu-devel/work/qemu-= de8ed1055c2ce18c95f597eb10df360dcb534f99 -I/usr/local/include/capstone -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fcolor-diagnostics -Wall -Winvalid-pch -std=3Dgnu11 -O0 -g -iquote . -iquote /z1/local/users/jhein/.nobak/wd/usr/ports/emulators/qemu-devel/work/qemu-de= 8ed1055c2ce18c95f597eb10df360dcb534f99 -iquote /z1/local/users/jhein/.nobak/wd/usr/ports/emulators/qemu-devel/work/qemu-de= 8ed1055c2ce18c95f597eb10df360dcb534f99/include -iquote /z1/local/users/jhein/.nobak/wd/usr/ports/emulators/qemu-devel/work/qemu-de= 8ed1055c2ce18c95f597eb10df360dcb534f99/disas/libvixl -iquote /z1/local/users/jhein/.nobak/wd/usr/ports/emulators/qemu-devel/work/qemu-de= 8ed1055c2ce18c95f597eb10df360dcb534f99/tcg/i386 -pthread -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SO= URCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv '-DPREFIX=3D\""/usr/local\""' -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wno-initializer-overrides -Wno-missing-include-dirs -Wno-shift-negative-va= lue -Wno-string-plus-int -Wno-typedef-redefinition -Wno-tautological-type-limit-compare -fstack-protector-strong -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MQ libblockdev.fa.p/block_export_fuse.c.o -MF libblockdev.fa.p/block_export_fuse.c.o.d -o libblockdev.fa.p/block_export_fuse.c.o -c ../block/export/fuse.c ../block/export/fuse.c:624:16: error: use of undeclared identifier 'FALLOC_FL_KEEP_SIZE' if (mode & FALLOC_FL_KEEP_SIZE) { ^ ../block/export/fuse.c:628:16: error: use of undeclared identifier 'FALLOC_FL_PUNCH_HOLE' if (mode & FALLOC_FL_PUNCH_HOLE) { ^ ../block/export/fuse.c:629:22: error: use of undeclared identifier 'FALLOC_FL_KEEP_SIZE' if (!(mode & FALLOC_FL_KEEP_SIZE)) { ^ Adding '--disable-fuse' to CONFIGURE_ARGS avoids the attempt to build in fu= se support and thus avoids building block_export_fuse.c which contains the FAL= LOC* linux-isms. FUSE support won't work on FreeBSD without porting that code, = so disabling it for now is reasonable. A better fix (perhaps a change that could be submitted upstream) might be a= way to write that code in a way that is portable to non-linux OS's. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260835-7788>