[lustre-discuss] lustre-2.15.8 at Debian

Greg pld at sojka.co
Sun Jul 12 10:30:02 UTC 2026


Thanks to all for your answers.

Good news is that I was able to build lustre-2.17.0 client against both:

Debian 12 Bookworm linux-image-6.1.0-50-amd64
Debian 13 Trixie linux-image-6.12.95+deb13-amd64

using the following:

git clone "https://review.whamcloud.com/fs/lustre-release" \
/lustre-2.17.0
cd /lustre-2.17.0/
git checkout 2.17.0
./autogen.sh
./configure --with-linux=/usr/src/linux-headers-6.12.95+deb13-amd64/ \
--with-o2ib=no --disable-server
make dkms-debs

_but_

Whatever I do compiling 2.15.8 I end up with the following:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. 
-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DLUSTRE_UTILS=1 
-I/usr/include/libnl3 -fPIC -include /lustre-2.15.8/undef.h -include 
/lustre-2.15.8/config.h -I/lustre-2.15.8/lnet/include/uapi 
-I/lustre-2.15.8/lustre/include/uapi -I/lustre-2.15.8/libcfs/include 
-I/lustre-2.15.8/lnet/utils/ -I/lustre-2.15.8/lustre/include -g -O2 
-Wall -Werror -c liblnetconfig.c  -fPIC -DPIC -o 
.libs/liblnetconfig_la-liblnetconfig.o
liblnetconfig.c: In function 'open_sysfs_file':
liblnetconfig.c:92:49: error: '%s' directive output may be truncated 
writing up to 127 bytes into a region of size between 1 and 128 
[-Werror=format-truncation=]
    92 |         snprintf(filename, sizeof(filename), "%s%s",
       |                                                 ^~
liblnetconfig.c:92:9: note: 'snprintf' output between 1 and 255 bytes 
into a destination of size 128
    92 |         snprintf(filename, sizeof(filename), "%s%s",
       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    93 |                  path, attr);
       |                  ~~~~~~~~~~~
cc1: all warnings being treated as errors

So, the question is: is it safe to use 2.17.0 client against 2.15.8 server?

-- 
Regards
Greg


More information about the lustre-discuss mailing list