<div dir="ltr"><div><div><div>Slightly OT:<br></div>As mentioned in the mail I sent today liblnetconfig.so.2.<wbr>0.0 is missing from the debs available on <a href="https://downloads.hpdd.intel.com/public/lustre/lustre-2.10.2/ubuntu1604/client/">https://downloads.hpdd.intel.com/public/lustre/lustre-2.10.2/ubuntu1604/client/</a><br><br></div>Regards,<br></div>Eli<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 23, 2018 at 8:35 PM, Alexander I Kulyavtsev <span dir="ltr"><<a href="mailto:aik@fnal.gov" target="_blank">aik@fnal.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Andreas,<br>
It will be extremely helpful to have "rpmbuild --rebuild" to build lustre [client] rpm with the same content and functionality as lustre[-client] rpm from distro.<br>
The client rpm is rebuild most often for different kinds of worker nodes and I see several mails on this list reporting lnetctl is not there.<br>
<br>
enable-dlc/disable-dlc flag is not described in manual or lustre wiki (<a href="http://wiki.lustre.org/Compiling_Lustre" rel="noreferrer" target="_blank">http://wiki.lustre.org/<wbr>Compiling_Lustre</a>) .<br>
<br>
Arman,<br>
for the record:<br>
To get lnetctl into the client rpm on slf6.8 I was need to use flags:<br>
        rpmbuild  --rebuild --without servers --with lnet-dlc --with lustre-utils ./lustre-2.10.2-1.src.rpm<br>
<br>
This adds files below to lustre-client-*.rpm wrt build without these flags:<br>
> /etc/lnet.conf<br>
> /usr/lib64/liblnetconfig.a<br>
> /usr/lib64/liblnetconfig.so<br>
> /usr/lib64/liblnetconfig.so.2<br>
> /usr/lib64/liblnetconfig.so.2.<wbr>0.0<br>
> /usr/sbin/lnetctl<br>
<br>
I did not try "--with lnet-dlc" alone but using only --with lustre-utils was not enough.<br>
Probably --enable-utils and --enable-dlc configure arguments can be used for the same effect.<br>
Using flags lnet-dlc and lustre-utils  is in addition to requirement to have libyaml-devel installed on build host.<br>
<br>
Alex.<br>
<div class="HOEnZb"><div class="h5"><br>
> On Nov 30, 2017, at 2:22 PM, Dilger, Andreas <<a href="mailto:andreas.dilger@intel.com">andreas.dilger@intel.com</a>> wrote:<br>
><br>
> You should also check the config.log to see if it properly detected libyaml being installed and enabled “USE_DLC” for the build:<br>
><br>
>     configure:35728: checking for yaml_parser_initialize in -lyaml<br>
>     configure:35791: result: yes<br>
>     configure:35801: checking whether to enable dlc<br>
>     configure:35815: result: yes<br>
><br>
> Cheers, Andreas<br>
><br>
> On Nov 29, 2017, at 05:28, Arman Khalatyan <<a href="mailto:arm2arm@gmail.com">arm2arm@gmail.com</a>> wrote:<br>
><br>
>> even in the extracted source code the lnetctl does not compile.<br>
>> running make in the utils folder it is producing wirecheck,lst and<br>
>> routerstat, but not lnetctl.<br>
>> After running "make lnetctl" in the utils folder<br>
>> /tmp/lustre-2.10.2_RC1/lnet/<wbr>utils<br>
>><br>
>> it produces the executable.<br>
>><br>
>><br>
>> On Wed, Nov 29, 2017 at 11:52 AM, Arman Khalatyan <<a href="mailto:arm2arm@gmail.com">arm2arm@gmail.com</a>> wrote:<br>
>>> Hi Andreas,<br>
>>> I just checked the yaml-devel it is installed:<br>
>>> yum list installed | grep yaml<br>
>>> libyaml.x86_64                         0.1.4-11.el7_0                  @base<br>
>>> libyaml-devel.x86_64                   0.1.4-11.el7_0                  @base<br>
>>><br>
>>> and still no success:<br>
>>> rpm -qpl rpmbuild/RPMS/x86_64/*.rpm| grep lnetctl<br>
>>> /usr/share/man/man8/lnetctl.8.<wbr>gz<br>
>>> /usr/src/debug/lustre-2.10.2_<wbr>RC1/lnet/include/lnet/lnetctl.<wbr>h<br>
>>><br>
>>> are there any other dependencies ?<br>
>>><br>
>>> Thanks,<br>
>>> Arman.<br>
>>><br>
>>> On Wed, Nov 29, 2017 at 6:46 AM, Dilger, Andreas<br>
>>> <<a href="mailto:andreas.dilger@intel.com">andreas.dilger@intel.com</a>> wrote:<br>
>>>> On Nov 28, 2017, at 07:58, Arman Khalatyan <<a href="mailto:arm2arm@gmail.com">arm2arm@gmail.com</a>> wrote:<br>
>>>>><br>
>>>>> Hello,<br>
>>>>> I would like to recompile the client from the rpm-source but looks<br>
>>>>> like the packaging on the jenkins is wrong:<br>
>>>>><br>
>>>>> 1) wget <a href="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" rel="noreferrer" target="_blank">https://build.hpdd.intel.com/<wbr>job/lustre-b2_10/arch=x86_64,<wbr>build_type=client,distro=el7,<wbr>ib_stack=inkernel/<wbr>lastSuccessfulBuild/artifact/<wbr>artifacts/SRPMS/lustre-2.10.2_<wbr>RC1-1.src.rpm</a><br>
>>>>> 2) rpmbuild --rebuild --without servers lustre-2.10.2_RC1-1.src.rpm<br>
>>>>> after the successful build the rpms doesn't contain the lnetctl but<br>
>>>>> the help only<br>
>>>>> 3) cd /root/rpmbuild/RPMS/x86_64<br>
>>>>> 4) rpm -qpl ./*.rpm| grep lnetctl<br>
>>>>> /usr/share/man/man8/lnetctl.8.<wbr>gz<br>
>>>>> /usr/src/debug/lustre-2.10.2_<wbr>RC1/lnet/include/lnet/lnetctl.<wbr>h<br>
>>>>><br>
>>>>> The   lustre-client-2.10.2_RC1-1.<wbr>el7.x86_64.rpm on the jenkins<br>
>>>>> contains the lnetctl<br>
>>>>> Maybe I should add more options to rebuild the client + lnetctl?<br>
>>>><br>
>>>> You need to have libyaml-devel installed on your build node.<br>
>>>><br>
>>>> Cheers, Andreas<br>
>>>> --<br>
>>>> Andreas Dilger<br>
>>>> Lustre Principal Architect<br>
>>>> Intel Corporation<br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
</div></div><div class="HOEnZb"><div class="h5">> ______________________________<wbr>_________________<br>
> lustre-discuss mailing list<br>
> <a href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.<wbr>org</a><br>
> <a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" rel="noreferrer" target="_blank">http://lists.lustre.org/<wbr>listinfo.cgi/lustre-discuss-<wbr>lustre.org</a><br>
<br>
______________________________<wbr>_________________<br>
lustre-discuss mailing list<br>
<a href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.<wbr>org</a><br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" rel="noreferrer" target="_blank">http://lists.lustre.org/<wbr>listinfo.cgi/lustre-discuss-<wbr>lustre.org</a><br>
</div></div></blockquote></div><br></div>