1 |
On my system, emerge wants to update xorg-server to 1.14.1.901 but the |
2 |
compile phase always fails. |
3 |
|
4 |
There is no obvious error recorded in the log file, but based on a |
5 |
gentoo bug report (Bug 472058) it seems that a -Werror compile flag |
6 |
could be causing the problem. |
7 |
|
8 |
My emerge log only reports this: |
9 |
|
10 |
cc1: some warnings being treated as errors |
11 |
make[5]: *** [xf86Events.lo] Error 1 |
12 |
make[5]: *** Waiting for unfinished jobs.... |
13 |
/tmp/portage-acc/tmp/portage/x11-base/xorg-server-1.14.1.901/work/xorg-server-1.14.1.901/hw/xfree86/common/xf86Config.c: In function 'configImpliedLayout': |
14 |
/tmp/portage-acc/tmp/portage/x11-base/xorg-server-1.14.1.901/work/xorg-server-1.14.1.901/hw/xfree86/common/xf86Config.c:1677:35: warning: declaration of 'xf86configptr' shadows a global declaration [-Wshadow] |
15 |
XF86ConfigPtr xf86configptr) |
16 |
... |
17 |
[snip a lot of stuff until the end of log] |
18 |
|
19 |
|
20 |
The bug report (#472058) mentions a failure occurring at a different point, |
21 |
but -Werror seems to be the cause. |
22 |
|
23 |
I waited a few days to see if there were any other reports about a similar |
24 |
compile failure but so far there are none. I can only assume that xorg-server |
25 |
is compiling without problem on other systems. Why is it failing on mine? |
26 |
|
27 |
Has anyone on the list experienced this failure? |
28 |
|
29 |
I would like to remove the -Werror compile flag but without patching |
30 |
the source I don't see how this could be done. |
31 |
|
32 |
Frank Peters |