Bug 3047 - xorg installs two copies of xkbcomp binaries
Summary: xorg installs two copies of xkbcomp binaries
Status: RESOLVED NOTOURBUG
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xkbcomp (show other bugs)
Version: 6.8.2
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-16 07:21 UTC by Petteri Räty
Modified: 2006-03-05 01:52 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Petteri Räty 2005-04-16 07:21:14 UTC
I use Gentoo and after installing there are two different xkbcomp binaries.

betelgeuse@risto bin $ md5sum /usr/bin/xkbcomp
6fd5be9f76f717f2f3b54246ab5f880b  /usr/bin/xkbcomp
betelgeuse@risto bin $ md5sum /usr/lib/X11/xkb/xkbcomp
b0208d47499b95cf46241adac20f874c  /usr/lib/X11/xkb/xkbcomp

In Gentoo /usr/lib/X11/xkb is under configuration file protection. This means
that the user has to manually merge changes to files in that directory. There is
a bug in one of the tools people use to merge these files which causes xkbcomp
to become  0 size. See:
http://bugs.gentoo.org/show_bug.cgi?id=87764

People have corrected this error by symlinking the binary in /usr/lib/X11/xkb to
the one in /usr/bin/. I've had no problems using xkbcomp like this. I don't know
what the difference between these two files is, but I suggest that the one in
/usr/lib/X11/xkb would be made a symbolink link. This would make file easier for
us Gentoo users and free little disk space. Even if the merge tool would work
correctly with binary files, users are sometimes confused what to do with new
binary files.
Comment 1 Alan Coopersmith 2005-10-09 12:34:52 UTC
When built from X.Org sources, the exact same xkbcomp binary is installed to
both locations - if gentoo is giving you different binaries, then it would
seem to be a gentoo bug.

(I'd close as NOTOURBUG, but the general point of it being confusing to install
 duplicate copies of the same binary stands - I don't know why that is done.)
Comment 2 Petteri Räty 2005-10-09 13:43:05 UTC
betelgeuse@pena /mnt/checkouts/overlays/java/dev-java/japitools $ md5sum
/usr/bin/xkbcomp
50db2a13f90a08e16928d7a028287e88  /usr/bin/xkbcomp
betelgeuse@pena /mnt/checkouts/overlays/java/dev-java/japitools $ md5sum
/usr/lib/X11/xkb/xkbcomp
50db2a13f90a08e16928d7a028287e88  /usr/lib/X11/xkb/xkbcomp

Well with the version I now have installed they are the same so nothing wrong on
the Gentoo side any more.
Comment 3 Daniel Stone 2006-03-05 20:52:38 UTC
packaging issue


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.