[lustre-discuss] Compiling debian client packages

Shaun Tancheff shaun.tancheff at hpe.com
Tue Jul 22 19:04:41 PDT 2025


On 7/22/25 22:51, Hanno Rein via lustre-discuss wrote:
> Hello,
> 
> I have successfully compiled (and installed) debian packages for all the 
> lustre server components. However, I'm running into problems trying to 
> compile debian packages for the clients.
> 
> I'm configuring lustre version 2.16.57 with the following options:
> 
>    ./configure --with-linux=/usr/src/linux-headers-6.1.0-37-amd64 -- 
> disable-ldiskfs --with-zfs --enable-client --disable-server

--with-zfs does not belong here

Seems to be a configure 'bug' that could abort or warn about an invalid 
configuration. Note that clients do not care what the back-end the 
server is using and zfs is a server specific configuration option.

For reference this should work:
./configure --config-cache --disable-server --enable-client 
--with-linux=/usr/src/linux-headers-6.1.0-35-amd64 --disable-ldiskfs


> When trying to compile with make I get the following errors:
> 
> In file included from /home/rein/lustre-release2/lustre/osd-zfs/ 
> osd_handler.c:30:
> /home/rein/lustre-release2/lustre/include/md_object.h:20:3: error: 
> #error "client code should not depend on md_object.h"
>     20 | # error "client code should not depend on md_object.h"
>        |   ^~~~~
>    CC [M]  /home/rein/lustre-release2/lnet/lnet/adler.o
> In file included from /home/rein/lustre-release2/lustre/osd-zfs/ 
> osd_handler.c:32:
> /home/rein/lustre-release2/lustre/osd-zfs/osd_internal.h:385:33: error: 
> field ‘od_brw_stats’ has incomplete type
>    385 |         struct brw_stats        od_brw_stats;
>        |                                 ^~~~~~~~~~~~
> /home/rein/lustre-release2/lustre/osd-zfs/osd_handler.c: In function 
> ‘osd_mount’:
> /home/rein/lustre-release2/lustre/osd-zfs/osd_handler.c:1180:14: error: 
> implicit declaration of function ‘lprocfs_init_brw_stats’; did you mean 
> ‘lprocfs_init_ldlm_stats’? [-Werror=implicit-function-declaration]
>   1180 |         rc = lprocfs_init_brw_stats(&o->od_brw_stats);
>        |              ^~~~~~~~~~~~~~~~~~~~~~
>        |              lprocfs_init_ldlm_stats
> 
> 
> When I don't disable the server parts, e.g.
> 
>    ./configure --with-linux=/usr/src/linux-headers-6.1.0-37-amd64 -- 
> disable-ldiskfs --with-zfs --enable-client
> 
> then the compilation works fine, but make debs complains:
> 
>    dpkg-genchanges: warning: package lustre-client-utils in control file 
> but not in files list
> 
> and as a result no client debs are created (only the server ones).
> 
> 
> Any hints on how to fix this would be greatly appreciated!
> 
> Thank you!
>    Hanno
> 
> 
> 
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> https://urldefense.com/v3/__http://lists.lustre.org/listinfo.cgi/lustre- 
> discuss-lustre.org__;!!NpxR! 
> k0T2JvOG0m6io5Q8rHMVmuBkT2kJbfroPO25bwVm9DFLVTAlJO8hu2FBPPV4Wk3v39EdAaf_cnouDoG8gAlSONYqE6u84LP5$



More information about the lustre-discuss mailing list