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

Dilger, Andreas andreas.dilger at intel.com
Thu Nov 30 12:22:54 PST 2017


You should also check the config.log to see if it properly detected libyaml being installed and enabled “USE_DLC” for the build:

    configure:35728: checking for yaml_parser_initialize in -lyaml
    configure:35791: result: yes
    configure:35801: checking whether to enable dlc
    configure:35815: result: yes

Cheers, Andreas

On Nov 29, 2017, at 05:28, Arman Khalatyan <arm2arm at gmail.com<mailto:arm2arm at gmail.com>> wrote:

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<mailto: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<mailto:andreas.dilger at intel.com>> wrote:
On Nov 28, 2017, at 07:58, Arman Khalatyan <arm2arm at gmail.com<mailto: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







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20171130/e3984bba/attachment.html>


More information about the lustre-discuss mailing list