Package: musl-dev
Version: 1.2.5-2
Severity: important
Tags: ftbfs fixed-upstream
Forwarded:
https://git.musl-libc.org/cgit/musl/commit/include/stdio.h?id=05ce67fea99ca09cd4b6625cff7aec9cc222dd5a
Control: affects -1 + src:fuse3
User: [email protected]
Usertags: rebootstrap
Hi,
fuse3 fails to build from source on musl-linux-any.
../example/memfs_ll.cc: In function ‘void memfs_rename(fuse_req_t, fuse_ino_t,
const char*, fuse_ino_t, const char*, unsigned int)’:
../example/memfs_ll.cc:905:22: error: ‘RENAME_EXCHANGE’ was not declared in
this scope
905 | if (flags & (RENAME_EXCHANGE | RENAME_NOREPLACE)) {
| ^~~~~~~~~~~~~~~
../example/memfs_ll.cc:905:40: error: ‘RENAME_NOREPLACE’ was not declared in
this scope
905 | if (flags & (RENAME_EXCHANGE | RENAME_NOREPLACE)) {
| ^~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
These flags should be provided together with renameat2 once _GNU_SOURCE
is set. This has been fixed in musl upstream via commit
05ce67fea99ca09cd4b6625cff7aec9cc222dd5a. Please update the musl version
in Debian to support building fuse3.
Helmut