Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169678 - app-misc/mc-4.6.1-r3 tries to overwrite /usr/lib/charset.alias
Summary: app-misc/mc-4.6.1-r3 tries to overwrite /usr/lib/charset.alias
Status: VERIFIED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: x86 FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-06 21:17 UTC by Sergey Belyashov
Modified: 2009-08-05 11:35 UTC (History)
0 users

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


Attachments
files/mc-4.6.1-charset-locale-aliases.patch (mc-4.6.1-charset-locale-aliases.patch,1.49 KB, patch)
2007-03-06 21:18 UTC, Sergey Belyashov
Details | Diff
app-misc/mc-4.6.1-r4.ebuild (mc-4.6.1-r4.ebuild,3.86 KB, text/plain)
2007-03-06 21:20 UTC, Sergey Belyashov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Belyashov 2007-03-06 21:17:56 UTC
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
Comment 1 Sergey Belyashov 2007-03-06 21:18:40 UTC
Created attachment 112331 [details, diff]
files/mc-4.6.1-charset-locale-aliases.patch
Comment 2 Sergey Belyashov 2007-03-06 21:20:00 UTC
Created attachment 112332 [details]
app-misc/mc-4.6.1-r4.ebuild

ebuild which used mc-4.6.1-charset-locale-aliases.patch
I remove fix for locale.alias because it already moved to my patch
Comment 3 Javier Villavicencio (RETIRED) gentoo-dev 2007-03-12 11:41:23 UTC
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!