RE: quick way to rebuild deb packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: ceph-devel-owner@xxxxxxxxxxxxxxx [mailto:ceph-devel-owner@xxxxxxxxxxxxxxx] On Behalf Of Loic Dachary
Sent: Wednesday, July 22, 2015 2:32 PM
To: Bartłomiej Święcki; ceph-devel@xxxxxxxxxxxxxxx
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

��.n��������+%������w��{.n����z��u���ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux