[lustre-discuss] lustre-dkms problems
Faccini, Bruno
bruno.faccini at intel.com
Wed Feb 21 06:04:05 PST 2018
Hello Ricardo,
> [root at psludev02 SPECS]# rpmbuild --with zfs --without ldiskfs -bb
> lustre-dkms.spec
from where/which RPM did this lustre-dkms.spec file come from?
Bruno.
> On Feb 21, 2018, at 3:11 AM, Riccardo Veraldi <Riccardo.Veraldi at cnaf.infn.it> wrote:
>
> Hello.
>
> I have problems installing the lustre-dkms package for Lustre 2.10.3
> after building it from SRPMS.
>
> the same problem occurs with lustre-dkms-2.10.3-1.el7.noarch.rpm
> downloaded from the official Lustre repo.
>
> There is an error and the lustre module is not built.
>
> RHEL74 Linux 3.10.0-693.17.1.el7.x86_64
>
> [root at psludev02 noarch]# yum localinstall
> lustre-dkms-2.10.3-1.el7.noarch.rpm
> Loaded plugins: product-id, search-disabled-repos
> Examining lustre-dkms-2.10.3-1.el7.noarch.rpm:
> lustre-dkms-2.10.3-1.el7.noarch
> Marking lustre-dkms-2.10.3-1.el7.noarch.rpm to be installed
> Resolving Dependencies
> --> Running transaction check
> ---> Package lustre-dkms.noarch 0:2.10.3-1.el7 will be installed
> --> Finished Dependency Resolution
>
> Dependencies Resolved
>
> ================================================================================
> Package Arch Version
> Repository Size
> ================================================================================
> Installing:
> lustre-dkms noarch 2.10.3-1.el7
> /lustre-dkms-2.10.3-1.el7.noarch 34 M
>
> Transaction Summary
> ================================================================================
> Install 1 Package
>
> Total size: 34 M
> Installed size: 34 M
> Is this ok [y/d/N]: y
> Downloading packages:
> Running transaction check
> Running transaction test
> Transaction test succeeded
> Running transaction
> Installing :
> lustre-dkms-2.10.3-1.el7.noarch
> 1/1
> Loading new lustre-2.10.3 DKMS files...
> Building for 3.10.0-693.17.1.el7.x86_64
> Building initial module for 3.10.0-693.17.1.el7.x86_64
> Error! Bad return status for module build on kernel:
> 3.10.0-693.17.1.el7.x86_64 (x86_64)
> Consult /var/lib/dkms/lustre/2.10.3/build/make.log for more information.
> warning: %post(lustre-dkms-2.10.3-1.el7.noarch) scriptlet failed, exit
> status 10
> Non-fatal POSTIN scriptlet failure in rpm package
> lustre-dkms-2.10.3-1.el7.noarch
> Verifying :
> lustre-dkms-2.10.3-1.el7.noarch
> 1/1
>
> Installed:
> lustre-dkms.noarch
> 0:2.10.3-1.el7
>
>
> Complete!
>
> the log says
>
> DKMS make.log for lustre-2.10.3 for kernel 3.10.0-693.17.1.el7.x86_64
> (x86_64)
> Tue Feb 20 17:58:56 PST 2018
> make: *** No targets specified and no makefile found. Stop.
>
> and in fact in /var/lib/dkms/lustre/2.10.3/build/ there is no Makefile
> but only Makefile.in
>
> seems like autogen is not called.
>
> this is how I built the lustre-dkms rpm
>
> [root at psludev02 SPECS]# rpmbuild --with zfs --without ldiskfs -bb
> lustre-dkms.spec
> error: Macro %mkconf_options has empty body
> error: Macro %mkconf_options has empty body
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3Jwnia
> + umask 022
> + cd /root/rpmbuild/BUILD
> + cd /root/rpmbuild/BUILD
> + rm -rf lustre-2.10.3
> + /usr/bin/gzip -dc /root/rpmbuild/SOURCES/lustre-2.10.3.tar.gz
> + /usr/bin/tar -xf -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd lustre-2.10.3
> + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
> + exit 0
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.K47nWk
> + umask 022
> + cd /root/rpmbuild/BUILD
> + cd lustre-2.10.3
> + lustre/scripts/dkms.mkconf -n lustre -v 2.10.3 -f dkms.conf
> '%{mkconf_options}'
> + exit 0
> Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OSRfCv
> + umask 022
> + cd /root/rpmbuild/BUILD
> + '[' /root/rpmbuild/BUILDROOT/lustre-dkms-2.10.3-1.el7.x86_64 '!=' / ']'
> + rm -rf /root/rpmbuild/BUILDROOT/lustre-dkms-2.10.3-1.el7.x86_64
> ++ dirname /root/rpmbuild/BUILDROOT/lustre-dkms-2.10.3-1.el7.x86_64
> + mkdir -p /root/rpmbuild/BUILDROOT
> + mkdir /root/rpmbuild/BUILDROOT/lustre-dkms-2.10.3-1.el7.x86_64
> + cd lustre-2.10.3
> + '[' /root/rpmbuild/BUILDROOT/lustre-dkms-2.10.3-1.el7.x86_64 '!=' / ']'
> + rm -rf /root/rpmbuild/BUILDROOT/lustre-dkms-2.10.3-1.el7.x86_64
> + mkdir -p /root/rpmbuild/BUILDROOT/lustre-dkms-2.10.3-1.el7.x86_64/usr/src/
> + cp -rfp /root/rpmbuild/BUILD/lustre-2.10.3
> /root/rpmbuild/BUILDROOT/lustre-dkms-2.10.3-1.el7.x86_64/usr/src/
> + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz
> --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000
> /root/rpmbuild/BUILD/lustre-2.10.3
> /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match.
> + /usr/lib/rpm/check-buildroot
> + /usr/lib/rpm/redhat/brp-compress
> + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
> + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
> + /usr/lib/rpm/redhat/brp-python-hardlink
> + /usr/lib/rpm/redhat/brp-java-repack-jars
> Processing files: lustre-dkms-2.10.3-1.el7.noarch
> Provides: kmod-lustre = 2.10.3 lustre-dkms = 2.10.3-1.el7 lustre-modules
> = 2.10.3 lustre-osd lustre-osd-zfs = 2.10.3
> Requires(interp): /bin/sh /bin/sh
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Requires(post): /bin/sh
> Requires(preun): /bin/sh
> Requires: /bin/bash /bin/sh /usr/bin/env /usr/bin/expect /usr/bin/perl
> perl(File::Basename) perl(File::Path) perl(FileHandle)
> perl(Getopt::Long) perl(Getopt::Std) perl(POSIX) perl(Socket)
> perl(strict) perl(vars)
> Obsoletes: lustre-client < 2.10.3
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /root/rpmbuild/BUILDROOT/lustre-dkms-2.10.3-1.el7.x86_64
> Wrote: /root/rpmbuild/RPMS/noarch/lustre-dkms-2.10.3-1.el7.noarch.rpm
> Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0G1HVs
> + umask 022
> + cd /root/rpmbuild/BUILD
> + cd lustre-2.10.3
> + '[' /root/rpmbuild/BUILDROOT/lustre-dkms-2.10.3-1.el7.x86_64 '!=' / ']'
> + rm -rf /root/rpmbuild/BUILDROOT/lustre-dkms-2.10.3-1.el7.x86_64
> + exit 0
>
>
>
>
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number: 302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
More information about the lustre-discuss
mailing list