Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139001 - Emerge x11-misc/xkeyboard-config-0.8 requires manual user intervention
Summary: Emerge x11-misc/xkeyboard-config-0.8 requires manual user intervention
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Project-specific documentation (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo X packagers
URL: http://www.gentoo.org/proj/en/desktop...
Whiteboard:
Keywords: Inclusion
: 139342 139389 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-03 07:12 UTC by Walter Ray-Dulany
Modified: 2006-07-06 00:57 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Ray-Dulany 2006-07-03 07:12:56 UTC
Reproducible: Yes.
Following instruction in Migrating to Modular X howto, upgrading from xorg-x11-6.8.2-r7 to xorg-server-1.1.0-r1 and xorg-x11-7.1. During emerge of depended-upon package x11-misc/xkeyboard-config-0.8 I get the following error:
 * Directory /usr/lib/X11/xkb should be
 * manually deleted/renamed/relocated before installing!

!!! ERROR: x11-misc/xkeyboard-config-0.8 failed.
Call stack:
  ebuild.sh, line 1555:   Called dyn_setup
  ebuild.sh, line 668:   Called pkg_setup
  xkeyboard-config-0.8.ebuild, line 24:   Called die

!!! Manually remove /usr/lib/X11/xkb
!!! If you need support, post the topmost build error, and the call stack if relevant.

Note: This (as far as I can tell) is not the xml-parser error of days of yore. 

Doing as the error message suggested (removing /usr/lib/X11/xkb and re-emerging) worked, but (oddly or un-oddly) the build order then included some new files before the just terminated xkeyboard-config package (I haven't tried to reproduce this portion, i.e., the new emerge order). By worked, I mean that xkeyboard-config emerged. After posting this on the forums, another user using an X86 machine reported the same error (http://forums.gentoo.org/viewtopic.php?p=3421502).

My emerge --info:

Portage 2.1-r1 (default-linux/sparc/sparc64/2006.0/2.4, gcc-20050130, glibc-2.3.6-r3, 2.4.32-sparc-r4 sparc64)
=================================================================
System uname: 2.4.32-sparc-r4 sparc64 sun4u
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.26-r1
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc"
CHOST="sparc-unknown-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="-O2 -mcpu=ultrasparc"
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"
MAKEOPTS="-j1"
PKGDIR="/usr/portage"
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="sparc X apache2 arts avi berkdb bitmap-fonts bzip2 cdr cli crypt cups dba dlloader dri eds encode esd ethereal fbcon foomaticdb fortran gcc64 gd gdbm gif gpm gstreamer gtk gtk2 imlib isdnlog jpeg libwww mad mikmod motif mpeg mysql ncurses nls ogg opengl oss pam pcre pdf pdflib perl php png pppd python qt qt3 readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_ati video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

View the forum post listed above to see the emerge --info of the other guy, or if you don't wish to do that email me and I'll post his too.
Comment 1 Chris Mortimore 2006-07-03 07:17:04 UTC
Happened to me also on both my desktop and laptop.
Comment 2 Joshua Baergen (RETIRED) gentoo-dev 2006-07-03 09:41:38 UTC
Yeah, this should probably be added to the docs.  Thanks for pointing it out.
Comment 3 Guy Rouillier 2006-07-04 18:28:03 UTC
This happened to me also on AMD64.  Following directions "Directory /usr/lib64/X11/xkb should be manually deleted/renamed/relocated before installing!" allowed the installation to finish.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-07-05 10:40:38 UTC
*** Bug 139342 has been marked as a duplicate of this bug. ***
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2006-07-05 18:37:44 UTC
Added to the doc, thanks!
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-07-06 00:57:40 UTC
*** Bug 139389 has been marked as a duplicate of this bug. ***