I use collision-protect feature in my /etc/make.conf so when I try to emerge
app-misc/mc-4.6.1-r3 emerging aborted with message about collision of
'/usr/lib/charset.alias' (owned by libiconv).
I found that same problems has other users but under another platforms (osx).
Then I check ebuild I found fix for same problem with locale.alias.
I write patch which fixes two these problems (patched only intl/Makefile.in)
Reproducible: Always
Steps to Reproduce:
USE="ncurses nls slang unicode -7zip -X -samba" emerge mc
Actual Results:
existing file /usr/lib/charset.alias is not owned by this package
* 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 app-misc/mc-4.6.1-r3 NOT merged
Searching all installed packages for file collisions...
Press Ctrl-C to Stop
* dev-libs/libiconv-1.11:
'/usr/lib/charset.alias'
# emerge --info
Portage 2.1.2.1 (default-bsd/fbsd/6.2/x86, gcc-4.1.1, freebsd-lib-6.2-r0,
6.2-RELEASE i386)
=================================================================
System uname: 6.2-RELEASE i386 i386
Gentoo Base System release 1.13.0_alpha12
Timestamp of tree: Mon, 05 Mar 2007 20:50:01 +0000
ccache version 2.4 [enabled]
dev-lang/python: 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
sys-devel/autoconf: 2.61
sys-devel/automake: 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.23b
virtual/os-headers: 6.2
ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
AUTOCLEAN="yes"
CBUILD="i486-gentoo-freebsd6.2"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-gentoo-freebsd6.2"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer
parallel-fetch sfperms strict"
GENTOO_MIRRORS="ftp://192.168.14.25/os/Unix/Linux/Gentoo/mirror"
LINGUAS="en ru"
MAKEOPTS="-j2 -s"
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
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.14.25/gentoo-portage"
USE="berkdb bzip2 cli crypt cups dri gdbm iconv java5 libg++ midi ncurses nls
oss pam pcre perl ppds python readline reflection session slang spl ssl tcpd
unicode utf8 x86-fbsd xorg zlib" ALSA_PCM_PLUGINS="shm" ELIBC="FreeBSD"
INPUT_DEVICES="keyboard mouse" KERNEL="FreeBSD" LINGUAS="en ru" USERLAND="BSD"
VIDEO_CARDS="vmware"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
Fixed in cvs. Just a last advice for Sergey, don't attach full ebuilds for
patches, just attach a patch to the current ebuild. It's easier to read the
specific changes that way ;+).
And thanks!