I'll definitely take a look at make-debs.sh, looks promising. Thanks for the hint.
I can see it's using ccache, let's see how fast it is :) What build times are you experiencing ? On Wed, 22 Jul 2015 08:04:44 +0000 "Zhou, Yuan" <[email protected]> wrote: > I'm also using make-debs.sh to generate the binaries for some local > deployment. Note that if you need the *tests.deb you'll need to change this > scripts a bit. > > @@ -58,8 +58,8 @@ tar -C $releasedir -zxf $releasedir/ceph_$vers.orig.tar.gz > # > cp -a debian $releasedir/ceph-$vers/debian > cd $releasedir > -perl -ni -e 'print if(!(/^Package: .*-dbg$/../^$/))' > ceph-$vers/debian/control > -perl -pi -e 's/--dbg-package.*//' ceph-$vers/debian/rules > +#perl -ni -e 'print if(!(/^Package: .*-dbg$/../^$/))' > ceph-$vers/debian/control > +#perl -pi -e 's/--dbg-package.*//' ceph-$vers/debian/rules > # > # always set the debian version to 1 which is ok because the debian > # directory is included in the sources and the upstream version will > > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Loic Dachary > Sent: Wednesday, July 22, 2015 2:32 PM > To: Bartłomiej Święcki; [email protected] > Subject: Re: quick way to rebuild deb packages > > Hi, > > Did you try https://github.com/ceph/ceph/blob/master/make-debs.sh ? I would > recommend running https://github.com/ceph/ceph/blob/master/run-make-check.sh > first to make sure you can build and test: this will install the dependencies > you're missing at the same time. > > Cheers > > On 21/07/2015 18:15, Bartłomiej Święcki wrote: > > Hi all, > > > > I'm currently working on a test environment for ceph where we're using deb > > files to deploy new version on test cluster. > > To make this work efficiently I'd have to quckly build deb packages. > > > > I tried dpkg-buildpackages -nc which should keep the results of previous > > build but it ends up in a linking error: > > > >> ... > >> CXXLD ceph_rgw_jsonparser > >> ./.libs/libglobal.a(json_spirit_reader.o): In function > >> `~thread_specific_ptr': > >> /usr/include/boost/thread/tss.hpp:79: undefined reference to > >> `boost::detail::set_tss_data(void const*, > >> boost::shared_ptr<boost::detail::tss_cleanup_function>, void*, bool)' > >> /usr/include/boost/thread/tss.hpp:79: undefined reference to > >> `boost::detail::set_tss_data(void const*, > >> boost::shared_ptr<boost::detail::tss_cleanup_function>, void*, bool)' > >> /usr/include/boost/thread/tss.hpp:79: undefined reference to > >> `boost::detail::set_tss_data(void const*, > >> boost::shared_ptr<boost::detail::tss_cleanup_function>, void*, bool)' > >> /usr/include/boost/thread/tss.hpp:79: undefined reference to > >> `boost::detail::set_tss_data(void const*, > >> boost::shared_ptr<boost::detail::tss_cleanup_function>, void*, bool)' > >> /usr/include/boost/thread/tss.hpp:79: undefined reference to > >> `boost::detail::set_tss_data(void const*, > >> boost::shared_ptr<boost::detail::tss_cleanup_function>, void*, bool)' > >> ./.libs/libglobal.a(json_spirit_reader.o):/usr/include/boost/thread/tss.hpp:79: > >> more undefined references to `boost::detail::set_tss_data(void const*, > >> boost::shared_ptr<boost::detail::tss_cleanup_function>, void*, bool)' > >> follow > >> ./.libs/libglobal.a(json_spirit_reader.o): In function `call_once<void > >> (*)()>': > >> ... > > > > Any ideas on what could go wrong here ? > > > > Version I'm compiling is v0.94.1 but I've observed same results with 9.0.1. > > > > -- > Loïc Dachary, Artisan Logiciel Libre > -- Bartlomiej Swiecki <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
