I tried to build btrfs module with this ebuild and it gives some errors while building: /var/tmp/portage/sys-fs/btrfs-9999/work/btrfs-9999/super.c:635: error: unknown field 'write_super_lockfs' specified in initializer /var/tmp/portage/sys-fs/btrfs-9999/work/btrfs-9999/super.c:635: warning: initialization from incompatible pointer type /var/tmp/portage/sys-fs/btrfs-9999/work/btrfs-9999/super.c:636: error: unknown field 'unlockfs' specified in initializer And thats because that git branch with standalone btrfs is not maintained anymore, here is a log from #btrfs with the author of btrfs: Ideal_ ah, i see.. i'm just using btrfs-unstable-standalone(via ebuild), seems like it is not updated quite a bit.. cmason Ideal_: yes that one is very out of date Ideal_ cmason: is there a way to build recent module without cloning the whole tree ? cmason I'm afraid not Ideal_ aha, i see.. okay Ideal_ btw, no need to afraid.. :) Ideal_ cmason: maybe file a bug to gentoo to remove that 9999 ebuilds ? Ideal_ and also on btrfs wiki.. cmason good idea So here it is.. I propose to remove this ebuild. Reproducible: Always Steps to Reproduce:
Yes, thanks for the info. I'll do this soon.
sys-fs/btrfs-9999 removed
Actually btrfs-0.17 has this problem too... make -j1 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= KERNELDIR=/lib/modules/2.6.33-gentoo/build all make -C /lib/modules/2.6.33-gentoo/build M=`pwd` CONFIG_BTRFS_FS=m modules make[1]: Entering directory `/usr/src/linux-2.6.33-gentoo' CC [M] /var/tmp/portage/sys-fs/btrfs-0.17/work/btrfs-0.17/super.o /var/tmp/portage/sys-fs/btrfs-0.17/work/btrfs-0.17/super.c:634: error: unknown field 'write_super_lockfs' specified in initializer /var/tmp/portage/sys-fs/btrfs-0.17/work/btrfs-0.17/super.c:634: warning: initialization from incompatible pointer type /var/tmp/portage/sys-fs/btrfs-0.17/work/btrfs-0.17/super.c:635: error: unknown field 'unlockfs' specified in initializer
I agree - these are old and unmaintained, and btrfs is now included in the newer kernels. Will mask this package for removal in 30 days.
Package sys-fs/btrfs removed