I'd like to emerge boost but selecting only a few modules,
for instance: filesystem, thread, .... just a few.
But it seems there is no way to do it!
Any ideas?
Thanks,
Ezequiel.
07-12-2012, 06:43 PM
Florian Philipp
How to split boost emerge
Am 12.07.2012 17:47, schrieb Ezequiel Garcia:
> Hi,
>
> This is related to my other gnash question.
>
> I'd like to emerge boost but selecting only a few modules,
> for instance: filesystem, thread, .... just a few.
>
> But it seems there is no way to do it!
>
> Any ideas?
>
> Thanks,
> Ezequiel.
>
No, there is currently no way to do this. You could ask Diego Pettenò
(Flameeyes) [1][2] to implement it but Boost's build system is a mess
[3] and I'm not sure it is actually possible.
On Thu, 12 Jul 2012 20:43:47 +0200
Florian Philipp <lists@binarywings.net> wrote:
> Am 12.07.2012 17:47, schrieb Ezequiel Garcia:
> > Hi,
> >
> > This is related to my other gnash question.
> >
> > I'd like to emerge boost but selecting only a few modules,
> > for instance: filesystem, thread, .... just a few.
> >
> > But it seems there is no way to do it!
> >
> > Any ideas?
> >
> > Thanks,
> > Ezequiel.
> >
>
> No, there is currently no way to do this. You could ask Diego Pettenò
> (Flameeyes) [1][2] to implement it but Boost's build system is a mess
> [3] and I'm not sure it is actually possible.
>
> [1] mailto:flameeyes@flameeyes.eu
> [2] http://blog.flameeyes.eu/
> [3] http://blog.flameeyes.eu/2012/07/boosting-my-morale-i-wish
And the Boost docs anyway say something along the lines of
"You should not *actually* try and build this stuff. Copy-paste the
bits you need into your code."
I think that says it all...
--
Alan McKinnnon
alan.mckinnon@gmail.com
07-14-2012, 09:42 AM
Florian Philipp
How to split boost emerge
Am 13.07.2012 01:21, schrieb Alan McKinnon:
> On Thu, 12 Jul 2012 20:43:47 +0200
> Florian Philipp <lists@binarywings.net> wrote:
>
>> Am 12.07.2012 17:47, schrieb Ezequiel Garcia:
>>> Hi,
>>>
>>> This is related to my other gnash question.
>>>
>>> I'd like to emerge boost but selecting only a few modules,
>>> for instance: filesystem, thread, .... just a few.
>>>
>>> But it seems there is no way to do it!
>>>
>>> Any ideas?
>>>
>>> Thanks,
>>> Ezequiel.
>>>
>>
>> No, there is currently no way to do this. You could ask Diego Pettenò
>> (Flameeyes) [1][2] to implement it but Boost's build system is a mess
>> [3] and I'm not sure it is actually possible.
>>
>> [1] mailto:flameeyes@flameeyes.eu
>> [2] http://blog.flameeyes.eu/
>> [3] http://blog.flameeyes.eu/2012/07/boosting-my-morale-i-wish
>
>
> And the Boost docs anyway say something along the lines of
>
> "You should not *actually* try and build this stuff. Copy-paste the
> bits you need into your code."
>
> I think that says it all...
>
>
Well, the nice thing about a template library is that for most of it,
that's exactly what the compiler does, anyway ;-)
Cheers,
Florian
07-15-2012, 05:50 PM
Ezequiel Garcia
How to split boost emerge
While trying to emerge gnash, I was forced to emerge --update boost.
But it failed! (I was actually doing emerge --deep --update @world)
I set MAKEOPTS="" as suggested to prevent multiple build jobs.
So, here are last words. They don't say anything to me :-(
--------------------------------------------------------------------
...skipped <pbin.v2/libs/wave/build/gcc-4.7/gentoorelease/boost.locale.icu-off/pch-off/threading-multi>libboost_wave-mt-1_48.so.1.48.0
for lack of <pbin.v2/libs/thread/build/gcc-4.7/gentoorelease/boost.locale.icu-off/pch-off/threading-multi>libboost_thread-mt-1_48.so.1.48.0...
...skipped <pstage/lib>libboost_wave-mt-1_48.so.1.48.0 for lack of
<pbin.v2/libs/wave/build/gcc-4.7/gentoorelease/boost.locale.icu-off/pch-off/threading-multi>libboost_wave-mt-1_48.so.1.48.0...
...skipped <pstage/lib>libboost_wave-mt-1_48.so for lack of
<pstage/lib>libboost_wave-mt-1_48.so.1.48.0...
...failed updating 5 targets...
* ERROR: dev-libs/boost-1.48.0-r2 failed (compile phase):
* Building of Boost libraries failed
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 5343: Called building
* environment, line 5306: Called die
* The specific snippet of code:
* ${BJAM} ${NUMJOBS} -q -d+2 gentoorelease
--user-config=user-config.jam ${OPTIONS} threading=single,multi
${LINK_OPTS} runtime-link=shared $(use python && echo
--python-buildid=${PYTHON_ABI}) || die "Building of Boost libraries
failed";
*
- has_icu builds : no
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user-config.jam
- iconv (libc) : yes
- ../config//has_gcc_visibility builds : yes
- ../config//has_long_double_support builds : yes
Component configuration:
- chrono : building
- date_time : building
- exception : building
- filesystem : building
- graph : building
- graph_parallel : building
- iostreams : building
- locale : building
- math : building
- mpi : not building
- program_options : building
- python : not building
- random : building
- regex : building
- serialization : building
- signals : building
- system : building
- test : building
- thread : building
- timer : building
- wave : building
In file included from ./boost/thread/detail/platform.hpp:17:0,
from ./boost/thread/mutex.hpp:12,
from libs/locale/src/shared/date_time.cpp:11:
./boost/config/requires_threads.hpp:29:4: error: #error "Threading
support unavaliable: it has been explicitly disabled with
BOOST_DISABLE_THREADS"
In file included from ./boost/thread/mutex.hpp:12:0,
from libs/locale/src/shared/date_time.cpp:11:
./boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no
boost threads are available for this platform."
In file included from libs/locale/src/shared/date_time.cpp:11:0:
./boost/thread/mutex.hpp:18:2: error: #error "Boost threads
unavailable on this platform"
libs/locale/src/shared/date_time.cpp:435:5: error: ‘mutex’ in
namespace ‘boost’ does not name a type
libs/locale/src/shared/date_time.cpp: In function ‘std::string
boost::locale::time_zone::global()’:
libs/locale/src/shared/date_time.cpp:447:9: error: ‘unique_lock’ is
not a member of ‘boost’
libs/locale/src/shared/date_time.cpp:447:28: error: ‘mutex’ is not a
member of ‘boost’
libs/locale/src/shared/date_time.cpp:447:56: error: ‘tz_mutex’ was not
declared in this scope
libs/locale/src/shared/date_time.cpp:447:57: error: ‘lock’ was not
declared in this scope
libs/locale/src/shared/date_time.cpp: In function ‘std::string
boost::locale::time_zone::global(const string&)’:
libs/locale/src/shared/date_time.cpp:453:9: error: ‘unique_lock’ is
not a member of ‘boost’
libs/locale/src/shared/date_time.cpp:453:28: error: ‘mutex’ is not a
member of ‘boost’
libs/locale/src/shared/date_time.cpp:453:56: error: ‘tz_mutex’ was not
declared in this scope
libs/locale/src/shared/date_time.cpp:453:57: error: ‘lock’ was not
declared in this scope
gcc.compile.c++
bin.v2/libs/locale/build/gcc-4.7/gentoorelease/boost.locale.icu-off/pch-off/threading-multi/shared/format.o
In file included from ./boost/thread/detail/platform.hpp:17:0,
from ./boost/thread/mutex.hpp:12,
from libs/locale/src/shared/generator.cpp:16:
./boost/config/requires_threads.hpp:29:4: error: #error "Threading
support unavaliable: it has been explicitly disabled with
BOOST_DISABLE_THREADS"
In file included from ./boost/thread/mutex.hpp:12:0,
from libs/locale/src/shared/generator.cpp:16:
./boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no
boost threads are available for this platform."
In file included from libs/locale/src/shared/generator.cpp:16:0:
./boost/thread/mutex.hpp:18:2: error: #error "Boost threads
unavailable on this platform"
libs/locale/src/shared/generator.cpp:32:21: error: ‘mutex’ in
namespace ‘boost’ does not name a type
libs/locale/src/shared/generator.cpp: In member function ‘std::locale
boost::locale::generator::generate(const std::locale&, const string&)
const’:
libs/locale/src/shared/generator.cpp:122:17: error: ‘unique_lock’ is
not a member of ‘boost’
libs/locale/src/shared/generator.cpp:122:36: error: ‘mutex’ is not a
member of ‘boost’
libs/locale/src/shared/generator.cpp:122:59: error:
‘std::auto_ptr<boost::locale::generator::data>:: element_type’ has no
member named ‘cached_lock’
libs/locale/src/shared/generator.cpp:122:70: error: ‘guard’ was not
declared in this scope
libs/locale/src/shared/generator.cpp:150:17: error: ‘unique_lock’ is
not a member of ‘boost’
libs/locale/src/shared/generator.cpp:150:36: error: ‘mutex’ is not a
member of ‘boost’
libs/locale/src/shared/generator.cpp:150:59: error:
‘std::auto_ptr<boost::locale::generator::data>:: element_type’ has no
member named ‘cached_lock’
libs/locale/src/shared/generator.cpp:150:70: error: ‘guard’ was not
declared in this scope
gcc.compile.c++
bin.v2/libs/locale/build/gcc-4.7/gentoorelease/boost.locale.icu-off/pch-off/threading-multi/shared/ids.o
In file included from ./boost/thread/detail/platform.hpp:17:0,
from ./boost/thread/mutex.hpp:12,
from libs/locale/src/shared/localization_backend.cpp:11:
./boost/config/requires_threads.hpp:29:4: error: #error "Threading
support unavaliable: it has been explicitly disabled with
BOOST_DISABLE_THREADS"
In file included from ./boost/thread/mutex.hpp:12:0,
from libs/locale/src/shared/localization_backend.cpp:11:
./boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no
boost threads are available for this platform."
In file included from libs/locale/src/shared/localization_backend.cpp:11:0:
./boost/thread/mutex.hpp:18:2: error: #error "Boost threads
unavailable on this platform"
libs/locale/src/shared/localization_backend.cpp:205:13: error: ‘mutex’
in namespace ‘boost’ does not name a type
libs/locale/src/shared/localization_backend.cpp: In static member
function ‘static boost::locale::localization_backend_manager
boost::locale::localization_backend_manager::globa l()’:
libs/locale/src/shared/localization_backend.cpp:248:13: error:
‘unique_lock’ is not a member of ‘boost’
libs/locale/src/shared/localization_backend.cpp:248:32: error: ‘mutex’
is not a member of ‘boost’
libs/locale/src/shared/localization_backend.cpp:248:86: error:
‘localization_backend_manager_mutex’ was not declared in this scope
libs/locale/src/shared/localization_backend.cpp:248:87: error: ‘lock’
was not declared in this scope
libs/locale/src/shared/localization_backend.cpp: In static member
function ‘static boost::locale::localization_backend_manager
boost::locale::localization_backend_manager::globa l(const
boost::locale::localization_backend_manager&)’:
libs/locale/src/shared/localization_backend.cpp:254:13: error:
‘unique_lock’ is not a member of ‘boost’
libs/locale/src/shared/localization_backend.cpp:254:32: error: ‘mutex’
is not a member of ‘boost’
libs/locale/src/shared/localization_backend.cpp:254:86: error:
‘localization_backend_manager_mutex’ was not declared in this scope
libs/locale/src/shared/localization_backend.cpp:254:87: error: ‘lock’
was not declared in this scope
gcc.compile.c++
bin.v2/libs/locale/build/gcc-4.7/gentoorelease/boost.locale.icu-off/pch-off/threading-multi/shared/message.o
...skipped <pbin.v2/libs/locale/build/gcc-4.7/gentoorelease/boost.locale.icu-off/pch-off/threading-multi>libboost_locale-mt-1_48.so.1.48.0
for lack of <pbin.v2/libs/locale/build/gcc-4.7/gentoorelease/boost.locale.icu-off/pch-off/threading-multi>shared/date_time.o...
...skipped <pstage/lib>libboost_locale-mt-1_48.so.1.48.0 for lack of
<pbin.v2/libs/locale/build/gcc-4.7/gentoorelease/boost.locale.icu-off/pch-off/threading-multi>libboost_locale-mt-1_48.so.1.48.0...
...skipped <pstage/lib>libboost_locale-mt-1_48.so for lack of
<pstage/lib>libboost_locale-mt-1_48.so.1.48.0...
common.mkdir bin.v2/libs/math/build
On Sun, Jul 15, 2012 at 2:50 PM, Ezequiel Garcia <elezegarcia@gmail.com> wrote:
> While trying to emerge gnash, I was forced to emerge --update boost.
>
> But it failed! (I was actually doing emerge --deep --update @world)
>
FWIW, I can't emerge 1.46 or 1.42 either.
I'm starting to blame gcc-4.7.1 (too new?)
Should I open a new gentoo bug now? Not sure...
Thanks a lot,
Ezequiel.
07-15-2012, 06:25 PM
Michael Mol
How to split boost emerge
On Sun, Jul 15, 2012 at 1:50 PM, Ezequiel Garcia <elezegarcia@gmail.com> wrote:
> While trying to emerge gnash, I was forced to emerge --update boost.
>
> But it failed! (I was actually doing emerge --deep --update @world)
>
> I set MAKEOPTS="" as suggested to prevent multiple build jobs.
>
>
> So, here are last words. They don't say anything to me :-(
> --------------------------------------------------------------------
[snip]
In the future, please attach, rather than in-line, stuff like build logs.
Here's what's killing it for you:
> In file included from ./boost/thread/detail/platform.hpp:17:0,
> from ./boost/thread/mutex.hpp:12,
> from libs/locale/src/shared/date_time.cpp:11:
> ./boost/config/requires_threads.hpp:29:4: error: #error "Threading
> support unavaliable: it has been explicitly disabled with
> BOOST_DISABLE_THREADS"
> In file included from ./boost/thread/mutex.hpp:12:0,
> from libs/locale/src/shared/date_time.cpp:11:
> ./boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no
> boost threads are available for this platform."
I'm not going to venture a guess as to why this is happening on your
system. But there's the explicit build error, cut out from the rest of
the log.
Perhaps someone else will go over the emerge --info, et al.
--
:wq
07-15-2012, 06:33 PM
Ezequiel Garcia
How to split boost emerge
Michael,
On Sun, Jul 15, 2012 at 3:25 PM, Michael Mol <mikemol@gmail.com> wrote:
> On Sun, Jul 15, 2012 at 1:50 PM, Ezequiel Garcia <elezegarcia@gmail.com> wrote:
>> While trying to emerge gnash, I was forced to emerge --update boost.
>>
>> But it failed! (I was actually doing emerge --deep --update @world)
>>
>> I set MAKEOPTS="" as suggested to prevent multiple build jobs.
>>
>>
>> So, here are last words. They don't say anything to me :-(
>> --------------------------------------------------------------------
>
> [snip]
>
> In the future, please attach, rather than in-line, stuff like build logs.
>
Okey. Thanks for the tip and sorry for the trouble.
> Here's what's killing it for you:
>
>> In file included from ./boost/thread/detail/platform.hpp:17:0,
>> from ./boost/thread/mutex.hpp:12,
>> from libs/locale/src/shared/date_time.cpp:11:
>> ./boost/config/requires_threads.hpp:29:4: error: #error "Threading
>> support unavaliable: it has been explicitly disabled with
>> BOOST_DISABLE_THREADS"
>> In file included from ./boost/thread/mutex.hpp:12:0,
>> from libs/locale/src/shared/date_time.cpp:11:
>> ./boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no
>> boost threads are available for this platform."
>
Oh! I missed it. Thanks a lot for going through this.
> I'm not going to venture a guess as to why this is happening on your
> system. But there's the explicit build error, cut out from the rest of
> the log.
>
I think I've hit this bug:
https://svn.boost.org/trac/boost/ticket/6165
It's gcc 4.7 related. I'll try to apply the patch suggested here:
https://svn.boost.org/trac/boost/changeset/76133
and let you know.
As I've never patched an ebuild, this might take me some time :-(
Thanks a lot Michael :-)
07-15-2012, 06:45 PM
Michael Mol
How to split boost emerge
On Sun, Jul 15, 2012 at 2:33 PM, Ezequiel Garcia <elezegarcia@gmail.com> wrote:
> Michael,
>
> On Sun, Jul 15, 2012 at 3:25 PM, Michael Mol <mikemol@gmail.com> wrote:
>> On Sun, Jul 15, 2012 at 1:50 PM, Ezequiel Garcia <elezegarcia@gmail.com> wrote:
>>> While trying to emerge gnash, I was forced to emerge --update boost.
>>>
>>> But it failed! (I was actually doing emerge --deep --update @world)
>>>
>>> I set MAKEOPTS="" as suggested to prevent multiple build jobs.
>>>
>>>
>>> So, here are last words. They don't say anything to me :-(
>>> --------------------------------------------------------------------
>>
>> [snip]
>>
>> In the future, please attach, rather than in-line, stuff like build logs.
>>
>
> Okey. Thanks for the tip and sorry for the trouble.
>
>> Here's what's killing it for you:
>>
>>> In file included from ./boost/thread/detail/platform.hpp:17:0,
>>> from ./boost/thread/mutex.hpp:12,
>>> from libs/locale/src/shared/date_time.cpp:11:
>>> ./boost/config/requires_threads.hpp:29:4: error: #error "Threading
>>> support unavaliable: it has been explicitly disabled with
>>> BOOST_DISABLE_THREADS"
>>> In file included from ./boost/thread/mutex.hpp:12:0,
>>> from libs/locale/src/shared/date_time.cpp:11:
>>> ./boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no
>>> boost threads are available for this platform."
>>
>
> Oh! I missed it. Thanks a lot for going through this.
>
>> I'm not going to venture a guess as to why this is happening on your
>> system. But there's the explicit build error, cut out from the rest of
>> the log.
>>
>
> I think I've hit this bug:
>
> https://svn.boost.org/trac/boost/ticket/6165
>
> It's gcc 4.7 related. I'll try to apply the patch suggested here:
>
> https://svn.boost.org/trac/boost/changeset/76133
>
> and let you know.
>
> As I've never patched an ebuild, this might take me some time :-(
Hey, whaddaya know, my first was last week. I got some great help in
the #gentoo-chat IRC channel. I'll send you a transcript off-list, and
a link to my b.g.o entry.
--
:wq
07-15-2012, 06:49 PM
Ezequiel Garcia
How to split boost emerge
On Sun, Jul 15, 2012 at 3:45 PM, Michael Mol <mikemol@gmail.com> wrote:
> On Sun, Jul 15, 2012 at 2:33 PM, Ezequiel Garcia <elezegarcia@gmail.com> wrote:
>> Michael,
>>
>> On Sun, Jul 15, 2012 at 3:25 PM, Michael Mol <mikemol@gmail.com> wrote:
>>> On Sun, Jul 15, 2012 at 1:50 PM, Ezequiel Garcia <elezegarcia@gmail.com> wrote:
>>>> While trying to emerge gnash, I was forced to emerge --update boost.
>>>>
>>>> But it failed! (I was actually doing emerge --deep --update @world)
>>>>
>>>> I set MAKEOPTS="" as suggested to prevent multiple build jobs.
>>>>
>>>>
>>>> So, here are last words. They don't say anything to me :-(
>>>> --------------------------------------------------------------------
>>>
>>> [snip]
>>>
>>> In the future, please attach, rather than in-line, stuff like build logs.
>>>
>>
>> Okey. Thanks for the tip and sorry for the trouble.
>>
>>> Here's what's killing it for you:
>>>
>>>> In file included from ./boost/thread/detail/platform.hpp:17:0,
>>>> from ./boost/thread/mutex.hpp:12,
>>>> from libs/locale/src/shared/date_time.cpp:11:
>>>> ./boost/config/requires_threads.hpp:29:4: error: #error "Threading
>>>> support unavaliable: it has been explicitly disabled with
>>>> BOOST_DISABLE_THREADS"
>>>> In file included from ./boost/thread/mutex.hpp:12:0,
>>>> from libs/locale/src/shared/date_time.cpp:11:
>>>> ./boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no
>>>> boost threads are available for this platform."
>>>
>>
>> Oh! I missed it. Thanks a lot for going through this.
>>
>>> I'm not going to venture a guess as to why this is happening on your
>>> system. But there's the explicit build error, cut out from the rest of
>>> the log.
>>>
>>
>> I think I've hit this bug:
>>
>> https://svn.boost.org/trac/boost/ticket/6165
>>
>> It's gcc 4.7 related. I'll try to apply the patch suggested here:
>>
>> https://svn.boost.org/trac/boost/changeset/76133
>>
>> and let you know.
>>
>> As I've never patched an ebuild, this might take me some time :-(
>
> Hey, whaddaya know, my first was last week. I got some great help in
> the #gentoo-chat IRC channel. I'll send you a transcript off-list, and
> a link to my b.g.o entry.
>
Great! I already have the patch, but putting it into
/etc/portage/patches didn't work :-(