Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112093 - /usr/lib/X11/xkb/xkbcomp confuses etc-update
Summary: /usr/lib/X11/xkb/xkbcomp confuses etc-update
Status: RESOLVED DUPLICATE of bug 17268
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-10 11:04 UTC by Alex Bozman
Modified: 2005-11-10 20:24 UTC (History)
0 users

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 Alex Bozman 2005-11-10 11:04:26 UTC
Did an overnight 'emerge --update --deep --newuse world'  Most output scrolled
off the terminal buffer so I can't see what modified xkbcomp.  At the end of the
emerge, the normal config file conflict warnings were displayed:

 * Processed 139 info files.
 * IMPORTANT: 56 config files in /etc need updating.
 * IMPORTANT: 1 config files in /usr/lib/X11/xkb need updating.

The one in /usr turns out to be a binary executable (ELF) file (xkbcomp).  This
obviously confused etc-update, which stated differences, but couldn't display
them.  Because I don't believe a binary file should be treated as a config file,
I don't really see the etc-update behavior as a problem (perhaps a symptom).  

What I believe is a bug is that the executable was treated as a config file at all.


Reproducible: Didn't try
Steps to Reproduce:
1.emerge --update --deep --newuse world
2.
3.
(Sorry, I don't know how to determine or document what ebuilds or versions were
affected by that).
Actual Results:  
A binary file was treated as a config file.

Expected Results:  
1) Automatically chosen the best version of xkbcomp to install, based on any
dependencies, system data, etc. available to the configuration process.
If user choices must be made (who knows - as a user, I can't read the binaries).
2) A use variable could control the decision.
3) A configuration file could control program behavior.


It us probably irrelevant, but I type in the dvorak layout (I never explicitly
used xkbcomp as part of setting that up - I just changed the KEYMAP in
/etc/rc.conf).


My emerge --info:
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r5 i686)
=================================================================
System uname: 2.6.13-gentoo-r5 i686 Intel(R) Celeron(R) CPU 2.66GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 crypt cups doc
eds emboss encode esd exif expat fam foomaticdb fortran gd gdbm gif glut gnome
gnutls gpm gstreamer gtk gtk2 hardened imlib ipv6 jpeg lcms libg++ libwww mad
mikmod mng motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam
pdflib perl plotutils png python qt quicktime readline samba sdl spell ssl tcpd
tetex tiff truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-11-10 20:24:08 UTC
Looks like a dupe to me.

*** This bug has been marked as a duplicate of 17268 ***