On Nov 25, 2016, at 04:27, Thomas Stibor <t.sti...@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="myn...@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@lists.lustre.org >> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org > _______________________________________________ > lustre-discuss mailing list > lustre-discuss@lists.lustre.org > http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org _______________________________________________ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org