[lustre-discuss] Distributing locally....

Thomas Stibor t.stibor at gsi.de
Fri Nov 25 03:27:25 PST 2016

Remove in debian/lustre-dev.install the line
-debian/tmp/usr/lib/*.so.*		usr/lib
and it will work.

@@ -1,6 +1,5 @@
 lustre/contrib/README			usr/share/doc/lustre-dev/contrib
 lustre/contrib/mpich-1.2.6-lustre.patch usr/share/doc/lustre-dev/contrib
 debian/tmp/usr/include/lustre/*		usr/include/lustre
-debian/tmp/usr/lib/*.so.*		usr/lib
 debian/tmp/usr/lib/*.so		usr/lib
 debian/tmp/usr/lib/*.a			usr/lib

Note, also make sure to update
e.g. with cmd

export DEBFULLNAME="My Name"
export EMAIL="myname at mydomain.cz"

# Extract lustre version, replace "_" by "." and remove leading letter "v".
LUSTRE_VERSION=$(echo `git describe` | sed -e "s/_/\./g" | cut -c2-)

# Add entry into debian/changelog such that packages have proper version names.
dch --newversion ${LUSTRE_VERSION}-${LUSTRE_DEBIAN_REV} --distribution unstable --nomultimaint -t "Build from official master upstream."

otherwise you get package version names according to top entry in debian/changelog
which does not usually match with the GIT version you are compiling.


On Fri, Nov 25, 2016 at 10:04:06AM +0000, Phill Harvey-Smith wrote:
> On 02/11/2016 17:54, Dilger, Andreas wrote:
> >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.
> Just got back to this,
> make debs gets further but still seems to crash out....
> Steps :
> Get source from git.
> Select 2.8.0 with : git checkout 2.8.0
> sh ./autogen.sh
> ./configure --disable-server --with-o2ib=no
> make
> The make completes correctly, without errors, I have done a make install
> on this node in the past with this version which is up and running
> correctly.
> make debs
> bombs out, log below :
> I've uploaded the log to :
> http://penguin.stats.warwick.ac.uk/~stsxab/Lustre/lustre_make_deb_error.txt
> As the list refused to accept it as it was too big :(
> Cheers.
> Phill.
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

More information about the lustre-discuss mailing list