1 |
On 01-10-2008 19:50:13 +0200, Heiko Przybyl wrote: |
2 |
> Ok since it didn't hit the ML, here in private... |
3 |
> |
4 |
> -- Heiko. |
5 |
> |
6 |
> Begin forwarded message: |
7 |
> |
8 |
>> From: Heiko Przybyl <zuxez@××××××××××××.de> |
9 |
>> Date: 1 October 2008 12:15:06 GMT+02:00 |
10 |
>> To: gentoo-alt@l.g.o |
11 |
>> Subject: [gentoo-alt] x11-lib/libX11-1.1.5 b0rkage |
12 |
>> |
13 |
>>> |
14 |
>> |
15 |
>> Hello, |
16 |
>> |
17 |
>> on irc irid had the problem of compiling libX11-1.1.5 due to the |
18 |
>> following error: |
19 |
>> |
20 |
>> i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src -I../../../ |
21 |
>> include/X11 -I../../../include -I../../../include/X11 -I../../../ |
22 |
>> include -I../../../include/X11 -I../../../src/xcms -I../../../src/xkb |
23 |
>> -I../../../src/xlibi18n -Wall -Wpointer-arith -Wstrict-prototypes |
24 |
>> -Wmissing-prototypes -Wmissing-declarations -Wnested-externs |
25 |
>> -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT |
26 |
>> -I/data/pwaller/gentoo/usr/include -I/data/pwaller/gentoo/usr/include |
27 |
>> -I/data/pwaller/gentoo/usr/include -I/data/pwaller/gentoo/usr/include |
28 |
>> -I/data/pwaller/gentoo/usr/include -DHASXDMAUTH -D_BSD_SOURCE -DXIM_t |
29 |
>> -DTRANS_CLIENT -DMALLOC_0_RETURNS_NULL -O2 -pipe -MT imDefFlt.lo -MD |
30 |
>> -MP -MF .deps/imDefFlt.Tpo -c imDefFlt.c -fPIC -DPIC -o |
31 |
>> .libs/imDefFlt.o In file included from |
32 |
>> ../../../include/X11/Xlibint.h:43, from imDefIc.c:36: |
33 |
>> ../../../include/X11/Xlib.h:1399: error: expected '=', ',', ';', 'asm' |
34 |
>> or '__attribute__' before 'int' In file included from ../../../ |
35 |
>> include/X11/Xlibint.h:43, from imCallbk.c:40: ../../../include/X11/ |
36 |
>> Xlib.h:1399: error: expected '=', ',', ';', 'asm' or '__attribute__' |
37 |
>> before 'int' make[3]: *** [imCallbk.lo] Error 1 make[3]: *** Waiting |
38 |
>> for unfinished jobs.... make[3]: *** [imDefIc.lo] Error 1 |
39 |
>> |
40 |
>> |
41 |
>> |
42 |
>> After digging headers and the ebuild, it turned out, that the windows |
43 |
>> patch ("${FILESDIR}"/${P}-winnt.patch) introduced there, breaks build |
44 |
>> on Linux and OSX (and possibly more systems). I suspect the error being |
45 |
>> due to X11_IMPORT nowhere to be defined on my OSX box (and I guess on |
46 |
>> irid's Linux box as well), which in turn makes the compiler error out |
47 |
>> there: extern X11_IMPORT int _Xdebug; |
48 |
|
49 |
mduft, please fix and test!!! |
50 |
|
51 |
>> Commenting out the patch or using version 1.1.4 (no such patch there) |
52 |
>> makes libX11 compile. So I suggest dropping windows support |
53 |
>> completely... err i mean make the patch apply conditionally :P |
54 |
|
55 |
|
56 |
-- |
57 |
Fabian Groffen |
58 |
Gentoo on a different level |