Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70392 - gmime: file collision with sharutils in /usr/bin/uuencode and /usr/bin/uudecode
Summary: gmime: file collision with sharutils in /usr/bin/uuencode and /usr/bin/uudecode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 83994
  Show dependency tree
 
Reported: 2004-11-07 16:21 UTC by Alexander Skwar
Modified: 2005-05-22 07:57 UTC (History)
0 users

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


Attachments
gmime r3 ebuild (gmime-2.1.9-r3.ebuild,1.60 KB, text/plain)
2005-05-21 23:31 UTC, Alexander Skwar
Details
Diff to 2.1.9-r2.ebuild (gmime-2.1.9-r2_3.ebuild.diff,710 bytes, patch)
2005-05-21 23:32 UTC, Alexander Skwar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2004-11-07 16:21:28 UTC
After a "emerge gmime":

   usr/bin/uudecode
   usr/bin/uuencode
   usr/lib/libgmime-2.0.so.2.1.9
making executable: /usr/lib/libgmime-2.0.so.2.1.9
>>> Completed installing into /var/tmp/portage/gmime-2.1.9/image/

* checking 141 files for package collisions
existing file /usr/bin/uudecode is not owned by this package
existing file /usr/bin/uuencode is not owned by this package


[01:16:11 alexander@server:~] $ epm -qf /usr/bin/uuencode
sharutils-4.2.1-r10
[01:19:49 alexander@server:~] $ epm -qf /usr/bin/uudecode
sharutils-4.2.1-r10


Reproducible: Always
Steps to Reproduce:




[01:20:00 alexander@server:~] $ emerge info
Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041102-r0,
2.6.9-ck2.ASN.no-devfs.async_ppp i686)
=================================================================
System uname: 2.6.9-ck2.ASN.no-devfs.async_ppp i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.5
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r6
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect distlocks sandbox"
GENTOO_MIRRORS="http://localhost/~alexander/gentoo-files/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://194.117.158.29"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aalib acl alsa apache2 apm arts artswrappersuid async avi
bluetooth bzlib cairo calendar cddb cdparanoia cdr cdrom codecs crypt cscope
cups curl curlwrappers dga diet directfb divx4linux djbfft encode esd ethereal
evo exif fam fbcon fbdev ffmpeg fftw flac flash foomaticdb foreign-package
foreign-sysvinit ftp fwdzone gd gdbm gif gimp gimpprint gmail gnokii gnome
gphoto2 gpm gstreamer gtk gtk2 guile hal iconv imagemagick imap imlib immqt-bc
java javascript jpeg kde libedit libg++ libwww lzo lzw lzw-tiff mad maildir
mailwrapper matroska matrox mbox mime mmap mmx mng mozilla mpeg ncurses network
nls noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojdepend
nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces nptl nptlonly
offensive ofx oggvorbis opengl oss pam parse-clocks pcntl pcre pdflib perl pic
pie png posix ppds python qt quicktime quotes readline recode samba sasl sdl
shared slang sockets spell sse ssl svg sysvipc tcltk tcpd tetex theora tiff
truetype unicode usb videos vim-with-x wmf x86 xchattext xfs xml2 xmms xv xvid
zlib video_cards_matrox linguas_de"
Comment 1 Alexander Skwar 2004-11-07 16:22:00 UTC
Bad subject of the bug.
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2004-11-09 16:10:21 UTC
Good catch, Alexander, I didn't notice this. I was puzzled on how to solve this, but then I decided to do the same thing Mandrake did - install these two files with "gmime-" prefix.

2.1.9-r1 is now in CVS portage, should be hitting mirrors in few hours. Thanks!
Comment 3 Alexander Skwar 2005-05-21 08:39:44 UTC
Bug reopened.

making executable: /usr/lib/libgmime-2.0.so.2.1.9
>>> Completed installing gmime-2.1.9-r1 into /var/tmp/portage/gmime-2.1.9-r1/image/

* checking 141 files for package collisions
existing file /usr/bin/uudecode is not owned by this package
existing file /usr/bin/uuencode is not owned by this package
* spent 0.0920889377594 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 dev-libs/gmime-2.1.9-r1 NOT merged

No package files given... Grabbing a set.
[15:44:45 alexander@server:~/tmp] $ epm -qf /usr/lib/libgmime-2.0.so.2.1.9
file /usr/lib/libgmime-2.0.so.2.1.9: No such file or directory
[15:46:49 alexander@server:~/tmp] $ epm -qf /usr/bin/uudecode /usr/bin/uuencode
sharutils-4.2.1-r10
sharutils-4.2.1-r10
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2005-05-21 11:52:11 UTC
What package are those two files owned by?
Comment 5 Andrej Kacian (RETIRED) gentoo-dev 2005-05-21 12:06:01 UTC
Ok, I really don't know how did this happen, maybe portage changed behavior in
some way, but now (2.1.9-r2), it should be fixed. Thanks for reporting again!
Comment 6 Alexander Skwar 2005-05-21 23:15:44 UTC
Uhm? 

Still broken:

making executable: /usr/lib/libgmime-2.0.so.2.1.9
>>> Completed installing gmime-2.1.9-r2 into /var/tmp/portage/gmime-2.1.9-r2/image/

* checking 141 files for package collisions
existing file /usr/bin/uudecode is not owned by this package
existing file /usr/bin/uuencode is not owned by this package


That's with 2.1.9-r2.

uu{en,de}code is from sharutils.
Comment 7 Alexander Skwar 2005-05-21 23:31:39 UTC
Created attachment 59516 [details]
gmime r3 ebuild

In this ebuild, I copied over the solution found in the .14 ebuild. This now
works - no more any collisions.

I'm not TOO sure, if it's correct, though. Don't know how "make install" is
actually called. Please verify.
Comment 8 Alexander Skwar 2005-05-21 23:32:44 UTC
Created attachment 59517 [details, diff]
Diff to 2.1.9-r2.ebuild

That's the diff to the previous -r2 ebuild. Applying it will result in an
ebuild just like the one from attachment 59516 [details]
Comment 9 Andrej Kacian (RETIRED) gentoo-dev 2005-05-22 07:57:43 UTC
Ok, what I didn't realize was that portage checks for file collision _before_
pkg_preinst() is called. Accidentally, I have turned collision-protect feature
off last night, because of one package or another, thus -r2 went just fine - the
files got renamed properly and installed all right.

Anyway, -r3, based on your patch is now in portage. Thanks.