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

Bug 70513

Summary: Imagemagick blocked due to attempted overwrite
Product: Gentoo Linux Reporter: Ben Schwartz <bmschwar>
Component: [OLD] LibraryAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2004.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ben Schwartz 2004-11-08 15:20:33 UTC
attempting to emerge imagemagick, after compiling, says

making executable: /usr/lib/libMagick++.so.6.1.3
making executable: /usr/lib/libMagick.so.6.1.3
making executable: /usr/lib/libWand.so.6.1.3
making executable: /usr/lib/libltdl.so.3.1.0
>>> Completed installing into /var/tmp/portage/imagemagick-6.1.3.2/image/

* checking 582 files for package collisions
existing file /usr/lib/libltdl.la is not owned by this package
existing file /usr/lib/libltdl.a is not owned by this package
* spend 0.0642158985138 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

I don't know if this will help:

bash-2.05b# equery belongs libltdl.a
Searching for file 'libltdl.a' in *...
sys-devel/libtool-1.5.2-r5 (/usr/share/libtool/libltdl/acinclude.m4)
sys-devel/libtool-1.5.2-r5 (/usr/lib/libltdl.a)
sys-devel/libtool-1.5.2-r5 (/usr/share/libtool/libltdl/aclocal.m4)

and finally, 

bash-2.05b# emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
 2.6.9-ck2 i686)
=================================================================
System uname: 2.6.9-ck2 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -fomit-f
rame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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/share/config /usr/share/texmf/dvipdfm/config/ /usr/s
hare/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/t
ex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -fomit
-frame-pointer -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache collision-protect distlocks fixpackages sandbo
x sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/dist
ributions/gentoo/ rsync://darkstone.rdg.ac.uk/gentoo-portage ftp://ftp.heanet.ie
/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acl acpi aim alsa apache2 apm ared atlas audiofile avi berkdb
 bitmap-fonts bzlib cdparanoia cdr crypt cups dga directfb divx4linux dlloader d
vd edl emacs encode esd exif f77 fam fbcon fftw fla flac foomaticdb fortran ftp 
gb gd gdbm ggi gif ginac gmp gpm gtk gtk2 guile hardened hardenedphp icc icq ima
gemagick imap imlib jabber jack java jikes jpeg kerberos krb4 ladcca lcms ldap l
ibcaca libg++ libwww mad matroska mbox mikmod mime ming mmx mmx2 mng motif mpeg 
msn mysql ncurses network nls offensive oggvorbis opengl oscar oss pam pdflib pe
rl plotutils png pnp posix python quicktime readline sdl session slang speex spe
ll sse sse2 ssl svg svga svgalib sysvipc tcpd tetex theora tidy tiff truetype us
b videos wmf wxwindows x86 xine xinerama xml xml2 xmms xpm xv xvid yahoo zlib"
Comment 1 Ben Schwartz 2004-11-09 03:50:31 UTC
Removing "collision-protect" from portage FEATURES allows installation. If portage users are supposed to be able to activate collision protection, then it's still a bug. I don't know how the ebuild should be changed to play nice with collision protection, or how collision protection should be changed. FYI:

bash-2.05b# equery belongs libltdl.a
Searching for file 'libltdl.a' in *...
media-gfx/imagemagick-6.1.3.2 (/usr/lib/libltdl.a)
sys-devel/libtool-1.5.2-r5 (/usr/share/libtool/libltdl/acinclude.m4)
sys-devel/libtool-1.5.2-r5 (/usr/lib/libltdl.a)
sys-devel/libtool-1.5.2-r5 (/usr/share/libtool/libltdl/aclocal.m4)
Comment 2 Tobias Sager 2004-11-09 10:56:28 UTC
See also bug 69705.
Comment 3 Karol Wojtaszek (RETIRED) gentoo-dev 2004-11-10 11:07:03 UTC

*** This bug has been marked as a duplicate of 69705 ***