Gentoo Archives: gentoo-user

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