[lustre-discuss] Build Lustre Ubuntu client from source

Tancheff, Shaun shaun.tancheff at hpe.com
Mon May 1 22:50:24 PDT 2023


make[5]: Leaving directory '/usr/src/linux-headers-5.19.0-41-generic'

Patch to support Ubuntu 5.19 client is still in progress:

LU-16619<https://jira.whamcloud.com/browse/LU-16619> build: Ubuntu jammy 5.19 client support
https://review.whamcloud.com/c/fs/lustre-release/+/50210

You can cherry-pick the latest onto master branch to build for 5.19 ubuntu client(s).


From: Nick dan <nickdan2999 at gmail.com>
Date: Tuesday, May 2, 2023 at 1:40 PM
To: "Tancheff, Shaun" <shaun.tancheff at hpe.com>, "lustre-discuss-request at lists.lustre.org" <lustre-discuss-request at lists.lustre.org>, "lustre-discuss-owner at lists.lustre.org" <lustre-discuss-owner at lists.lustre.org>, "lustre-discuss at lists.lustre.org" <lustre-discuss at lists.lustre.org>, "Philippe.Weill at latmos.ipsl.fr" <Philippe.Weill at latmos.ipsl.fr>
Subject: Re: [lustre-discuss] Build Lustre Ubuntu client from source

Hi
I tried to follow the steps you have mentioned. But I am facing the following error:

After make debs

make[5]: *** [Makefile:1850: /home/user/lustre-release] Error 2
make[5]: Leaving directory '/usr/src/linux-headers-5.19.0-41-generic'
make[4]: *** [autoMakefile:1126: modules] Error 2
make[4]: Leaving directory '/home/user/lustre-release'
make[3]: *** [autoMakefile:664: all-recursive] Error 1
make[3]: Leaving directory '/home/user/lustre-release'
make[2]: *** [autoMakefile:538: all] Error 2
make[2]: Leaving directory '/home/user/lustre-release'
make[1]: *** [debian/rules:228: build-stamp] Error 2
make[1]: Leaving directory '/home/user/lustre-release'
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
cp: cannot stat '/control.bkp': No such file or directory
cp: cannot stat '/control.main.bkp': No such file or directory
cp: cannot stat '/control.modules.in.bkp': No such file or directory
make: *** [autoMakefile:1276: debs] Error 2

Can you help?

Thanks & Regards
Nick

On Fri, 28 Apr 2023 at 15:45, Tancheff, Shaun <shaun.tancheff at hpe.com<mailto:shaun.tancheff at hpe.com>> wrote:
This is my usual method, however there may be some additional packages needed

sudo apt-get install -y \
  module-assistant libreadline-dev debhelper \
  dpatch automake pkg-config libtool libyaml-dev libnl-genl-3-dev \
  libselinux-dev libsnmp-dev mpi-default-dev bzip2 quilt \
  linux-headers-$(uname -r) rsync libssl-dev libpython3-dev swig


sh ./autogen.sh

./configure --config-cache --disable-server --enable-client --with-linux=/usr/src/linux-headers-5.4.0-147 --with-linux-obj=/usr/src/linux-headers-5.4.0-147-generic --without-zfs --disable-ldiskfs --disable-snmp --enable-modules

make debs


From: lustre-discuss <lustre-discuss-bounces at lists.lustre.org<mailto:lustre-discuss-bounces at lists.lustre.org>> on behalf of Nick dan via lustre-discuss <lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org>>
Reply-To: Nick dan <nickdan2999 at gmail.com<mailto:nickdan2999 at gmail.com>>
Date: Friday, April 28, 2023 at 1:53 PM
To: "lustre-discuss-request at lists.lustre.org<mailto:lustre-discuss-request at lists.lustre.org>" <lustre-discuss-request at lists.lustre.org<mailto:lustre-discuss-request at lists.lustre.org>>, "lustre-discuss-owner at lists.lustre.org<mailto:lustre-discuss-owner at lists.lustre.org>" <lustre-discuss-owner at lists.lustre.org<mailto:lustre-discuss-owner at lists.lustre.org>>, "lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org>" <lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org>>
Subject: [lustre-discuss] Build Lustre Ubuntu client from source

Hi

Can you send the steps / documentation to build Lustre Ubuntu Client from source (git)?

Thanks and regards,
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20230502/9621999b/attachment-0001.htm>


More information about the lustre-discuss mailing list