From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Romain Naour <romain.naour@gmail.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/qemu: add libfuse3 optional dependency
Date: Thu, 12 Aug 2021 23:51:31 +0200 [thread overview]
Message-ID: <20210812235131.0824e869@windsurf> (raw)
In-Reply-To: <20210809085426.809613-1-fontaine.fabrice@gmail.com>
On Mon, 9 Aug 2021 10:54:26 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> libfuse3 is an optional dependency which is enabled by default since
> version 6.0.0 and
> https://gitlab.com/qemu-project/qemu/-/commit/0c9b70d5900a5108e899edfdd6f3790f8cb6bdc2
>
> So add this dependency and fix the following build failures on musl
> raised since bump to version 6.0.0 in commit
> 6b86c9335fc3ff381878156c6243454d4b688df9:
>
> ../block/export/fuse.c: In function 'fuse_fallocate':
> ../block/export/fuse.c:563:23: error: 'FALLOC_FL_ZERO_RANGE' undeclared (first use in this function)
> 563 | } else if (mode & FALLOC_FL_ZERO_RANGE) {
> | ^~~~~~~~~~~~~~~~~~~~
> ../block/export/fuse.c:563:23: note: each undeclared identifier is reported only once for each function it appears in
> ../block/export/fuse.c: In function 'fuse_lseek':
> ../block/export/fuse.c:639:19: error: 'SEEK_HOLE' undeclared (first use in this function)
> 639 | if (whence != SEEK_HOLE && whence != SEEK_DATA) {
> | ^~~~~~~~~
> ../block/export/fuse.c:639:42: error: 'SEEK_DATA' undeclared (first use in this function); did you mean 'SEEK_SET'?
> 639 | if (whence != SEEK_HOLE && whence != SEEK_DATA) {
> | ^~~~~~~~~
> | SEEK_SET
>
> Fixes:
> - http://autobuild.buildroot.org/results/0196609043bd37543e6a0d17ffc2254302ea7ba3
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> ...5-block-export-fuse.c-fix-musl-build.patch | 46 +++++++++++++++++++
> package/qemu/qemu.mk | 13 ++++++
> 2 files changed, 59 insertions(+)
> create mode 100644 package/qemu/0005-block-export-fuse.c-fix-musl-build.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
prev parent reply other threads:[~2021-08-12 21:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-09 8:54 [Buildroot] [PATCH 1/1] package/qemu: add libfuse3 optional dependency Fabrice Fontaine
2021-08-12 21:51 ` Thomas Petazzoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210812235131.0824e869@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
--cc=romain.naour@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox