Re: [Buildroot] [PATCH v3 2/2] package/btrfs-progs: bump to version 7.1

Fiona Klute via buildroot <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <[email protected]>
Hi Thomas!

Am 18.08.26 um 23:48 schrieb Thomas Petazzoni:
> Hello,
> 
> On Sun, Aug 02, 2026 at 09:44:21PM +0200, Fiona Klute via buildroot wrote:
>> Upstream changelog:
>> https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/tree/CHANGES?h=v7.1
>>
>> Signed-off-by: Fiona Klute <[email protected]>
>> ---
>> Changes v2 -> v3:
>> * update to btrfs-progs 7.1 instead of 7.0
> 
> Thanks, applied.

Thank you! :-)

> Please note that generating a btrfs filesystem fails for me, but it
> already failed before your bump. I think the issue was already
> discussed with Julien and is SELinux related:
> 
> ERROR: zoned: unable to stat /home/thomas/projets/buildroot/output/images/rootfs.btrfs
> NOTE: several default settings have changed in version 5.15, please make sure
>        this does not affect your deployments:
>        - DUP for metadata (-m dup)
>        - enabled no-holes (-O no-holes)
>        - enabled free-space-tree (-R free-space-tree)
> 
> Rootdir from:       /home/thomas/projets/buildroot/output/build/buildroot-fs/btrfs/target
> ERROR: getting a xattr value failed for /home/thomas/projets/buildroot/output/build/buildroot-fs/btrfs/target attr security.selinux: No data available
> ERROR: failed to add xattr item for the top level inode: Operation not permitted
> ERROR: failed to copy rootdir inode: Operation not permitted
> ERROR: unable to traverse directory /home/thomas/projets/buildroot/output/build/buildroot-fs/btrfs/target: 1
> /home/thomas/projets/buildroot/output/build/buildroot-fs/btrfs/fakeroot: line 11: 539047 Segmentation fault         (core dumped) /home/thomas/projets/buildroot/output/host/bin/mkfs.btrfs -f -r '/home/thomas/projets/buildroot/output/build/buildroot-fs/btrfs/target' -L '' --byte-count '100m' --nodesize '16384' --sectorsize '4096' /home/thomas/projets/buildroot/output/images/rootfs.btrfs
> make: *** [fs/btrfs/btrfs.mk:55: /home/thomas/projets/buildroot/output/images/rootfs.btrfs] Error 139

Yes, that looks like the problem Julien described. He tried to patch it, 
the problem is that the patch breaks building a target with SELinux (at 
least on a non-SELinux host, haven't tested with):
https://salsa.debian.org/clint/fakeroot/-/merge_requests/38

I suspect the permission would have to faked by default on a non-SELinux 
host (and possibly inside fakeroot with SELinux), but I haven't had time 
to dig into it.

Best regards,
Fiona

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.