The last message from emerge --verbose xorg-x11 is: <snip> action.c:1146: Fehler: Syntaxfehler vor )-Zeichen action.c:1165: Fehler: elemRtrn nicht deklariert (erste Benutzung in dieser Funktion) action.c:1165: Fehler: fieldRtrn nicht deklariert (erste Benutzung in dieser Funktion) action.c:1165: Fehler: arrayRtrn nicht deklariert (erste Benutzung in dieser Funktion) action.c: At top level: action.c:1182: Fehler: Syntaxfehler vor "return" action.c:1188: Fehler: Syntaxfehler vor "xkb" action.c: In function `SetActionField': action.c:1195: Fehler: new nicht deklariert (erste Benutzung in dieser Funktion) action.c:1195: Fehler: old nicht deklariert (erste Benutzung in dieser Funktion) action.c:1197: Warnung: die Adresse von actionsInitialized wird immer zu wahr auswerten action.c:1200: Fehler: Syntaxfehler vor )-Zeichen action.c:1205: Fehler: elem nicht deklariert (erste Benutzung in dieser Funktion) action.c:1206: Fehler: XkbSA_NoAction nicht deklariert (erste Benutzung in dieser Funktion) action.c:1215: Warnung: Verarbeiten des Argumentes 1 von stringToField erzeugt Zeiger von Ganzzahl ohne Typkonvertierung action.c:1219: Fehler: array_ndx nicht deklariert (erste Benutzung in dieser Funktion) action.c:1222: Fehler: info_rtrn nicht deklariert (erste Benutzung in dieser Funktion) action.c: In function `ActionsInit': action.c:1235: Warnung: die Adresse von actionsInitialized wird immer zu wahr auswerten action.c:1238: Fehler: Anfrage nach Element common in etwas, was keine Struktur oder Variante ist action.c:1239: Fehler: Anfrage nach Element common in etwas, was keine Struktur oder Variante ist action.c:1240: Fehler: Anfrage nach Element op in etwas, was keine Struktur oder Variante ist action.c:1241: Fehler: Anfrage nach Element type in etwas, was keine Struktur oder Variante ist action.c:1242: Fehler: Anfrage nach Element value in etwas, was keine Struktur oder Variante ist action.c:1243: Fehler: Anfrage nach Element common in etwas, was keine Struktur oder Variante ist action.c:1244: Fehler: Anfrage nach Element common in etwas, was keine Struktur oder Variante ist action.c:1245: Fehler: Anfrage nach Element op in etwas, was keine Struktur oder Variante ist action.c:1246: Fehler: Anfrage nach Element type in etwas, was keine Struktur oder Variante ist action.c:1247: Fehler: Anfrage nach Element value in etwas, was keine Struktur oder Variante ist action.c:1248: Fehler: invalid lvalue in assignment action.c: At top level: action.c:1063: Fehler: Speichergr�e von handleAction ist unbekannt make[1]: *** [action.o] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/xkbcomp-1.0.2/work/xkbcomp-1.0.2' make: *** [all] Fehler 2 !!! ERROR: x11-apps/xkbcomp-1.0.2 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile ebuild.sh, line 1254: Called x-modular_src_compile x-modular.eclass, line 327: Called x-modular_src_make x-modular.eclass, line 322: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. </snip> gentoo ~ # emerge --info Portage 2.1.1_pre3-r1 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r12 i686) ================================================================= System uname: 2.6.16-gentoo-r12 i686 AMD Athlon(TM) MP 2100+ Gentoo Base System version 1.6.15 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -mtune=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="de en ru" MAKEOPTS="" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups dba dlloader dri eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile idn imlib ipv6 isdnlog jpeg kde kernel_linux lcms libg++ libwww mad memlimit mikmod mng motif mozilla mp3 mpeg mysql ncurses nls ogg opengl oss pam pcre pdflib perl png posix postgres pppd python qt qt3 qt4 quicktime readline reflection samba sdl session simplexml slang soap sockets spell spl ssl symlink tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode userland_GNU vorbis x86 xml xml2 xmms xorg xsl xv zlib input_devices_mouse input_devices_keyboard linguas_de linguas_en linguas_ru video_cards_nvidia video_cards_radeon video_cards_vesa video_cards_fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I followed the guidelines on http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml up to step "Installing the modular metabuild", which looks like that: gentoo ~ # emerge --pretend --verbose xorg-x11 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] x11-apps/xkbcomp-1.0.2 USE="-debug" 0 kB [ebuild N ] x11-misc/xkeyboard-config-0.8 400 kB [ebuild N ] x11-apps/xauth-1.0.1 USE="ipv6 -debug" 93 kB [ebuild N ] x11-proto/scrnsaverproto-1.1.0 USE="-debug" 37 kB [ebuild N ] x11-proto/compositeproto-0.3.1 USE="-debug" 36 kB [ebuild N ] x11-libs/libdrm-2.0.1 USE="-debug" 0 kB [ebuild N ] x11-libs/motif-config-0.9 0 kB [ebuild N ] x11-libs/openmotif-2.2.3-r9 0 kB [ebuild N ] x11-proto/xf86driproto-2.0.3 USE="-debug" 41 kB [ebuild N ] media-libs/mesa-6.4.2-r2 USE="motif -debug -doc -hardened" VIDEO_CARDS="radeon -i810 -mach64 -mga -none -r128 -s3virge -savage -sis -tdfx -trident -via" 0 kB [ebuild N ] x11-base/xorg-server-1.0.2-r7 USE="dri ipv6 -debug -minimal -xprint" 5,871 kB [ebuild N ] x11-drivers/xf86-input-keyboard-1.0.1.3 USE="-debug" 214 kB [ebuild N ] x11-drivers/xf86-video-vesa-1.0.1.3 USE="-debug" 218 kB [ebuild N ] media-fonts/font-adobe-100dpi-1.0.0 USE="nls" 1,039 kB [ebuild N ] media-fonts/font-bh-type1-1.0.0 562 kB [ebuild N ] app-doc/xorg-docs-1.2 USE="-debug -doc" 8,132 kB [ebuild N ] x11-drivers/xf86-input-mouse-1.0.4 USE="-debug" 245 kB [ebuild N ] x11-libs/libXdamage-1.0.3 USE="-debug" 218 kB [ebuild N ] x11-apps/xhost-1.0.1 USE="ipv6 -debug" 87 kB [ebuild N ] x11-apps/setxkbmap-1.0.2 USE="-debug" 0 kB [ebuild N ] x11-libs/libXScrnSaver-1.1.0 USE="-debug" 221 kB [ebuild N ] x11-libs/libXrandr-1.1.1 USE="-debug" 226 kB [ebuild N ] x11-apps/xrandr-1.0.2 USE="-debug" 78 kB [ebuild N ] x11-drivers/xf86-video-ati-6.5.8.0 USE="dri -debug" 667 kB [ebuild N ] media-fonts/font-adobe-utopia-type1-1.0.1 203 kB [ebuild N ] x11-libs/libXcomposite-0.3 USE="-debug" 213 kB [ebuild N ] x11-drivers/xf86-video-fbdev-0.1.0.5 USE="-debug" 214 kB [ebuild N ] media-video/nvidia-kernel-1.0.6629-r6 8,520 kB [ebuild N ] media-video/nvidia-glx-1.0.6629-r7 0 kB [ebuild N ] x11-apps/mesa-progs-6.4.2 795 kB [ebuild N ] x11-apps/xmodmap-1.0.1 USE="-debug" 91 kB [ebuild N ] x11-base/xorg-x11-7.0-r1 USE="-3dfx" INPUT_DEVICES="keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -magictouch -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="fbdev nvidia radeon vesa -apm -ark -chips -cirrus -cyrix -dummy -fglrx -glint -i128 -i740 -i810 -imstt -mach64 -mga -neomagic -nsc -nv -r128 -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vga -via -vmware -voodoo" 0 kB Total size of downloads: 28,434 kB gentoo ~ #
Kindly reopen with error messages in English. Set you locales to C when reporting bugs.
Sorry - after unset LANG/LC_ALL things look like that: <snip> action.c: At top level: action.c:1057: error: syntax error before '*' token action.c:1061: error: `actionHandler' declared as function returning a function action.c:1063: error: `XkbSA_NumActions' undeclared here (not in a function) action.c:1065: warning: excess elements in scalar initializer action.c:1065: warning: (near initialization for `handleAction') action.c:1066: warning: excess elements in scalar initializer action.c:1066: warning: (near initialization for `handleAction') action.c:1067: warning: excess elements in scalar initializer action.c:1067: warning: (near initialization for `handleAction') action.c:1068: warning: excess elements in scalar initializer action.c:1068: warning: (near initialization for `handleAction') action.c:1069: warning: excess elements in scalar initializer action.c:1069: warning: (near initialization for `handleAction') action.c:1070: warning: excess elements in scalar initializer action.c:1070: warning: (near initialization for `handleAction') action.c:1071: warning: excess elements in scalar initializer action.c:1071: warning: (near initialization for `handleAction') action.c:1072: warning: excess elements in scalar initializer action.c:1072: warning: (near initialization for `handleAction') action.c:1073: warning: excess elements in scalar initializer action.c:1073: warning: (near initialization for `handleAction') action.c:1074: warning: excess elements in scalar initializer action.c:1074: warning: (near initialization for `handleAction') action.c:1075: warning: excess elements in scalar initializer action.c:1075: warning: (near initialization for `handleAction') action.c:1076: warning: excess elements in scalar initializer action.c:1076: warning: (near initialization for `handleAction') action.c:1077: warning: excess elements in scalar initializer action.c:1077: warning: (near initialization for `handleAction') action.c:1078: warning: excess elements in scalar initializer action.c:1078: warning: (near initialization for `handleAction') action.c:1079: warning: excess elements in scalar initializer action.c:1079: warning: (near initialization for `handleAction') action.c:1080: warning: excess elements in scalar initializer action.c:1080: warning: (near initialization for `handleAction') action.c:1081: warning: excess elements in scalar initializer action.c:1081: warning: (near initialization for `handleAction') action.c:1082: warning: excess elements in scalar initializer action.c:1082: warning: (near initialization for `handleAction') action.c:1083: warning: excess elements in scalar initializer action.c:1083: warning: (near initialization for `handleAction') action.c:1084: warning: excess elements in scalar initializer action.c:1084: warning: (near initialization for `handleAction') action.c:1086: warning: excess elements in scalar initializer action.c:1086: warning: (near initialization for `handleAction') action.c:1091: error: syntax error before '*' token action.c: In function `ApplyActionFactoryDefaults': action.c:1093: error: invalid type argument of `->' action.c:1093: error: `XkbSA_SetPtrDflt' undeclared (first use in this function) action.c:1094: error: invalid type argument of `->' action.c:1095: error: invalid type argument of `->' action.c:1096: error: invalid type argument of `->' action.c:1098: error: invalid type argument of `->' action.c:1098: error: `XkbSA_ISOLock' undeclared (first use in this function) action.c:1099: error: invalid type argument of `->' action.c:1099: error: `LockMask' undeclared (first use in this function) action.c: At top level: action.c:1106: error: syntax error before '*' token action.c: In function `HandleActionDef': action.c:1112: error: `arg' undeclared (first use in this function) action.c:1116: warning: the address of `actionsInitialized', will always evaluate as `true' action.c:1119: error: request for member `op' in something not a structure or union action.c:1120: error: request for member `op' in something not a structure or union action.c:1123: error: request for member `value' in something not a structure or union action.c:1123: warning: assignment makes pointer from integer without a cast action.c:1132: error: invalid type argument of `->' action.c:1133: error: invalid type argument of `->' action.c:1133: error: `XkbSA_NoAction' undeclared (first use in this function) action.c:1134: error: `XkbAction' undeclared (first use in this function) action.c:1134: error: syntax error before ')' token action.c:1135: error: `info' undeclared (first use in this function) action.c:1137: error: `xkb' undeclared (first use in this function) action.c:1146: error: request for member `value' in something not a structure or union action.c:1146: error: syntax error before ')' token action.c:1165: error: `elemRtrn' undeclared (first use in this function) action.c:1165: error: `fieldRtrn' undeclared (first use in this function) action.c:1165: error: `arrayRtrn' undeclared (first use in this function) action.c: At top level: action.c:1182: error: syntax error before "return" action.c:1188: error: syntax error before "xkb" action.c: In function `SetActionField': action.c:1195: error: `new' undeclared (first use in this function) action.c:1195: error: `old' undeclared (first use in this function) action.c:1197: warning: the address of `actionsInitialized', will always evaluate as `true' action.c:1200: error: syntax error before ')' token action.c:1205: error: `elem' undeclared (first use in this function) action.c:1206: error: `XkbSA_NoAction' undeclared (first use in this function) action.c:1215: warning: passing arg 1 of `stringToField' makes pointer from integer without a cast action.c:1219: error: `array_ndx' undeclared (first use in this function) action.c:1222: error: `info_rtrn' undeclared (first use in this function) action.c: In function `ActionsInit': action.c:1235: warning: the address of `actionsInitialized', will always evaluate as `true' action.c:1238: error: request for member `common' in something not a structure or union action.c:1239: error: request for member `common' in something not a structure or union action.c:1240: error: request for member `op' in something not a structure or union action.c:1241: error: request for member `type' in something not a structure or union action.c:1242: error: request for member `value' in something not a structure or union action.c:1243: error: request for member `common' in something not a structure or union action.c:1244: error: request for member `common' in something not a structure or union action.c:1245: error: request for member `op' in something not a structure or union action.c:1246: error: request for member `type' in something not a structure or union action.c:1247: error: request for member `value' in something not a structure or union action.c:1248: error: invalid lvalue in assignment action.c: At top level: action.c:1063: error: storage size of `handleAction' isn't known make[1]: *** [action.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/xkbcomp-1.0.2/work/xkbcomp-1.0.2' make: *** [all] Error 2 !!! ERROR: x11-apps/xkbcomp-1.0.2 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile ebuild.sh, line 1254: Called x-modular_src_compile x-modular.eclass, line 327: Called x-modular_src_make x-modular.eclass, line 322: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. gentoo ~ # </snip>
Sorry again - the first bugs seem to be some missing files: <snip> checking host system type... i386-pc-linux-gnu configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands make all-am make[1]: Entering directory `/var/tmp/portage/xkbcomp-1.0.2/work/xkbcomp-1.0.2' if i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -DDFLT_XKB_CONFIG_ROOT='"/usr/share/X11/xkb"' -march=athlon-xp -O2 -pipe -MT action.o -MD -MP -MF ".deps/action.Tpo" -c -o action.o action.c; \ then mv -f ".deps/action.Tpo" ".deps/action.Po"; else rm -f ".deps/action.Tpo"; exit 1; fi In file included from action.c:29: xkbcomp.h:37:22: X11/Xlib.h: No such file or directory xkbcomp.h:38:24: X11/XKBlib.h: No such file or directory In file included from xkbcomp.h:40, from action.c:29: utils.h:35:21: X11/Xos.h: No such file or directory utils.h:36:28: X11/Xfuncproto.h: No such file or directory utils.h:37:24: X11/Xfuncs.h: No such file or directory In file included from action.c:29: xkbcomp.h:42:32: X11/extensions/XKM.h: No such file or directory xkbcomp.h:43:36: X11/extensions/XKBfile.h: No such file or directory In file included from action.c:29: xkbcomp.h:138: error: syntax error before "Atom" xkbcomp.h:138: warning: no semicolon at end of struct or union xkbcomp.h:138: warning: no semicolon at end of struct or union xkbcomp.h:139: warning: no semicolon at end of struct or union xkbcomp.h:140: warning: data definition has no type or storage class xkbcomp.h:142: error: syntax error before "Atom" xkbcomp.h:142: warning: no semicolon at end of struct or union xkbcomp.h:143: warning: data definition has no type or storage class xkbcomp.h:145: error: syntax error before '}' token xkbcomp.h:145: warning: data definition has no type or storage class xkbcomp.h:147: error: syntax error before "Atom" xkbcomp.h:147: warning: no semicolon at end of struct or union xkbcomp.h:149: error: syntax error before '}' token xkbcomp.h:149: warning: data definition has no type or storage class xkbcomp.h:153: error: syntax error before "KeySym" xkbcomp.h:153: warning: no semicolon at end of struct or union xkbcomp.h:154: warning: data definition has no type or storage class xkbcomp.h:160: error: syntax error before "str" </snip>
<snip> xkbcomp.h:37:22: X11/Xlib.h: No such file or directory xkbcomp.h:38:24: X11/XKBlib.h: No such file or directory In file included from xkbcomp.h:40, from action.c:29: utils.h:35:21: X11/Xos.h: No such file or directory utils.h:36:28: X11/Xfuncproto.h: No such file or directory utils.h:37:24: X11/Xfuncs.h: No such file or directory </snip> Re-emerge libX11 xproto *** This bug has been marked as a duplicate of 133671 ***
Created attachment 92001 [details] /var/tmp/portage/libX11-1.0.1-r1/work/libX11-1.0.1/config.log while trying to reemerge libX11 xproto
> Re-emerge libX11 xproto gentoo ~ # emerge libX11 xproto <snip> checking for XdmcpWrap in -lXdmcp... yes checking for poll... yes checking keysymdef.h... configure: error: Cannot find keysymdef.h !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/libX11-1.0.1-r1/work/libX11-1.0.1/config.log !!! ERROR: x11-libs/libX11-1.0.1-r1 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile ebuild.sh, line 1254: Called x-modular_src_compile x-modular.eclass, line 326: Called x-modular_src_configure x-modular.eclass, line 313: Called econf '--prefix=/usr' '--datadir=/usr/share' '--enable-ipv6' ebuild.sh, line 541: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant.
Read the other bug. No need to reopen and mess w/ the priority over and over again. You need to emerge xproto first. *** This bug has been marked as a duplicate of 133671 ***
(In reply to comment #8) > Read the other bug. No need to reopen and mess w/ the priority over and over > again. You need to emerge xproto first. > > *** This bug has been marked as a duplicate of 133671 *** I was able to emerge xproto, but libX11 fails as does virtual/x11. I interpret the other bug (133671) as "Wait until things are fixed by the x11-team there's a problem with dependencies" - is that correct ? Emerging xorg-x11 gives: make all-am make[1]: Entering directory `/var/tmp/portage/xkbcomp-1.0.2/work/xkbcomp-1.0.2' if i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -DDFLT_XKB_CONFIG_ROOT='"/usr/share/X11/xkb"' -march=athlon-xp -O2 -pipe -MT action.o -MD -MP -MF ".deps/action.Tpo" -c -o action.o action.c; \ then mv -f ".deps/action.Tpo" ".deps/action.Po"; else rm -f ".deps/action.Tpo"; exit 1; fi In file included from action.c:29: xkbcomp.h:37:22: X11/Xlib.h: No such file or directory xkbcomp.h:38:24: X11/XKBlib.h: No such file or directory xkbcomp.h:42:32: X11/extensions/XKM.h: No such file or directory xkbcomp.h:43:36: X11/extensions/XKBfile.h: No such file or directory In file included from action.c:29: xkbcomp.h:138: error: syntax error before "Atom" xkbcomp.h:138: warning: no semicolon at end of struct or union xkbcomp.h:138: warning: no semicolon at end of struct or union xkbcomp.h:139: warning: no semicolon at end of struct or union <snip> action.c:1248: error: invalid lvalue in assignment action.c: At top level: action.c:1063: error: storage size of `handleAction' isn't known make[1]: *** [action.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/xkbcomp-1.0.2/work/xkbcomp-1.0.2' make: *** [all] Error 2 !!! ERROR: x11-apps/xkbcomp-1.0.2 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile ebuild.sh, line 1254: Called x-modular_src_compile x-modular.eclass, line 327: Called x-modular_src_make x-modular.eclass, line 322: Called die
(In reply to comment #9) > I interpret the other bug (133671) as "Wait until things are fixed by the > x11-team there's a problem with dependencies" - is that correct ? We won't be fixing anything, virtual/x11 needs to die to get this fixed... Meanwhile, sorry - you need to emerge the missing dependencies manually (like libxkbfile etc.)
> We won't be fixing anything, virtual/x11 needs to die to get this fixed... > Meanwhile, sorry - you need to emerge the missing dependencies manually (like > libxkbfile etc.) mmmh - okay. Trying to emerge libxkbfile dies as well .... so I'll keep on waiting until virtual/x11 disappears .... Unfortunately I can#t emerge other packages due to the many dependencies to x11 or x11-libs.
Please attach emerge --pretend --debug output for the command that produces the incorrect order (using >=portage-2.1.1_pre3-r5).
Created attachment 92768 [details] emerge --verbose --debug --pretend xorg-x11 / fails After a successfull: emerge -e libX11 emerge --verbose xorg-x11 fails: >>> Emerging (1 of 32) x11-apps/xkbcomp-1.0.2 to / <snip> checking for a BSD-compatible install... /bin/install -c checking for i386-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for XKBCOMP... yes checking build system type... i386-pc-linux-gnu checking host system type... i386-pc-linux-gnu configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands make all-am make[1]: Entering directory `/var/tmp/portage/xkbcomp-1.0.2/work/xkbcomp-1.0.2' if i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -DDFLT_XKB_CONFIG_ROOT='"/usr/share/X11/xkb"' -march=athlon-xp -O2 -pipe -MT action.o -MD -MP -MF ".deps/action.Tpo" -c -o action.o action.c; \ then mv -f ".deps/action.Tpo" ".deps/action.Po"; else rm -f ".deps/action.Tpo"; exit 1; fi In file included from action.c:29: xkbcomp.h:42:32: X11/extensions/XKM.h: No such file or directory xkbcomp.h:43:36: X11/extensions/XKBfile.h: No such file or directory In file included from action.c:29: xkbcomp.h:316: error: syntax error before "XkbFileInfo" xkbcomp.h:322: error: syntax error before "XkbFileInfo" xkbcomp.h:328: error: syntax error before "XkbFileInfo" xkbcomp.h:334: error: syntax error before "XkbFileInfo" xkbcomp.h:342: error: syntax error before "XkbFileInfo" xkbcomp.h:349: error: syntax error before "XkbFileInfo" action.c: In function `ReportMismatch': action.c:192: error: `XkbMessage' undeclared (first use in this function) action.c:192: error: (Each undeclared identifier is reported only once action.c:192: error: for each function it appears in.) action.c: In function `ReportIllegal': action.c:201: error: `XkbMessage' undeclared (first use in this function) action.c: In function `ReportActionNotArray': action.c:211: error: `XkbMessage' undeclared (first use in this function) action.c: In function `ReportNotFound': action.c:221: error: `XkbMessage' undeclared (first use in this function) action.c: In function `CheckModifierField': action.c:265: warning: assignment makes pointer from integer without a cast action.c: In function `CheckGroupField': action.c:387: error: `XkbMessage' undeclared (first use in this function) action.c: In function `HandleRedirectKey': action.c:885: error: `XkbMessage' undeclared (first use in this function) action.c:885: warning: passing arg 4 of `ReportNotFound' makes pointer from integer without a cast action.c: In function `HandleActionDef': action.c:1123: warning: assignment makes pointer from integer without a cast make[1]: *** [action.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/xkbcomp-1.0.2/work/xkbcomp-1.0.2' make: *** [all] Error 2 !!! ERROR: x11-apps/xkbcomp-1.0.2 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile ebuild.sh, line 1254: Called x-modular_src_compile x-modular.eclass, line 327: Called x-modular_src_make x-modular.eclass, line 322: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant.
Portage seems to think that x11-libs/libxkbfile is already installed. For some reason, the xkbcomp build is unable to find /usr/include/X11/extensions/XKM.h which should be provided by libxkbfile if it is correctly installed. Does "/usr/include/X11/extensions/XKM.h" exist or not? Please post the output of the following commands: ls /usr/include/X11/extensions cat /var/db/pkg/x11-libs/libxkbfile*/CONTENTS
gentoo ~ # ls /usr/include/X11/extensions MITMisc.h XKB.h XShm.h Xcupstr.h dmxproto.h fontcachstr.h lbxstr.h securstr.h vldXvMC.h XEVI.h XKBgeom.h XTest.h Xdbe.h dpms.h lbxbuf.h lbxzlib.h shape.h xcmiscstr.h XEVIstr.h XKBproto.h Xag.h Xdbeproto.h dpmsstr.h lbxbufstr.h mitmiscstr.h shapestr.h xf86bigfont.h XI.h XKBsrv.h Xagsrv.h Xext.h extutil.h lbxdeltastr.h multibuf.h shmstr.h xf86bigfstr.h XInput.h XKBstr.h Xagstr.h bigreqstr.h fontcache.h lbximage.h multibufst.h sync.h xtestext1.h XIproto.h XLbx.h Xcup.h dmxext.h fontcacheP.h lbxopts.h security.h syncstr.h xteststr.h gentoo ~ # cat /var/db/pkg/x11-libs/libxkb libxkbfile-1.0.3/ libxkbui-1.0.2/ gentoo ~ # cat /var/db/pkg/x11-libs/libxkb*/CONTENTS dir /usr dir /usr/lib obj /usr/lib/libxkbfile.so.1.0.2 b3438e36cbccbf3ddf9220f58f77f30e 1147701567 sym /usr/lib/libxkbfile.so.1 -> libxkbfile.so.1.0.2 1147701567 sym /usr/lib/libxkbfile.so -> libxkbfile.so.1.0.2 1147701567 obj /usr/lib/libxkbfile.la 63413ffe3e424b8212d199a8937049e1 1147701567 obj /usr/lib/libxkbfile.a f068b344049b51fdf1961c307ecd79be 1147701567 dir /usr/lib/pkgconfig obj /usr/lib/pkgconfig/xkbfile.pc 4d668da51248c67b88bdb7783385501f 1147701567 dir /usr/include dir /usr/include/X11 dir /usr/include/X11/extensions obj /usr/include/X11/extensions/XKM.h d86d032112b3fcffbb3bda60bdf7bb4d 1147701567 obj /usr/include/X11/extensions/XKBrules.h 48c044bf760ce66c2b2c8ee92b527c95 1147701567 obj /usr/include/X11/extensions/XKBbells.h 826eef83bbd493e36f956f025007e6b6 1147701567 obj /usr/include/X11/extensions/XKBconfig.h f150a3cf6d2fab12cf9dc00488907bce 1147701567 obj /usr/include/X11/extensions/XKMformat.h 81b53180a23ab0b94553b47ca2baf640 1147701567 obj /usr/include/X11/extensions/XKBfile.h 3e22a9c4ea3a01d4fd828ee76cd2c84f 1147701567 dir /usr dir /usr/lib obj /usr/lib/libxkbui.so.1.0.0 b1f550ffbc845d3f8dfc7d167abba793 1147703423 sym /usr/lib/libxkbui.so.1 -> libxkbui.so.1.0.0 1147703423 sym /usr/lib/libxkbui.so -> libxkbui.so.1.0.0 1147703423 obj /usr/lib/libxkbui.la ad1a236a01cf8e4cc92bce1689c87204 1147703423 obj /usr/lib/libxkbui.a 73336c741ff4eb33bf7aaf609a372b1f 1147703423 dir /usr/lib/pkgconfig obj /usr/lib/pkgconfig/xkbui.pc 9a63b30be37ef72b8dd5dd3f6423d8a0 1147703423 dir /usr/include dir /usr/include/X11 dir /usr/include/X11/extensions obj /usr/include/X11/extensions/XKBui.h ebd7617a2d143cf5000b7be09d28822f 1147703423
(In reply to comment #15) > obj /usr/include/X11/extensions/XKM.h d86d032112b3fcffbb3bda60bdf7bb4d > 1147701567 > obj /usr/include/X11/extensions/XKBrules.h 48c044bf760ce66c2b2c8ee92b527c95 > 1147701567 > obj /usr/include/X11/extensions/XKBbells.h 826eef83bbd493e36f956f025007e6b6 > 1147701567 > obj /usr/include/X11/extensions/XKBconfig.h f150a3cf6d2fab12cf9dc00488907bce > 1147701567 > obj /usr/include/X11/extensions/XKMformat.h 81b53180a23ab0b94553b47ca2baf640 > 1147701567 > obj /usr/include/X11/extensions/XKBfile.h 3e22a9c4ea3a01d4fd828ee76cd2c84f > 1147701567 Do you have any idea how those files went missing? Apparently they were once installed. Anyway, you should reinstall libxkbfile.
> Do you have any idea how those files went missing? Apparently they were once > installed. Anyway, you should reinstall libxkbfile. After successfully emerging libxkbfile I get the following error message (from emerge --verbose xorg-x11): >>> Emerging (1 of 30) x11-apps/xauth-1.0.1 to / <snip> config.status: creating config.h config.status: executing depfiles commands make all-am make[1]: Entering directory `/var/tmp/portage/xauth-1.0.1/work/xauth-1.0.1' if i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=athlon-xp -O2 -pipe -MT xauth-gethost.o -MD -MP -MF ".deps/xauth-gethost.Tpo" \ -c -o xauth-gethost.o `test -f 'gethost.c' || echo './'`gethost.c; \ then mv -f ".deps/xauth-gethost.Tpo" ".deps/xauth-gethost.Po"; \ else rm -f ".deps/xauth-gethost.Tpo"; exit 1; \ fi if i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=athlon-xp -O2 -pipe -MT xauth-parsedpy.o -MD -MP -MF ".deps/xauth-parsedpy.Tpo" \ -c -o xauth-parsedpy.o `test -f 'parsedpy.c' || echo './'`parsedpy.c; \ then mv -f ".deps/xauth-parsedpy.Tpo" ".deps/xauth-parsedpy.Po"; \ else rm -f ".deps/xauth-parsedpy.Tpo"; exit 1; \ fi parsedpy.c:47:29: X11/Xmu/SysUtil.h: No such file or directory make[1]: *** [xauth-parsedpy.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/xauth-1.0.1/work/xauth-1.0.1' make: *** [all] Error 2 !!! ERROR: x11-apps/xauth-1.0.1 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile ebuild.sh, line 1254: Called x-modular_src_compile x-modular.eclass, line 327: Called x-modular_src_make x-modular.eclass, line 322: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. gentoo ~ # How do I emerge the missing file(s) ?
(In reply to comment #17) > parsedpy.c:47:29: X11/Xmu/SysUtil.h: No such file or directory That one belongs to x11-libs/libXmu.
Trying to emerge libXmu yields other missing files, after I successfully emerged (renderproto, libXrender, xproto, libXext, randrproto, libXrandr) I can't install libXmu: i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include/X11/Xmu -DBITMAPDIR=\"/usr/include/X11/bitmaps\" -D_BSD_SOURCE -march=athlon-xp -O2 -pipe -MT AllCmap.lo -MD -MP -MF .deps/AllCmap.Tpo -c AllCmap.c -o AllCmap.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CC --mode=compile i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include/X11/Xmu -DBITMAPDIR=\"/usr/include/X11/bitmaps\" -D_BSD_SOURCE -march=athlon-xp -O2 -pipe -MT Atoms.lo -MD -MP -MF ".deps/Atoms.Tpo" -c -o Atoms.lo Atoms.c; \ then mv -f ".deps/Atoms.Tpo" ".deps/Atoms.Plo"; else rm -f ".deps/Atoms.Tpo"; exit 1; fi i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include/X11/Xmu -DBITMAPDIR=\"/usr/include/X11/bitmaps\" -D_BSD_SOURCE -march=athlon-xp -O2 -pipe -MT Atoms.lo -MD -MP -MF .deps/Atoms.Tpo -c Atoms.c -fPIC -DPIC -o .libs/Atoms.o Atoms.c:46:27: X11/Intrinsic.h: No such file or directory In file included from Atoms.c:47: ../include/X11/Xmu/Atoms.h:96: error: syntax error before '*' token ../include/X11/Xmu/Atoms.h:100: error: syntax error before "XmuInternAtom" ../include/X11/Xmu/Atoms.h:102: error: syntax error before '*' token ../include/X11/Xmu/Atoms.h:104: warning: data definition has no type or storage class ../include/X11/Xmu/Atoms.h:108: error: syntax error before '*' token Atoms.c:51: error: syntax error before "Display" Where does X11/Intrinsic.h belong to ? I seem to have lost some files - what's the command to query a package name for a missing file ?
(In reply to comment #19) > Where does X11/Intrinsic.h belong to ? I seem to have lost some files - what's > the command to query a package name for a missing file ? x11-libs/libXt. You can install portage-utils and use the qfile command.