[lustre-discuss] Distributing locally....

Thomas Stibor t.stibor at gsi.de
Tue Nov 29 02:29:19 PST 2016


Hi Andreas,

I created JIRA ticket https://jira.hpdd.intel.com/browse/LU-8869
for this problem.

Regarding the changelog update I was actually wrong.
The command "make debs" is checking and updating debian/changelog.
I just checked it, and currently it updated debian/changelog to

lustre (2.8.60-24-g075f98e-1) unstable; urgency=low

  * Automated changelog entry update

 -- Brian J. Murrell <brian at interlinx.bc.ca>  Tue, 29 Nov 2016 10:36:40 +0100

Regarding the other simple problem (-debian/tmp/usr/lib/*.so.*) I will
submit a patch.

Cheers
 Thomas


On Fri, Nov 25, 2016 at 08:50:03PM +0000, Dilger, Andreas wrote:
> On Nov 25, 2016, at 04:27, Thomas Stibor <t.stibor at gsi.de> wrote:
> > 
> > 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
> 
> Thomas or Phill,
> could you please submit a patch to Gerrit with this change.
> 
> > Note, also make sure to update
> > debian/changelog
> > 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-)
> > LUSTRE_DEBIAN_REV='1'
> > 
> > # 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.
> 
> It would be nice to add this as part of the "make debs" target so that the build is
> done with the right version.  Bonus points if it checks the top changelog entry to
> see there is already an entry for the current version and doesn't add a new entry.
> 
> Cheers, Andreas
> 
> > Cheers
> > Thomas
> > 
> > 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
> > _______________________________________________
> > 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