[lustre-discuss] Recompiling client from the source doesnot contain lnetctl

Arman Khalatyan arm2arm at gmail.com
Wed Nov 29 04:27:52 PST 2017


even in the extracted source code the lnetctl does not compile.
running make in the utils folder it is producing wirecheck,lst and
routerstat, but not lnetctl.
After running "make lnetctl" in the utils folder
/tmp/lustre-2.10.2_RC1/lnet/utils

it produces the executable.


On Wed, Nov 29, 2017 at 11:52 AM, Arman Khalatyan <arm2arm at gmail.com> wrote:
> Hi Andreas,
> I just checked the yaml-devel it is installed:
> yum list installed | grep yaml
> libyaml.x86_64                         0.1.4-11.el7_0                  @base
> libyaml-devel.x86_64                   0.1.4-11.el7_0                  @base
>
> and still no success:
>  rpm -qpl rpmbuild/RPMS/x86_64/*.rpm| grep lnetctl
> /usr/share/man/man8/lnetctl.8.gz
> /usr/src/debug/lustre-2.10.2_RC1/lnet/include/lnet/lnetctl.h
>
> are there any other dependencies ?
>
> Thanks,
> Arman.
>
> On Wed, Nov 29, 2017 at 6:46 AM, Dilger, Andreas
> <andreas.dilger at intel.com> wrote:
>> On Nov 28, 2017, at 07:58, Arman Khalatyan <arm2arm at gmail.com> wrote:
>>>
>>> Hello,
>>> I would like to recompile the client from the rpm-source but looks
>>> like the packaging on the jenkins is wrong:
>>>
>>> 1) wget https://build.hpdd.intel.com/job/lustre-b2_10/arch=x86_64,build_type=client,distro=el7,ib_stack=inkernel/lastSuccessfulBuild/artifact/artifacts/SRPMS/lustre-2.10.2_RC1-1.src.rpm
>>> 2) rpmbuild --rebuild --without servers lustre-2.10.2_RC1-1.src.rpm
>>> after the successful build the rpms doesn't contain the lnetctl but
>>> the help only
>>> 3) cd /root/rpmbuild/RPMS/x86_64
>>> 4) rpm -qpl ./*.rpm| grep lnetctl
>>> /usr/share/man/man8/lnetctl.8.gz
>>> /usr/src/debug/lustre-2.10.2_RC1/lnet/include/lnet/lnetctl.h
>>>
>>> The   lustre-client-2.10.2_RC1-1.el7.x86_64.rpm on the jenkins
>>> contains the lnetctl
>>> Maybe I should add more options to rebuild the client + lnetctl?
>>
>> You need to have libyaml-devel installed on your build node.
>>
>> Cheers, Andreas
>> --
>> Andreas Dilger
>> Lustre Principal Architect
>> Intel Corporation
>>
>>
>>
>>
>>
>>
>>


More information about the lustre-discuss mailing list