On 03/24/2018 07:29 AM, Ryan Marsaw wrote:
Hello all.
LFS has just updated E2fsprogs-1.44.0 and this version breaks
btrfs-progs with the following:
[...]
[CC] btrfs-corrupt-block.o
convert/source-ext2.c: In function 'ext2_xattr_check_entry':
convert/source-ext2.c:425:13: error: 'struct ext2_ext_attr_entry' has no
member named 'e_value_block'; did you mean 'e_value_offs'?
if (entry->e_value_block != 0 || value_size > size ||
^~~~~~~~~~~~~
e_value_offs
make: *** [Makefile:282: convert/source-ext2.o] Error 1
make: *** Waiting for unfinished jobs....
[...]
Here's a link that describes the error:
https://patchwork.kernel.org/patch/10281327/
There's a patch at the bottom that fixes the issue.
Thank you for the report. btrfs releases new packages fairly often. In
the meantime, this sed should fix the problem:
sed -i '/e_value_block/s/entry->e_value_block != 0 ||//' \
convert/source-ext2.c
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page