* [Buildroot] [PATCH v2 1/2] package/fakeroot: bump to version 2.1.4
@ 2026-07-12 15:17 Fiona Klute via buildroot
2026-07-12 15:17 ` [Buildroot] [PATCH v2 2/2] package/btrfs-progs: bump to version 7.0 Fiona Klute via buildroot
2026-08-02 13:38 ` [Buildroot] [PATCH v2 1/2] package/fakeroot: bump to version 2.1.4 Julien Olivain via buildroot
0 siblings, 2 replies; 4+ messages in thread
From: Fiona Klute via buildroot @ 2026-07-12 15:17 UTC (permalink / raw)
To: buildroot; +Cc: Fiona Klute
The source archive does not contain a pre-build configure script any
more, so enable autoreconf. Fakeroot also contains an experimental
Meson build definition since 2.1, but Buildroot should keep using
autotools until the Meson build is stable.
Since v6.10.1 btrfs-progs uses nftw() [1], which package/fakeroot did
not support before v2.0 [2]. This update allows updating btrfs-progs
past v6.10 without breaking build of btrfs rootfs images.
Upstream changes:
https://salsa.debian.org/clint/fakeroot/-/compare/upstream%2F1.37.2...upstream%2F2.1.4
[1] https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/commit?id=c6464d3f99ed1dabceff1168eabb207492c37624
[2] https://salsa.debian.org/clint/fakeroot/-/commit/3502c515c73ee02e7f557e6a3bfc1af675dd3d34
Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
---
Changes v1 -> v2:
* commit message: explicitly state why Buildroot should keep using
autotools for now
* add comment explaining why autoreconf is needed
package/fakeroot/fakeroot.hash | 6 +++---
package/fakeroot/fakeroot.mk | 9 ++++++---
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/package/fakeroot/fakeroot.hash b/package/fakeroot/fakeroot.hash
index 82a6214380..0c330b7792 100644
--- a/package/fakeroot/fakeroot.hash
+++ b/package/fakeroot/fakeroot.hash
@@ -1,5 +1,5 @@
-# From https://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.37.2-1.dsc
-sha1 1a721c2b4093a4e83dc091dc41a028f19340c1b3 fakeroot_1.37.2.orig.tar.gz
-sha256 0eea60fbe89771b88fcf415c8f2f0a6ccfe9edebbcf3ba5dc0212718d98884db fakeroot_1.37.2.orig.tar.gz
+# From https://snapshot.debian.org/archive/debian/20260711T202405Z/pool/main/f/fakeroot/fakeroot_2.1.4-1.dsc
+sha1 9d55e62a34612316058166f7c528d9fc2f30c719 fakeroot_2.1.4.orig.tar.xz
+sha256 0822bd5a9f0cf19d2ba0546b88b0432d4d3d9917db62c57b74044ccadba06e49 fakeroot_2.1.4.orig.tar.xz
# License files, locally calculated
sha256 fc82ca8b6fdb18d4e3e85cfd8ab58d1bcd3f1b29abe782895abd91d64763f8e7 COPYING
diff --git a/package/fakeroot/fakeroot.mk b/package/fakeroot/fakeroot.mk
index 12d7f1c4a1..8354f994ee 100644
--- a/package/fakeroot/fakeroot.mk
+++ b/package/fakeroot/fakeroot.mk
@@ -4,9 +4,9 @@
#
################################################################################
-FAKEROOT_VERSION = 1.37.2
-FAKEROOT_SOURCE = fakeroot_$(FAKEROOT_VERSION).orig.tar.gz
-FAKEROOT_SITE = https://snapshot.debian.org/archive/debian/20260401T000000Z/pool/main/f/fakeroot
+FAKEROOT_VERSION = 2.1.4
+FAKEROOT_SOURCE = fakeroot_$(FAKEROOT_VERSION).orig.tar.xz
+FAKEROOT_SITE = https://snapshot.debian.org/archive/debian/20260711T202405Z/pool/main/f/fakeroot
HOST_FAKEROOT_DEPENDENCIES = host-acl
# Force capabilities detection off
@@ -18,4 +18,7 @@ HOST_FAKEROOT_CONF_ENV = \
FAKEROOT_LICENSE = GPL-3.0+
FAKEROOT_LICENSE_FILES = COPYING
+# source archive does not contain pre-generated configure script
+FAKEROOT_AUTORECONF = YES
+
$(eval $(host-autotools-package))
--
2.53.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH v2 2/2] package/btrfs-progs: bump to version 7.0
2026-07-12 15:17 [Buildroot] [PATCH v2 1/2] package/fakeroot: bump to version 2.1.4 Fiona Klute via buildroot
@ 2026-07-12 15:17 ` Fiona Klute via buildroot
2026-08-02 13:38 ` [Buildroot] [PATCH v2 1/2] package/fakeroot: bump to version 2.1.4 Julien Olivain via buildroot
1 sibling, 0 replies; 4+ messages in thread
From: Fiona Klute via buildroot @ 2026-07-12 15:17 UTC (permalink / raw)
To: buildroot; +Cc: Fiona Klute
Upstream changelog:
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/tree/CHANGES?h=v7.0
Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
---
package/btrfs-progs/btrfs-progs.hash | 2 +-
package/btrfs-progs/btrfs-progs.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/btrfs-progs/btrfs-progs.hash b/package/btrfs-progs/btrfs-progs.hash
index f12c76c2ee..cf3a8d381d 100644
--- a/package/btrfs-progs/btrfs-progs.hash
+++ b/package/btrfs-progs/btrfs-progs.hash
@@ -1,5 +1,5 @@
# From https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/sha256sums.asc
-sha256 3382a84e3fcfe1ffdea07a61ab3f4e86665d38fa35f1f34548d5df867423e0df btrfs-progs-v6.10.tar.xz
+sha256 c286d6876cbcd72327a0b417e4cfd280353ec23e37b549fdbcd7800a832d9a99 btrfs-progs-v7.0.tar.xz
# Locally computed
sha256 0d5bf346df9e635a29dcdddf832dc5b002ca6cdc1c5c9c6c567d2a61bb0c5c15 COPYING
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 libbtrfsutil/COPYING
diff --git a/package/btrfs-progs/btrfs-progs.mk b/package/btrfs-progs/btrfs-progs.mk
index 8691a5710e..d9a3a8a858 100644
--- a/package/btrfs-progs/btrfs-progs.mk
+++ b/package/btrfs-progs/btrfs-progs.mk
@@ -4,7 +4,7 @@
#
################################################################################
-BTRFS_PROGS_VERSION = 6.10
+BTRFS_PROGS_VERSION = 7.0
BTRFS_PROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/people/kdave/btrfs-progs
BTRFS_PROGS_SOURCE = btrfs-progs-v$(BTRFS_PROGS_VERSION).tar.xz
BTRFS_PROGS_DEPENDENCIES = host-pkgconf lzo util-linux zlib
--
2.53.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH v2 1/2] package/fakeroot: bump to version 2.1.4
2026-07-12 15:17 [Buildroot] [PATCH v2 1/2] package/fakeroot: bump to version 2.1.4 Fiona Klute via buildroot
2026-07-12 15:17 ` [Buildroot] [PATCH v2 2/2] package/btrfs-progs: bump to version 7.0 Fiona Klute via buildroot
@ 2026-08-02 13:38 ` Julien Olivain via buildroot
2026-08-02 19:53 ` Fiona Klute via buildroot
1 sibling, 1 reply; 4+ messages in thread
From: Julien Olivain via buildroot @ 2026-08-02 13:38 UTC (permalink / raw)
To: Fiona Klute; +Cc: buildroot
Hi Fiona,
On 12/07/2026 17:17, Fiona Klute via buildroot wrote:
> The source archive does not contain a pre-build configure script any
> more, so enable autoreconf. Fakeroot also contains an experimental
> Meson build definition since 2.1, but Buildroot should keep using
> autotools until the Meson build is stable.
>
> Since v6.10.1 btrfs-progs uses nftw() [1], which package/fakeroot did
> not support before v2.0 [2]. This update allows updating btrfs-progs
> past v6.10 without breaking build of btrfs rootfs images.
>
> Upstream changes:
> https://salsa.debian.org/clint/fakeroot/-/compare/upstream%2F1.37.2...upstream%2F2.1.4
>
> [1]
> https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/commit?id=c6464d3f99ed1dabceff1168eabb207492c37624
> [2]
> https://salsa.debian.org/clint/fakeroot/-/commit/3502c515c73ee02e7f557e6a3bfc1af675dd3d34
>
> Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
> ---
> Changes v1 -> v2:
> * commit message: explicitly state why Buildroot should keep using
> autotools for now
> * add comment explaining why autoreconf is needed
>
> package/fakeroot/fakeroot.hash | 6 +++---
> package/fakeroot/fakeroot.mk | 9 ++++++---
> 2 files changed, 9 insertions(+), 6 deletions(-)
>
> diff --git a/package/fakeroot/fakeroot.hash
> b/package/fakeroot/fakeroot.hash
> index 82a6214380..0c330b7792 100644
> --- a/package/fakeroot/fakeroot.hash
> +++ b/package/fakeroot/fakeroot.hash
> @@ -1,5 +1,5 @@
> -# From
> https://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.37.2-1.dsc
> -sha1 1a721c2b4093a4e83dc091dc41a028f19340c1b3
> fakeroot_1.37.2.orig.tar.gz
> -sha256
> 0eea60fbe89771b88fcf415c8f2f0a6ccfe9edebbcf3ba5dc0212718d98884db
> fakeroot_1.37.2.orig.tar.gz
> +# From
> https://snapshot.debian.org/archive/debian/20260711T202405Z/pool/main/f/fakeroot/fakeroot_2.1.4-1.dsc
> +sha1 9d55e62a34612316058166f7c528d9fc2f30c719
> fakeroot_2.1.4.orig.tar.xz
> +sha256
> 0822bd5a9f0cf19d2ba0546b88b0432d4d3d9917db62c57b74044ccadba06e49
> fakeroot_2.1.4.orig.tar.xz
> # License files, locally calculated
> sha256
> fc82ca8b6fdb18d4e3e85cfd8ab58d1bcd3f1b29abe782895abd91d64763f8e7
> COPYING
> diff --git a/package/fakeroot/fakeroot.mk
> b/package/fakeroot/fakeroot.mk
> index 12d7f1c4a1..8354f994ee 100644
> --- a/package/fakeroot/fakeroot.mk
> +++ b/package/fakeroot/fakeroot.mk
> @@ -4,9 +4,9 @@
> #
>
> ################################################################################
>
> -FAKEROOT_VERSION = 1.37.2
> -FAKEROOT_SOURCE = fakeroot_$(FAKEROOT_VERSION).orig.tar.gz
> -FAKEROOT_SITE =
> https://snapshot.debian.org/archive/debian/20260401T000000Z/pool/main/f/fakeroot
> +FAKEROOT_VERSION = 2.1.4
While testing this new fakeroot version, I found an issue on hosts
with SELinux enabled.
For info, it is working well in the Buildroot Docker image,
in the Gitlab infra:
https://gitlab.com/jolivain/buildroot/-/jobs/15663849325
When running on my Fedora 44 host (with selinux enabled),
mkfs.btrfs is failing with this error:
ERROR: zoned: unable to stat
/buildroot/output_folder/TestBtrfs/images/rootfs.btrfs
ERROR: getting a xattr value failed for
/buildroot/output_folder/TestBtrfs/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: unable to traverse directory
/buildroot/output_folder/TestBtrfs/build/buildroot-fs/btrfs/target: -1
ERROR: error while filling filesystem: Operation not permitted
I was able to workaround the issue with the following patch I proposed
in:
https://salsa.debian.org/clint/fakeroot/-/merge_requests/38
Could you check on your side this fakeroot patch is working for you?
If it does, could you send a v3 including my patch?
There is also a new btrfs-progs v7.1:
https://github.com/kdave/btrfs-progs/releases/tag/v7.1
So while at it, maybe you could update to it to.
> +FAKEROOT_SOURCE = fakeroot_$(FAKEROOT_VERSION).orig.tar.xz
> +FAKEROOT_SITE =
> https://snapshot.debian.org/archive/debian/20260711T202405Z/pool/main/f/fakeroot
>
> HOST_FAKEROOT_DEPENDENCIES = host-acl
> # Force capabilities detection off
> @@ -18,4 +18,7 @@ HOST_FAKEROOT_CONF_ENV = \
> FAKEROOT_LICENSE = GPL-3.0+
> FAKEROOT_LICENSE_FILES = COPYING
>
> +# source archive does not contain pre-generated configure script
> +FAKEROOT_AUTORECONF = YES
> +
> $(eval $(host-autotools-package))
> --
> 2.53.0
Best regards,
Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH v2 1/2] package/fakeroot: bump to version 2.1.4
2026-08-02 13:38 ` [Buildroot] [PATCH v2 1/2] package/fakeroot: bump to version 2.1.4 Julien Olivain via buildroot
@ 2026-08-02 19:53 ` Fiona Klute via buildroot
0 siblings, 0 replies; 4+ messages in thread
From: Fiona Klute via buildroot @ 2026-08-02 19:53 UTC (permalink / raw)
To: Julien Olivain; +Cc: buildroot
Hi Julien!
Am 02.08.26 um 15:38 schrieb Julien Olivain:
> Hi Fiona,
>
> On 12/07/2026 17:17, Fiona Klute via buildroot wrote:
>> The source archive does not contain a pre-build configure script any
>> more, so enable autoreconf. Fakeroot also contains an experimental
>> Meson build definition since 2.1, but Buildroot should keep using
>> autotools until the Meson build is stable.
>>
>> Since v6.10.1 btrfs-progs uses nftw() [1], which package/fakeroot did
>> not support before v2.0 [2]. This update allows updating btrfs-progs
>> past v6.10 without breaking build of btrfs rootfs images.
>>
>> Upstream changes:
>> https://salsa.debian.org/clint/fakeroot/-/compare/
>> upstream%2F1.37.2...upstream%2F2.1.4
>>
>> [1] https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-
>> progs.git/commit?id=c6464d3f99ed1dabceff1168eabb207492c37624
>> [2] https://salsa.debian.org/clint/fakeroot/-/
>> commit/3502c515c73ee02e7f557e6a3bfc1af675dd3d34
>>
>> Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
>> ---
>> Changes v1 -> v2:
>> * commit message: explicitly state why Buildroot should keep using
>> autotools for now
>> * add comment explaining why autoreconf is needed
>>
>> package/fakeroot/fakeroot.hash | 6 +++---
>> package/fakeroot/fakeroot.mk | 9 ++++++---
>> 2 files changed, 9 insertions(+), 6 deletions(-)
>>
>> diff --git a/package/fakeroot/fakeroot.hash b/package/fakeroot/
>> fakeroot.hash
>> index 82a6214380..0c330b7792 100644
>> --- a/package/fakeroot/fakeroot.hash
>> +++ b/package/fakeroot/fakeroot.hash
>> @@ -1,5 +1,5 @@
>> -# From https://deb.debian.org/debian/pool/main/f/fakeroot/
>> fakeroot_1.37.2-1.dsc
>> -sha1 1a721c2b4093a4e83dc091dc41a028f19340c1b3
>> fakeroot_1.37.2.orig.tar.gz
>> -sha256
>> 0eea60fbe89771b88fcf415c8f2f0a6ccfe9edebbcf3ba5dc0212718d98884db
>> fakeroot_1.37.2.orig.tar.gz
>> +# From https://snapshot.debian.org/archive/debian/20260711T202405Z/
>> pool/main/f/fakeroot/fakeroot_2.1.4-1.dsc
>> +sha1 9d55e62a34612316058166f7c528d9fc2f30c719
>> fakeroot_2.1.4.orig.tar.xz
>> +sha256
>> 0822bd5a9f0cf19d2ba0546b88b0432d4d3d9917db62c57b74044ccadba06e49
>> fakeroot_2.1.4.orig.tar.xz
>> # License files, locally calculated
>> sha256
>> fc82ca8b6fdb18d4e3e85cfd8ab58d1bcd3f1b29abe782895abd91d64763f8e7 COPYING
>> diff --git a/package/fakeroot/fakeroot.mk b/package/fakeroot/fakeroot.mk
>> index 12d7f1c4a1..8354f994ee 100644
>> --- a/package/fakeroot/fakeroot.mk
>> +++ b/package/fakeroot/fakeroot.mk
>> @@ -4,9 +4,9 @@
>> #
>>
>> ################################################################################
>>
>> -FAKEROOT_VERSION = 1.37.2
>> -FAKEROOT_SOURCE = fakeroot_$(FAKEROOT_VERSION).orig.tar.gz
>> -FAKEROOT_SITE = https://snapshot.debian.org/archive/
>> debian/20260401T000000Z/pool/main/f/fakeroot
>> +FAKEROOT_VERSION = 2.1.4
>
> While testing this new fakeroot version, I found an issue on hosts
> with SELinux enabled.
>
> For info, it is working well in the Buildroot Docker image,
> in the Gitlab infra:
> https://gitlab.com/jolivain/buildroot/-/jobs/15663849325
>
> When running on my Fedora 44 host (with selinux enabled),
> mkfs.btrfs is failing with this error:
>
> ERROR: zoned: unable to stat /buildroot/output_folder/TestBtrfs/images/
> rootfs.btrfs
> ERROR: getting a xattr value failed for /buildroot/output_folder/
> TestBtrfs/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: unable to traverse directory /buildroot/output_folder/TestBtrfs/
> build/buildroot-fs/btrfs/target: -1
> ERROR: error while filling filesystem: Operation not permitted
>
> I was able to workaround the issue with the following patch I proposed in:
> https://salsa.debian.org/clint/fakeroot/-/merge_requests/38
>
> Could you check on your side this fakeroot patch is working for you?
Thanks for testing and writing a patch! Unfortunately it breaks building
a Buildroot system with selinux enabled on a non-selinux host, with
error messages similar to the ones you saw building on an selinux host:
ERROR: zoned: unable to stat
/home/fiona/development/buildroot/output/selinux/images/rootfs.btrfs
NOTE: default settings have changed in version 6.19 (supported since
linux 6.1):
- enable block-group-tree (-O bgt)
Rootdir from:
/home/fiona/development/buildroot/output/selinux/build/buildroot-fs/btrfs/target
Compress: no
ERROR: getting a xattr value failed for
/home/fiona/development/buildroot/output/selinux/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: unable to traverse directory
/home/fiona/development/buildroot/output/selinux/build/buildroot-fs/btrfs/target:
-1
ERROR: error while filling filesystem: Operation not permitted
I assume the first line (zoned error) is a red herring, because it also
appears in a btrfs image build that works fine. Same build without your
patch produces:
ERROR: zoned: unable to stat
/home/fiona/development/buildroot/output/selinux/images/rootfs.btrfs
NOTE: default settings have changed in version 6.19 (supported since
linux 6.1):
- enable block-group-tree (-O bgt)
Rootdir from:
/home/fiona/development/buildroot/output/selinux/build/buildroot-fs/btrfs/target
Compress: no
Shrink: no
Label:
UUID: 12756174-b7d8-40af-a2a8-f27681f8108c
Node size: 16384
Sector size: 4096 (CPU page size: 4096)
Filesystem size: 512.00MiB
Block group profiles:
Data: single 200.00MiB
Metadata: DUP 32.00MiB
System: DUP 8.00MiB
SSD detected: no
Zoned device: no
Features: extref, skinny-metadata, no-holes, free-space-tree,
block-group-tree
Checksum: crc32c
Number of devices: 1
Devices:
ID SIZE PATH
1 512.00MiB
/home/fiona/development/buildroot/output/selinux/images/rootfs.btrfs
> If it does, could you send a v3 including my patch?
>
> There is also a new btrfs-progs v7.1:
> https://github.com/kdave/btrfs-progs/releases/tag/v7.1
> So while at it, maybe you could update to it to.
I have sent a v3 with that update.
Best regards,
Fiona
>> +FAKEROOT_SOURCE = fakeroot_$(FAKEROOT_VERSION).orig.tar.xz
>> +FAKEROOT_SITE = https://snapshot.debian.org/archive/
>> debian/20260711T202405Z/pool/main/f/fakeroot
>>
>> HOST_FAKEROOT_DEPENDENCIES = host-acl
>> # Force capabilities detection off
>> @@ -18,4 +18,7 @@ HOST_FAKEROOT_CONF_ENV = \
>> FAKEROOT_LICENSE = GPL-3.0+
>> FAKEROOT_LICENSE_FILES = COPYING
>>
>> +# source archive does not contain pre-generated configure script
>> +FAKEROOT_AUTORECONF = YES
>> +
>> $(eval $(host-autotools-package))
>> --
>> 2.53.0
>
> Best regards,
>
> Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-08-02 19:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-12 15:17 [Buildroot] [PATCH v2 1/2] package/fakeroot: bump to version 2.1.4 Fiona Klute via buildroot
2026-07-12 15:17 ` [Buildroot] [PATCH v2 2/2] package/btrfs-progs: bump to version 7.0 Fiona Klute via buildroot
2026-08-02 13:38 ` [Buildroot] [PATCH v2 1/2] package/fakeroot: bump to version 2.1.4 Julien Olivain via buildroot
2026-08-02 19:53 ` Fiona Klute via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox