Gentoo Archives: gentoo-dev

From: Karl Trygve Kalleberg <karltk@×××××××.no>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] test
Date: Tue, 30 Oct 2001 14:56:50
Message-Id: 20011030225623.10e2b600.karltk@prosalg.no
In Reply to: Re: [gentoo-dev] test by Chad Huneycutt
1 On Sat, 27 Oct 2001 10:33:52 -0400
2 Chad Huneycutt <chad.huneycutt@×××.org> wrote:
3
4 > Claes Nästen wrote:
5 >
6 > > Hi! I tried to merge wine-20011004 today but with no luck, after a
7 > > while it said:
8 > >
9 > > make[1]: Entering directory
10 > > `/var/tmp/portage/wine-20011004/work/wine-20011004/library' gcc -c
11 > > -I. -I. -I../include -I../include -mcpu=i686 -march=i686 -O3 -pipe
12 > > -Wall -mpreferred-stack-boundary=2 -fPIC -D__WINE__ -D_REENTRANT
13 > > -I/usr/X11R6/include -o debug.o debug.c debug.c:23: redefinition of
14 > > `struct option' make[1]: *** [debug.o] Error 1
15 > >
16 > > Just wanted to let you know about it, I'm not to eager about getting
17 > > it work but the ebuild _should_ work.
18 >
19 >
20 > I saw this same problem with another ebuild. I think some new headers
21 > must be declaring an 'option' structure that wasn't there before. If no
22
23 > one else gets to it, I will throw together a patch, but all you have to
24 > do is rename all occurrences of "option' in debug.c to something like
25 > 'xxx_option'. Hopefully, it is a local data structure, and there aren't
26
27 > that many occurrences.
28
29 This is a nasty bug I've had with other packages. The last time was (I
30 think) when I upgraded galeon. I advise you to check if there are two
31 instances (ie, two different versions) of any packages. If so, ask
32 yourselves if you really need both.
33
34 Sorry that I do not have a better answer.
35
36
37 Kind regards,
38
39 Karl T