Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 152830

Summary: media-fonts/encodings-1.0.0 fails during upgrade to modular X
Product: Gentoo Linux Reporter: Amit Kotlovski <krallkrall>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Amit Kotlovski 2006-10-25 18:11:38 UTC
migrating from the monolithic X.org to modular X, I unmerged the old one, and emerged the new one, only to find that the media-fonts/encodings-1.0.0 was blocked due to the file /usr/share/fonts/encodings/encodings.dir being owned by some other package. I tried `equery belongs` on it, but no other package was found.

I thought of temporarily removing it, but it contains references to many fonts, and I don't know what is it's use, so I thought I'd better follow the instructions and file this bug.

This is the last part of the emerge output, before it failed:
-----------------------
man:
* checking 53 files for package collisions
existing file /usr/share/fonts/encodings/encodings.dir is not owned by this package
* spent 0.00371313095093 seconds checking for file collisions
* This package is blocked because it wants to overwrite
* files belonging to other packages (see messages above).
* If you have no clue what this is all about report it
* as a bug for this package on http://bugs.gentoo.org
 
package media-fonts/encodings-1.0.0 NOT merged

# emerge --info
Portage 2.1.1-r1 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
Last Sync: Sun, 22 Oct 2006 22:20:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
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.16.1-r3
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -ftracer -pipe"
CHOST="x86_64-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/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer sandbox sfperms strict userfetch"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="he_IL.UTF-8"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirror.hamakor.org.il/gentoo-portage"
USE="amd64 X aac alsa apache2 arts avi berkdb bidi bitmap-fonts cdda cddb cdio cdr cli cpudetection cracklib crypt crypto cups directfb dlloader dri dts dvd dvdr elibc_glibc emboss encode esd ffmpeg firefox font-server foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 hal imlib input_devices_keyboard input_devices_mouse isdnlog jpeg kde kernel_linux lzw lzw-tiff mbrola mmext mp3 mpeg ncurses network nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl pam pcre perl png pppd python qt qt3 qt4 quicktime readline reflection rss sdl session spell spl ssl stream tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU v4l video_cards_fbdev video_cards_nvidia video_cards_vesa vorbis wxwindows xmms xorg xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-26 00:29:54 UTC
We can't fix collisions with orphaned files, delete the file and move on, it will be regenerated anyway.
Comment 2 Amit Kotlovski 2006-10-26 02:43:57 UTC
Okay, thanks for the advice.
Can this comment, perhaps, be added to the error displayed during the `emerge`?