Summary: | x11-libs/libX11-1.0.3 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Niko Sams <ns> |
Component: | New packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | plasmaroo |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-log
emerge-log gcc 3.4.6 |
Description
Niko Sams
2006-09-20 07:55:30 UTC
MAKEOPTS="-j1" emerge =x11-libs/libX11-1.0.3 &> log Attach the log here and reopen. Created attachment 97562 [details]
emerge-log
the requested log
reopend how could i solve my problem? would it help switch back to gcc3? please help :D thanks niko Created attachment 97847 [details]
emerge-log gcc 3.4.6
i switched back gcc 3.4.6; when recompiling world libX11 failed again.
attached the emerge log for gcc 3.4.6
Hrm, looks like your headers are messed. Maybe try re-merging linux-headers and glibc. Plasmaroo, any other ideas? re-emerging linux-headers and glibc didn't help some other packages fail to emerge too - xorg-server, mesa - should i post any logs? emerge xorg-server fails with this output: if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -I../include -I../include -I../include -DHAVE_DIX_CONFIG_H -DXFree86Server -DXFree86LOADER -DHAVE_XKB_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -I../lbx -O2 -march=pentium4 -pipe -MT ddxList.lo -MD -MP -MF ".deps/ddxList.Tpo" -c -o ddxList.lo ddxList.c; \ then mv -f ".deps/ddxList.Tpo" ".deps/ddxList.Plo"; else rm -f ".deps/ddxList.Tpo"; exit 1; fi ddxLoad.c: In function `XkbDDXCompileNamedKeymap': ddxLoad.c:246: error: `XkbBinDirectory' undeclared (first use in this function) ddxLoad.c:246: error: (Each undeclared identifier is reported only once ddxLoad.c:246: error: for each function it appears in.) ddxLoad.c: In function `XkbDDXCompileKeymapByNames': ddxLoad.c:345: error: `XkbBinDirectory' undeclared (first use in this function) make[1]: *** [ddxLoad.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -I../include -I../include -I../include -DHAVE_DIX_CONFIG_H -DXFree86Server -DXFree86LOADER -DHAVE_XKB_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -I../lbx -O2 -march=pentium4 -pipe -MT ddxList.lo -MD -MP -MF .deps/ddxList.Tpo -c ddxList.c -fPIC -DPIC -o .libs/ddxList.o ddxList.c: In function `XkbDDXListComponent': ddxList.c:179: error: `XkbBinDirectory' undeclared (first use in this function) ddxList.c:179: error: (Each undeclared identifier is reported only once ddxList.c:179: error: for each function it appears in.) make[1]: *** [ddxList.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/xorg-server-1.0.2-r7/work/xorg-server-1.0.2/xkb' make: *** [all-recursive] Error 1 i tried to re-emerge all xkb-stuff: emerge --ask libxkbfile libxkbui xkbcomp setxkbmap but that didn't help I tried emerge --oneshot xproto as suggested in Bug 127403 but emerge libX11 still fails with ../../../include/X11/Xlib.h:3573: error: syntax error before "_X_SENTINEL" many other people allready had a problem with the _X_SENTINEL-macro: http://hollaco.blogspot.com/2006/03/wine-compile-errors-xsentinel.html although his solution didn't help: emerge libX11 Ctrl+Z; vi /var/tmp/portage/libX11-1.0.3/work/libX11-1.0.3/include/X11/Xlib.h fg the _X_SENTINEL-error is gone, i get this error now: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../include/X11 -I../../../include -I../../../include/X11 -I../../../include -I../../../include/X11 -I../../../src/xcms -I../../../src/xkb -I../../../src/xlibi18n -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHASXDMAUTH -D_BSD_SOURCE -DXIM_t -DTRANS_CLIENT -DMALLOC_0_RETURNS_NULL -O2 -march=pentium4 -pipe -MT imLcFlt.lo -MD -MP -MF .deps/imLcFlt.Tpo -c imLcFlt.c -fPIC -DPIC -o .libs/imLcFlt.o imLcFlt.c: In function `_XimLocalFilter': imLcFlt.c:63: error: `XK_braille_dot_1' undeclared (first use in this function) imLcFlt.c:63: error: (Each undeclared identifier is reported only once imLcFlt.c:63: error: for each function it appears in.) imLcFlt.c:63: error: `XK_braille_dot_8' undeclared (first use in this function) gone braille_dot? what is that?? sorry for the spam, i found Bug 138757; but i do have xproto 7.0.7 (and re-emerged it) I did now reinstall my whole system, and after everything was working I ran into the same problem again - but this time I know whats the problem. I guess it was caused by the installation of Xephyr in /usr/local like described here: http://netpatia.blogspot.com/2006/09/multiseat-iv-evdev-and-xephyr.html I removed the files from /usr/local and no problems anymore. Can this be true? If so, I'm sorry about the bugreport and much thanks for your time! niko Yeah, that was likely your problem. I've seen the same sort of behaviour from local installs of Xgl. Glad you found the problem :) |