[lustre-discuss] Distributing locally....

Dilger, Andreas andreas.dilger at intel.com
Wed Nov 2 10:54:24 PDT 2016

There is a "make debs" target, but I don't know how often this is tested.  That would be the best thing to use for Ubuntu, and if it isn't working then please feel free to report to the list and/or Jira.

Cheers, Andreas
Andreas Dilger
Lustre Principal Architect
Intel High Performance Data Division

On 2016/11/02, 09:36, "E.S. Rosenberg <esr+lustre at mail.hebrew.edu<mailto:esr+lustre at mail.hebrew.edu>> wrote:

Re:all from the right mail address.

You should be able to build debs from the source of lustre.... it works well for the userland binaries, as far as kernel goes we don't use debs so can't tell you.
(debuild and all of that)

On Wed, Nov 2, 2016 at 3:40 PM, Patrick Farrell <paf at cray.com<mailto:paf at cray.com>> wrote:

Ah, sorry, Phill. :)

That's an odd problem...  they are dependencies, and I don't have any problem with the default installs of them (but I'm not on Ubuntu).
I'm not enough of a build expert to suggest what the fix might be, except to suggest making sure they're up to date.

Good luck.
From: Phill Harvey-Smith <p.harvey-smith at warwick.ac.uk<mailto:p.harvey-smith at warwick.ac.uk>>
Sent: Wednesday, November 2, 2016 7:50:35 AM
To: Patrick Farrell; lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org>
Subject: Re: [lustre-discuss] Distributing locally....

On 02/11/2016 12:22, Patrick Farrell wrote:
> Phil,

Phill :)

> I feel you must be looking for more, but the answer is "yes".  I think
> just "make rpms" should get you there, from the same spot you did make
> install.

Humm, that seems to fall over following are the last few lines of output
before the error :

Wrote: /tmp/rpmbuild-lustre-root-Urad8uZo/SRPMS/lustre-2.8.0-1.src.rpm
rpmbuilddir=`mktemp -t -d rpmbuild-lustre-$USER-XXXXXXXX`; \
         make  \
                 rpmbuilddir="$rpmbuilddir" rpm-local || exit 1; \
         /usr/bin/rpmbuild \
                 --define "_tmppath $rpmbuilddir/TMP" \
                 --define "_topdir $rpmbuilddir" \
                  --define "configure_args  '--with-o2ib=no'" --define
"kdir /lib/modules/3.8.0-27-generic/build" --define "kobjdir
/lib/modules/3.8.0-27-generic/build" --without servers --without ldiskfs \
                 --rebuild lustre-2.8.0-*.src.rpm || exit 1; \
         cp $rpmbuilddir/RPMS/*/*.rpm . || exit 1; \
         rm -rf $rpmbuilddir
make[1]: Entering directory `/root/Lustre/lustre-release-2016-10-25'
make[1]: Leaving directory `/root/Lustre/lustre-release-2016-10-25'
Installing lustre-2.8.0-1.src.rpm
error: Failed build dependencies:
         libtool is needed by lustre-client-2.8.0-3.8.0_27_generic.x86_64
         python-docutils is needed by
make: *** [rpms] Error 1

Oddly I do have libtool and python-docutils installed.



lustre-discuss mailing list
lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20161102/805600e8/attachment-0001.htm>

More information about the lustre-discuss mailing list