Hello,
I want to test bcachefs file system on CentOS 7.
I have a fresh install and it reports:
~$ cat /etc/system-release
CentOS Linux release 7.6.1810 (Core)
I'm following the bcachefs howto:
https://bcachefs.org/Howto/.
Having a problem trying to complete installation of the bcache-tools.
After going through all the dependencies and getting some help from the CentOS mailing list, I believe I have all the correct dependencies installed:
Package libaio-0.3.109-13.el7.x86_64 already installed and latest version
Package libblkid-2.23.2-59.el7_6.1.x86_64 already installed and latest version
Package libscrypt-1.21-1.el7.x86_64 already installed and latest version
Package libsodium-1.0.18-1.el7.x86_64 already installed and latest version
Package libuuid-2.23.2-59.el7_6.1.x86_64 already installed and latest version
Package libzstd-1.4.0-1.el7.x86_64 already installed and latest version
Package keyutils-1.5.8-3.el7.x86_64 already installed and latest version
Package keyutils-libs-1.5.8-3.el7.x86_64 already installed and latest version
Package keyutils-libs-devel-1.5.8-3.el7.x86_64 already installed and latest version
Package lz4-1.7.5-2.el7.x86_64 already installed and latest version
Installed: lz4-devel.x86_64 0:1.7.5-2.el7
Installing : userspace-rcu-0.7.16-1.el7.x86_64
Installing : userspace-rcu-devel-0.7.16-1.el7.x86_64
pkgconfig-0.27.1-4.el7.x86_64 already installed and latest version
Installing : libuuid-devel-2.23.2-59.el7_6.1.x86_64
Installing : libblkid-devel-2.23.2-59.el7_6.1.x86_64
Installing : libsodium-devel-1.0.18-1.el7.x86_64
Installing : libzstd-devel-1.4.0-1.el7.x86_64
~$make && make install produces errors and I'm not finding many clues on the www.
Code:
cc -std=gnu89 -O2 -g -MMD -Wall -Wno-pointer-sign -fno-strict-aliasing -I. -Iinclude -Iraid -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LGPL_SOURCE -DRCU_MEMBARRIER -DZSTD_STATIC_LINKING_ONLY -DNO_BCACHEFS_CHARDEV -DNO_BCACHEFS_FS -DNO_BCACHEFS_SYSFS -DVERSION_STRING='"v0.1-72-g692eadd"' -Wno-unused-but-set-variable -I/usr/include/blkid -I/usr/include/uuid -c -o libbcachefs/alloc_foreground.o libbcachefs/alloc_foreground.c
libbcachefs/alloc_foreground.c: In function ‘__writepoint_find’:
libbcachefs/alloc_foreground.c:746:2: warning: implicit declaration of function ‘cds_hlist_for_each_entry_rcu_2’ [-Wimplicit-function-declaration]
hlist_for_each_entry_rcu(wp, head, node)
^
libbcachefs/alloc_foreground.c:746:37: error: ‘node’ undeclared (first use in this function)
hlist_for_each_entry_rcu(wp, head, node)
^
libbcachefs/alloc_foreground.c:746:37: note: each undeclared identifier is reported only once for each function it appears in
libbcachefs/alloc_foreground.c:747:3: error: expected ‘;’ before ‘if’
if (wp->write_point == write_point)
^
make: *** [libbcachefs/alloc_foreground.o] Error 1
I can't tell if make is complaining about something missing in CentOS that it expects to be available; or, whether there's something not configured correctly in the bcachefs-tools?
If anyone had success installing bcachefs filesystem, guidance is greatly appreciated.
Thanks