1 |
Thanks for all your effort, Richard. It turns out to have been operator error |
2 |
all along. There's an old addition to my /etc/make.conf that adds the offending |
3 |
LDFLAGS stuff, with a note that it was inspired by a thread in this list. Sigh. |
4 |
If I had continued reading the thread for a few more days back then, I would |
5 |
have saved myself this trouble, as some wiser folks made it clear why this |
6 |
was bad. Odd that only the one package was clobbered by this. |
7 |
|
8 |
Oh, well... |
9 |
|
10 |
++ kevin |
11 |
|
12 |
On 6/14/06, Richard Fish <bigfish@××××××××××.org> wrote: |
13 |
> On 6/14/06, Kevin O'Gorman <kogorman@×××××.com> wrote: |
14 |
> > I would guess you're out of ideas then, except in desperation, I tried |
15 |
> > looking for just part |
16 |
> > of that: "-W1" and came up with some stuff I hope will further inspire you: |
17 |
> |
18 |
> Nope, all of that is normal... |
19 |
> |
20 |
> > But before you go breaking a braincell on this, realize that the |
21 |
> > ebuild became moot yesterday |
22 |
> > when I was able to create a binary package from a backup image and |
23 |
> > install it on the running |
24 |
> > image. So pursuing this may be wasted effort. The package is very |
25 |
> > old after all. |
26 |
> |
27 |
> Well let me take this opportunity to apologize for not giving you |
28 |
> directions on how to work around this problem. Getting around it |
29 |
> probably would have been fairly simple...I think an 'LDFLAGS="" emerge |
30 |
> --oneshot glib-1.2.10-r5' might have done it. |
31 |
> |
32 |
> I am still concerned though, since we don't know where those flags |
33 |
> were coming from, they may return to bite you again. |
34 |
> |
35 |
> > kdevelop won't emerge because it winds up needing a *.h file that does |
36 |
> > not exist, in a *.cpp file that is itself built from a *.ui file. It |
37 |
> > strikes me that this one's gonna have a huge learning curve (for me at |
38 |
> > least). |
39 |
> |
40 |
> Sounds like a pretty common problem with MAKEOPTS=-jN (N>1). What can |
41 |
> happen with a parallel make is that if one step needs a file that is |
42 |
> generated by another step, it can start executing before the file is |
43 |
> complete generated by the other step. The flow looks something like: |
44 |
> |
45 |
> thread-a: generating foo.h and foo.cpp from foo.ui... |
46 |
> thread-b: waiting for foo.h and foo.cpp to make foo.o... |
47 |
> thread-a: writing to foo.h and foo.cpp... |
48 |
> thread-b: compiling foo.o from foo.cpp... |
49 |
> thread-b: ERROR compiling foo.cpp! |
50 |
> thread-a: finished writing to foo.h and foo.cpp... |
51 |
> |
52 |
> Makefiles have to be specially written to properly avoid the above scenario... |
53 |
> |
54 |
> The workaround is to 'MAKEOPTS=-j1 emerge --oneshot kdevelop' |
55 |
> |
56 |
> -Richard |
57 |
> -- |
58 |
> gentoo-user@g.o mailing list |
59 |
> |
60 |
> |
61 |
|
62 |
|
63 |
-- |
64 |
Kevin O'Gorman, PhD |
65 |
-- |
66 |
gentoo-user@g.o mailing list |