Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to split boost emerge
Date: Mon, 16 Jul 2012 02:04:06
Message-Id: CA+czFiDfLjX+coEj7V+_5cZch2x+ZmQ=p6qWziDK=-vgTxrYJA@mail.gmail.com
In Reply to: Re: [gentoo-user] How to split boost emerge by Ezequiel Garcia
1 On Sun, Jul 15, 2012 at 9:44 PM, Ezequiel Garcia <elezegarcia@×××××.com> wrote:
2 > On Sun, Jul 15, 2012 at 4:23 PM, Ezequiel Garcia <elezegarcia@×××××.com> wrote:
3 >> On Sun, Jul 15, 2012 at 4:03 PM, Michael Mol <mikemol@×××××.com> wrote:
4 >>> On Sun, Jul 15, 2012 at 2:49 PM, Ezequiel Garcia <elezegarcia@×××××.com> wrote:
5 >>>> On Sun, Jul 15, 2012 at 3:45 PM, Michael Mol <mikemol@×××××.com> wrote:
6 >>>>> On Sun, Jul 15, 2012 at 2:33 PM, Ezequiel Garcia <elezegarcia@×××××.com> wrote:
7 >>>>>> Michael,
8 >>>>>>
9 >>>>>> On Sun, Jul 15, 2012 at 3:25 PM, Michael Mol <mikemol@×××××.com> wrote:
10 >>>>>>> On Sun, Jul 15, 2012 at 1:50 PM, Ezequiel Garcia <elezegarcia@×××××.com> wrote:
11 >>>>>>>> While trying to emerge gnash, I was forced to emerge --update boost.
12 >>>>>>>>
13 >>>>>>>> But it failed! (I was actually doing emerge --deep --update @world)
14 >>>>>>>>
15 >>>>>>>> I set MAKEOPTS="" as suggested to prevent multiple build jobs.
16 >>>>>>>>
17 >>>>>>>>
18 >>>>>>>> So, here are last words. They don't say anything to me :-(
19 >>>>>>>> --------------------------------------------------------------------
20 >>>>>>>
21 >>>>>>> [snip]
22 >>>>>>>
23 >>>>>>> In the future, please attach, rather than in-line, stuff like build logs.
24 >>>>>>>
25 >>>>>>
26 >>>>>> Okey. Thanks for the tip and sorry for the trouble.
27 >>>>>>
28 >>>>>>> Here's what's killing it for you:
29 >>>>>>>
30 >>>>>>>> In file included from ./boost/thread/detail/platform.hpp:17:0,
31 >>>>>>>> from ./boost/thread/mutex.hpp:12,
32 >>>>>>>> from libs/locale/src/shared/date_time.cpp:11:
33 >>>>>>>> ./boost/config/requires_threads.hpp:29:4: error: #error "Threading
34 >>>>>>>> support unavaliable: it has been explicitly disabled with
35 >>>>>>>> BOOST_DISABLE_THREADS"
36 >>>>>>>> In file included from ./boost/thread/mutex.hpp:12:0,
37 >>>>>>>> from libs/locale/src/shared/date_time.cpp:11:
38 >>>>>>>> ./boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no
39 >>>>>>>> boost threads are available for this platform."
40 >>>>>>>
41 >>>>>>
42 >>>>>> Oh! I missed it. Thanks a lot for going through this.
43 >>>>>>
44 >>>>>>> I'm not going to venture a guess as to why this is happening on your
45 >>>>>>> system. But there's the explicit build error, cut out from the rest of
46 >>>>>>> the log.
47 >>>>>>>
48 >>>>>>
49 >>>>>> I think I've hit this bug:
50 >>>>>>
51 >>>>>> https://svn.boost.org/trac/boost/ticket/6165
52 >>>>>>
53 >>>>>> It's gcc 4.7 related. I'll try to apply the patch suggested here:
54 >>>>>>
55 >>>>>> https://svn.boost.org/trac/boost/changeset/76133
56 >>>>>>
57 >>>>>> and let you know.
58 >>>>>>
59 >>>>>> As I've never patched an ebuild, this might take me some time :-(
60 >>>>>
61 >>>>> Hey, whaddaya know, my first was last week. I got some great help in
62 >>>>> the #gentoo-chat IRC channel. I'll send you a transcript off-list, and
63 >>>>> a link to my b.g.o entry.
64 >>>>>
65 >>>>
66 >>>> Great! I already have the patch, but putting it into
67 >>>> /etc/portage/patches didn't work :-(
68 >>>
69 >>> Read the transcript; it goes through how you create a private overlay
70 >>> and verify that portage is using it.
71 >>>
72 >>
73 >> ok, tons of thanks.
74 >
75 > Worked like a charm, following your instructions.
76 >
77 > I'll open now a bug and attach the upstream patch.
78
79 Thank Mike Gilbert (floppym) for the instructions. I simply have
80 logging enabled in my IRC client and knew how to use grep. :)
81
82 Glad to hear it helped, though!
83
84 --
85 :wq

Replies

Subject Author
Re: [gentoo-user] How to split boost emerge Ezequiel Garcia <elezegarcia@×××××.com>