Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650032 - sys-fs/btrfs-progs[convert] with >=sys-fs/e2fsprogs-1.44.0: convert/source-ext2.c:425:13: error: ‘struct ext2_ext_attr_entry’ has no member named ‘e_value_block’
Summary: sys-fs/btrfs-progs[convert] with >=sys-fs/e2fsprogs-1.44.0: convert/source-ex...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
: 650722 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-09 17:08 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2018-03-19 13:36 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-03-09 17:08:59 UTC
x86_64-pc-linux-gnu-gcc -march=native -mtune=native -O2 -pipe -std=gnu90 -include config.h -DBTRFS_FLAT_INCLUDES -D_XOPEN_SOURCE=700 -fno-strict-aliasing -fPIC -I. -I./kernel-lib    -c convert/source-ext2.c -o convert/source-ext2.o  \
        -DBTRFSCONVERT_EXT2=1 -DBTRFSCONVERT_REISERFS=0
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
 * ERROR: sys-fs/btrfs-progs-4.15.1::gentoo failed (compile phase):
 *   emake failed
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2018-03-10 13:40:52 UTC
Yeah, looks like convert will need to adapt to new ext2 features: https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/commit/?id=6a081f6d2a5cff0f5a077065aab39901d54bfb61
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-03-17 20:17:20 UTC
*** Bug 650722 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2018-03-19 13:36:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1b1f7d8f35398f39c72ec26c731bddfa32c5495

commit e1b1f7d8f35398f39c72ec26c731bddfa32c5495
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-03-19 13:36:26 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-03-19 13:36:42 +0000

    sys-fs/btrfs-progs: Fixed compilation with >=sys-fs/e2fsprogs-1.44.0
    
    Closes: https://bugs.gentoo.org/650032
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-fs/btrfs-progs/btrfs-progs-4.15.1.ebuild       |  4 +++
 .../btrfs-progs-4.15.1-e2fsprogs-1.44.0.patch      | 34 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)