emerge -u world cannot emerge xorg-x11 setxkbmap.c:34:22: X11/Xlib.h: No such file or directory see attached file for complete error report >emerge --info Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.15-gentoo-r7 i686) ================================================================= System uname: 2.6.15-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.15 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-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-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/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/" MAKEOPTS="-j2" 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.us.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdrw cli crypt cups dri dts dvd dvdrw eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer gtk2 hpijs imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode usb vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 90617 [details] error when emerging xorg-x11 7.0.r1
Alright, is x11-libs/libX11 installed? If not, what is the output of 'emerge -p xorg-x11 | grep libX11'? Also, are you following the migration guide?
Here is what I did: On Friday: > emerge --sync > emerge -u system emerge -u world on last emerge It said that xorg-x11 7.0 was blocked by xorg-x11 6.8.2-r8 I did: > emerge -aC xorg-x11 [6.8.2-r8] > emerge xorg-x11 and got a error which i reported (bug id: 138584) which Jakub Moc replied: *** This bug has been marked as a duplicate of 138569 *** bug 138569 was resloved by Jakub Moc and we were told to emerge --sync and try again, I did as I was told and recieved this error! the output of 'emerge -p xorg-x11 | grep libX11'? is null attached is the output of emerge -p xorg-x11
Created attachment 90643 [details] emerge -p xorg-x11
>emerge -s libX11 Searching... [ Results for search key : libX11 ] [ Applications found : 1 ] * x11-libs/libX11 Latest version available: 1.0.1-r1 Latest version installed: 1.0.1-r1 Size of files: 1,386 kB Homepage: http://xorg.freedesktop.org/ Description: X.Org X11 library License: libX11
Also, are you following the migration guide? No I was just doing our weekly sync & update to keep our Gentoo systems up to date. I always to this machine first, and if no problems I do the rest. I am not trying to force the new X11 7.0. I go with what Gentoo portage gives me :-)
Please remerge libX11.
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.
In that case, remerge xproto, then libX11. Did you unmerge xorg-x11 6.8 before emerging the new one, or did you pass -O or --nodeps?
As I indicated in comment #3, I unmerged xorg-x11 6.8 before emerging the new one emerge xproto -- success emerge libX11 -- fails ../../include/X11/XKBlib.h:33:35: X11/extensions/XKBstr.h: No such file or directory In file included from XKBBind.c:37: ../../include/X11/XKBlib.h:218: error: `XkbActionMessageLength' undeclared here (not in a function) ../../include/X11/XKBlib.h:393: error: syntax error before "KeyCode" ../../include/X11/XKBlib.h:397: warning: function declaration isn't a prototype ../../include/X11/XKBlib.h:493: error: syntax error before "XkbMapNotifyEvent" ../../include/X11/XKBlib.h:495: warning: function declaration isn't a prototype . . [ba-zillion more errors] . !!! ERROR: x11-libs/libX11-1.0.1-r1 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ebuild.sh, line 1248: Called x-modular_src_compile x-modular.eclass, line 332: Called x-modular_src_make x-modular.eclass, line 327: Called die
OK, that means you need to remerge kbproto. What filesystem, kernel and portage version are you using?
for system info see: emerge --info at top of this bug report emerge kbproto - success emerge libX11 - failed XKBExtDev.c:39:31: X11/extensions/XI.h: No such file or directory XKBExtDev.c: In function `_InitLedStuff': XKBExtDev.c:445: error: `KbdFeedbackClass' undeclared (first use in this function) . . . XKBExtDev.c:555: error: `LedFeedbackClass' undeclared (first use in this function) make[3]: *** [XKBExtDev.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/libX11-1.0.1-r1/work/libX11-1.0.1/src/xkb' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libX11-1.0.1-r1/work/libX11-1.0.1/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/libX11-1.0.1-r1/work/libX11-1.0.1/src' make: *** [all-recursive] Error 1 !!! ERROR: x11-libs/libX11-1.0.1-r1 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ebuild.sh, line 1248: Called x-modular_src_compile x-modular.eclass, line 332: Called x-modular_src_make x-modular.eclass, line 327: Called die
OK, that's inputproto. emerge --info doesn't provide your filesystem ...
Disk /dev/sda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 5 40131 fd Linux raid autodetect /dev/sda2 6 255 2008125 fd Linux raid autodetect /dev/sda3 256 14593 115169985 fd Linux raid autodetect boot partion is ext2 data partion is reiserfs Personalities : [raid1] md1 : active raid1 sdb2[1] sda2[0] 2008000 blocks [2/2] [UU] md2 : active raid1 sdb3[1] sda3[0] 115169920 blocks [2/2] [UU] md0 : active raid1 sdb1[1] sda1[0] 40064 blocks [2/2] [UU] unused devices: <none> emerge inputproto - success emerge libX11 - failed ConnDis.c:41:23: X11/Xauth.h: No such file or directory ConnDis.c:42:23: X11/Xdmcp.h: No such file or directory if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -DX11_t -DTRANS_CLIENT -DMALLOC_0_RETURNS_NULL -O3 -march=pentium4 -fomit-frame-pointer -pipe -MT Context.lo -MD -MP -MF ".deps/Context.Tpo" -c -o Context.lo Context.c; \ then mv -f ".deps/Context.Tpo" ".deps/Context.Plo"; else rm -f ".deps/Context.Tpo"; exit 1; fi ConnDis.c:716: warning: function declaration isn't a prototype ConnDis.c: In function `GetAuthorization': ConnDis.c:1023: error: `Xauth' undeclared (first use in this function) ConnDis.c:1023: error: (Each undeclared identifier is reported only once ConnDis.c:1023: error: for each function it appears in.) ConnDis.c:1023: error: `authptr' undeclared (first use in this function)
(In reply to comment #14) > ConnDis.c:41:23: X11/Xauth.h: No such file or directory > ConnDis.c:42:23: X11/Xdmcp.h: No such file or directory That's libXau and libXdmcp. Emerge/Re-emerge these, but are they installed yet or not?
That's libXau and libXdmcp.
Are you finding this as tedious as me?, can we not just re-emerge all relevant files?
emerge libXau and libXdmcp - success emerge libX11 - failed Font.c:50:40: X11/extensions/xf86bigfstr.h: No such file or directory Font.c: In function `_XF86BigfontCodes':
That's libXau and libXdmcp. Emerge/Re-emerge these, but are they installed yet or not? Sorry, I did not check to see if they were installed before I emerged them
(In reply to comment #18) > emerge libXau and libXdmcp - success > emerge libX11 - failed > > Font.c:50:40: X11/extensions/xf86bigfstr.h: No such file or directory > Font.c: In function `_XF86BigfontCodes': Yes, it is tedious. You could do something like `emerge -ep libX11` but you'd get everything including your toolchain. That one looks like x11-proto/xf86bigfontproto
I think this is a good suggestion I am in the process of emerge -e libX11 ... give me about 20 mins
ok x11-libs/libX11-1.0.1-r1 emerged successfully ... now what?
emerge xorg-x11 again.
setxkbmap.c:37:36: X11/extensions/XKBfile.h: No such file or directory setxkbmap.c:38:38: X11/extensions/XKBconfig.h: No such file or directory setxkbmap.c:39:37: X11/extensions/XKBrules.h: No such file or directory !!! ERROR: x11-apps/setxkbmap-1.0.2 failed.
That'll be kbproto.
(In reply to comment #25) > That'll be kbproto. > are you kidding? see comment #11 ... are just going to go around in a circle? do you know what the problem is here?
emerge kbproto - successfully emerge xorg-x11 - failed same error! setxkbmap.c:37:36: X11/extensions/XKBfile.h: No such file or directory setxkbmap.c:38:38: X11/extensions/XKBconfig.h: No such file or directory setxkbmap.c:39:37: X11/extensions/XKBrules.h: No such file or directory
Created attachment 90659 [details] Emerging (1 of 1) x11-proto/kbproto-1.0.2
Those are actually libxkbfile. 'emerge -e xorg-x11' would probably make this all go away. I'm not sure what you did to your computer to put it in this state, but I think it's very angry ;D
> I'm not sure what you did to your computer to put it in this state, > but I think it's very angry ;D I have only done what I was advised to do by you'all checking for library containing glXGetProcAddressARB... no configure: error: cannot find GL library - make sure Mesa or other OpenGL package is installed See `config.log' for more details. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/xdriinfo-1.0.1/work/xdriinfo-1.0.1/config.log !!! ERROR: x11-apps/xdriinfo-1.0.1 failed.
Created attachment 90742 [details] config.log
It's possible for an upgrade-downgrade-upgrade from monolith to modular cycle to cause this problem. Monolith would overwrite modular files on downgrade, then delete them upon uninstallation.
(In reply to comment #32) > It's possible for an upgrade-downgrade-upgrade from monolith to modular cycle .. Isn't that exactly what Gentoo portage was designed to prevent?
Actually it's a bug that couldn't possibly happen if portage didn't exist, since it removes the files that got overwritten. =)
(In reply to comment #34) > Actually it's a bug that couldn't possibly happen if portage didn't exist, > since it removes the files that got overwritten. =) So what's the solution to this problem? The GUI is broken and the system system is unusable except from the command line.
(In reply to comment #35) > (In reply to comment #34) > > Actually it's a bug that couldn't possibly happen if portage didn't exist, > > since it removes the files that got overwritten. =) > So what's the solution to this problem? The GUI is broken and the system > system is unusable except from the command line. Actually the problem I mentioned doesn't appear to be the one you're having, since you've never been on modular until it hit stable. You're having the mysterious problem of files not getting installed that I'm guessing is either a bad portage or filesystem bug. Josh mentioned a solution in comment #29.
(In reply to comment #36) > Josh mentioned a solution in comment #29. and if you will look at comment #30 you will see that, that did NOT work!
This was following an 'emerge -e xorg-x11', correct? I'm confused as to what is dragging xdriinfo in. 'emerge -ep xorg-x11 | grep xdriinfo' gives no output on my system.
(In reply to comment #38) > This was following an 'emerge -e xorg-x11', correct? Yes, here is what happens on my system: [ebuild N ] x11-apps/xdriinfo-1.0.1 USE="-debug" >I'm confused as to what is dragging xdriinfo in. You're confused ... I'm so lost, being confused would be a step up.
Created attachment 91018 [details] emerge -ep xorg-x11
You should set some VIDEO_CARDS to avoid all that extra baggage. Attach 'emerge -etpv xorg-x11' before you do, though.
Created attachment 91088 [details] emerge -etpv xorg-x11
The xdriinfo problem should be fixed now. 'emerge -e xorg-x11' should fix everything.
../Xm/XmStrDefs.h:1373: warning: array '_XmStrings' assumed to have one element ../Xm/XmStrDefs22.h:311: warning: array '_XmStrings22' assumed to have one element ../Xm/Xm.h:107: warning: array '_XmSDEFAULT_FONT' assumed to have one element ../Xm/Xm.h:108: warning: array '_XmSDEFAULT_BACKGROUND' assumed to have one element {standard input}: Assembler messages: {standard input}:72: Warning: size of "operation" is already 1; not changing to 4 make[3]: *** [XmStrDefs.lo] Error 1 !!! ERROR: x11-libs/openmotif-2.2.3-r9 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile openmotif-2.2.3-r9.ebuild, line 84: Called die
Try emerging with USE="-motif". You can use 'emerge --skipfirst' to skip this package for now, or do the full 'USE="-motif" emerge -e xorg-x11' if you must.
greet.c:50:37: X11/extensions/Xinerama.h: No such file or directory Login.c:65:37: X11/extensions/Xinerama.h: No such file or directory Login.c: In function `Initialize': . [snip] . make[2]: *** [greet.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Login.lo] Error 1 !!! ERROR: x11-apps/xdm-1.0.5 failed.
That's x11-proto/xineramaproto, and a bug in the ebuild. I just fixed it in CVS.
i686-pc-linux-gnu-gcc: /usr/lib/libXinerama.so: No such file or directory make[2]: *** [libXdmGreet.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/xdm-1.0.5/work/xdm-1.0.5/greeter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xdm-1.0.5/work/xdm-1.0.5' make: *** [all] Error 2 !!! ERROR: x11-apps/xdm-1.0.5 failed.
Fixed in CVS. That's libXinerama if you want to emerge and continue.
While Emerging x11-base/xorg-server-1.0.2-r7 to / It aborted because it could not write to: /usr/share/X11/xkb/compiled (which is linked to -> /var/lib/xkb) I found that /var/lib/xkb indeed, did not exist, so I created it and resumed the emerge ... success at last! :o) x11-base/xorg-x11 7.0-r1 has been successfully emerged