All of lore.kernel.org
 help / color / mirror / Atom feed
* quick way to rebuild deb packages
@ 2015-07-21 16:15 Bartłomiej Święcki
  2015-07-22  6:31 ` Loic Dachary
  0 siblings, 1 reply; 4+ messages in thread
From: Bartłomiej Święcki @ 2015-07-21 16:15 UTC (permalink / raw)
  To: ceph-devel

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.

-- 
Bartlomiej Swiecki <bartlomiej.swiecki@corp.ovh.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: quick way to rebuild deb packages
  2015-07-21 16:15 quick way to rebuild deb packages Bartłomiej Święcki
@ 2015-07-22  6:31 ` Loic Dachary
  2015-07-22  8:04   ` Zhou, Yuan
  0 siblings, 1 reply; 4+ messages in thread
From: Loic Dachary @ 2015-07-22  6:31 UTC (permalink / raw)
  To: Bartłomiej Święcki, ceph-devel

[-- Attachment #1: Type: text/plain, Size: 2187 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: quick way to rebuild deb packages
  2015-07-22  6:31 ` Loic Dachary
@ 2015-07-22  8:04   ` Zhou, Yuan
  2015-07-22 12:14     ` Bartłomiej Święcki
  0 siblings, 1 reply; 4+ messages in thread
From: Zhou, Yuan @ 2015-07-22  8:04 UTC (permalink / raw)
  To: Loic Dachary, Bartlomiej Swiecki, ceph-devel@vger.kernel.org

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: quick way to rebuild deb packages
  2015-07-22  8:04   ` Zhou, Yuan
@ 2015-07-22 12:14     ` Bartłomiej Święcki
  0 siblings, 0 replies; 4+ messages in thread
From: Bartłomiej Święcki @ 2015-07-22 12:14 UTC (permalink / raw)
  To: Zhou, Yuan; +Cc: Loic Dachary, ceph-devel@vger.kernel.org

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" <yuan.zhou@intel.com> 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: ceph-devel-owner@vger.kernel.org [mailto:ceph-devel-owner@vger.kernel.org] On Behalf Of Loic Dachary
> Sent: Wednesday, July 22, 2015 2:32 PM
> To: Bartłomiej Święcki; ceph-devel@vger.kernel.org
> 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 <bartlomiej.swiecki@corp.ovh.com>
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-22 12:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-21 16:15 quick way to rebuild deb packages Bartłomiej Święcki
2015-07-22  6:31 ` Loic Dachary
2015-07-22  8:04   ` Zhou, Yuan
2015-07-22 12:14     ` Bartłomiej Święcki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.