Gentoo Archives: gentoo-user

From: Dennis Taylor <dtaylor1952@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't emerge X11
Date: Wed, 05 Sep 2007 17:28:07
Message-Id: 46DEE327.2040306@gmail.com
In Reply to: Re: [gentoo-user] Can't emerge X11 by Marc LEURENT
1 Marc LEURENT wrote:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA1
4 >
5 > Have you tried to compile the ~ version?? (~0.9.3)
6 > echo "x11-drivers/xf86-video-sis ~x86" >> /etc/portage/package.keywords
7 >
8 > And a revdep-rebuild sometimes is often quite useful!
9 >
10 >
11
12 Even with the revdep-rebuild, and the bump to 0.9.3, I get the same error.
13
14 > Dennis Taylor a écrit :
15 >> I am using profile default-linux/x86/2007.0/desktop
16 >>
17 >> My custom USE Flags are
18 >>
19 >> USE="nptl nptlonly unicode"
20 >>
21 >> emerge -u --deep --newuse world
22 >>
23 >> Fails while building sis_dri.c. I have tracked it to a #define problem
24 >> while compiling. Sis_dri.c includes dri.h which includes sis_dri.h.
25 >> The issue is that XFree86Server is not defined at compile time. I have
26 >> looked around, but not yet figured out how to cause that to be defined.
27 >>
28 >> Any pointers to the correct USE flag, or whatever would be appreciated.
29 >>
30 >> ------ snippet from sis_dri.h -----------
31 >> #ifdef XFree86Server
32 >>
33 >> #include "screenint.h"
34 >>
35 >> Bool SISDRIScreenInit(ScreenPtr pScreen);
36 >> void SISDRICloseScreen(ScreenPtr pScreen);
37 >> Bool SISDRIFinishScreenInit(ScreenPtr pScreen);
38 >>
39 >> #endif
40 >> -------- error from build log -----
41 >> sis_dri.c:753: error: conflicting types for 'SISDRICloseScreen'
42 >> sis_dri.c:427: error: previous implicit declaration of
43 >> 'SISDRICloseScreen' was here
44 >> make[2]: *** [sis_dri.lo] Error 1
45 >> make[2]: Leaving directory
46 >> `/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.1-r1/work/xf86-video-si
47 >> s-0.9.1/src'
48 >> make[1]: *** [all-recursive] Error 1
49 >> make[1]: Leaving directory
50 >> `/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.1-r1/work/xf86-video-si
51 >> s-0.9.1'
52 >> make: *** [all] Error 2
53 >>
54 >> !!! ERROR: x11-drivers/xf86-video-sis-0.9.1-r1 failed.
55 >> Call stack:
56 >> ebuild.sh, line 1638: Called dyn_compile
57 >> ebuild.sh, line 985: Called qa_call 'src_compile'
58 >> ebuild.sh, line 44: Called src_compile
59 >> ebuild.sh, line 1328: Called x-modular_src_compile
60 >> x-modular.eclass, line 337: Called x-modular_src_make
61 >> x-modular.eclass, line 332: Called die
62 >>
63 >> !!! emake failed
64 >> !!! If you need support, post the topmost build error, and the call
65 >> stack if relevant.
66 >> !!! A complete build log is located at
67 >> '/var/log/portage/x11-drivers:xf86-video-sis-0.9.1-r1:20070905-162058.lo
68 >> g'.
69 >>
70 >>
71 >>
72 >>
73 > -----BEGIN PGP SIGNATURE-----
74 > Version: GnuPG v1.4.7 (GNU/Linux)
75 > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
76 >
77 > iD8DBQFG3tqCqjpLE0HiOBYRAgO9AJ4wv2WYslBmga6dSt5Qy+H7AiQKsACdElSJ
78 > BgQZ/V/xDNAeOWDf4k0z5UU=
79 > =fEI+
80 > -----END PGP SIGNATURE-----
81 --
82 gentoo-user@g.o mailing list