Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69329 - gaim-1.3.1 fails to merge when collision-protect is in FEATURES
Summary: gaim-1.3.1 fails to merge when collision-protect is in FEATURES
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
: 120461 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-28 16:31 UTC by Bernd Waibel
Modified: 2006-07-06 11:41 UTC (History)
4 users (show)

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


Attachments
fixes problem with perllocalpod by means of perl-app.eclass (gaim.patch,6.35 KB, patch)
2006-04-05 13:50 UTC, Klaus Zimmermann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Waibel 2004-10-28 16:31:00 UTC
the gaim 1.0.2 package fails to merge with the following error:

>>> extracting gaim-1.0.2
* checking 450 files for package collisions
existing file /usr/lib/perl5/5.8.4/i686-linux-thread-multi/perllocal.pod is not owned by this package
* spend 0.764866113663 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 net-im/gaim-1.0.2 NOT merged

No package files given... Grabbing a set.

This only happens when the collision-protect flag is set in FEATURES.

By querying the owner(s) of this files using equery I got the following results on my machine:

gwenhwyfar root # equery belongs /usr/lib/perl5/5.8.4/i686-linux-thread-multi/perllocal.pod 
Searching for file '/usr/lib/perl5/5.8.4/i686-linux-thread-multi/perllocal.pod' in *...
media-gfx/imagemagick-6.0.7.1 (/usr/lib/perl5/5.8.4/i686-linux-thread-multi/perllocal.pod)
media-gfx/freewrl-1.06 (/usr/lib/perl5/5.8.4/i686-linux-thread-multi/perllocal.pod)

Also this states only 2 apps, i think that i've seen this file before, isn't it in the core perl packages too?

Since the last portage update (2.0.51 resp. 2.0.51-r2) i have this kind of error quite some times.

I assume that the ebuild should add some entries to the perllocal.pod file rather than simply overwriting it, but this will not caught with the gaim ebuild (hope that's right, i'm not a perl guru at all).


Reproducible: Always
Steps to Reproduce:
1. put collision-protect in your FEATURES
2. emerge gaim
3.

Actual Results:  
the ebuild stopped when trying to merge the already built binary package (I have
buildpkg in FEATURES) with the above message.

Expected Results:  
gaim should have been merged.

gwenhwyfar root # emerge info
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
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.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -fforce-addr -mfpmath=sse -mmmx -msse -msse2 -Wall"
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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -fforce-addr -mfpmath=sse -mmmx -msse -msse2 -Wall"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache collision-protect distlocks fixpackages
nostrip sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib accessibility acl acpi aim alsa apache2 arts audiofile avi bcmath
berkdb bindist bitmap-fonts bonobo bzlib caps cdr cjk crypt cscope ctype cups
curl curlwrappers dbase dbx dedicated dga directfb divx4linux doc dvd dvdr emacs
encode esd ethereal evo exif f77 fam fbcon fdftk fftw flac flash foomaticdb ftp
gb gd gdbm ggi gif ginac gmp gnome gnutls gpm gps gstreamer gtk gtk2 gtkhtml
guile iconv icq imagemagick imlib jabber jack java jikes joystick jpeg junit kde
ladcca lcms libgda libwww mad maildir mcal mhash mikmod mime ming mmap mmx mng
motif mozilla mpeg mpi msn mysql nas ncurses netcdf nls nptl odbc offensive
oggvorbis openal opengl oscar oss pam pcntl pcre pdflib perl pic pie plotutils
png posix ppds python qhull qt quicktime readline samba sdl session shared slang
slp soap sockets speex spell sqlite sse ssl svg svga sysvipc tcltk tcpd tetex
theora threads tiff truetype unicode usb videos wddx wmf wxwindows x86 xine xml2
xmlrpc xmms xosd xpm xprint xsl xv xvid yahoo zlib"
Comment 1 Bernd Waibel 2004-11-13 05:32:16 UTC
This seems be solved with the gaim-1.0.2-r1 release, at least I don't get any
errors when merging that release.

As rel. 1.0.2-r1 is stable this bug can imo be closed.
Comment 2 Don Seiler (RETIRED) gentoo-dev 2004-11-29 12:16:57 UTC
OK ... *shrug*
Comment 3 Jonathan Smith (RETIRED) gentoo-dev 2005-07-18 06:57:06 UTC
issue reappears sometime between 1.0.2-r1 and 1.3.1 (the current stable on x86)

* checking 461 files for package collisions
existing file /usr/lib/perl5/5.8.6/i686-linux/perllocal.pod is not owned by this
package
* spent 1.32738208771 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 net-im/gaim-1.3.1 NOT merged


Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r5 i686)
=================================================================
System uname: 2.6.12-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.10
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.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect digest distlocks maketest sandbox
sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi aim alsa apache2 avi bash-completion berkdb bitmap-fonts
cdr crypt cups curl dba divx4linux dvd eds emboss encode esd fam flac fluxbox
font-server foomaticdb ftp gd gd-external gdbm gif gnome gpm gstreamer gtk gtk2
icq idea imap imlib java jikes jpeg libg++ libwww mad mikmod mmx motif mozilla
mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl pam pdflib perl php pic
png posix python qt quicktime readline ruby samba sdl spell sse sse2 ssl tcltk
tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vim vorbis xine
xml2 xmms xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 4 Jerome Potts 2005-08-23 20:54:51 UTC
Same here:

:* checking 461 files for package collisions
:existing file /usr/lib/perl5/5.8.6/i686-linux/perllocal.pod is not owned by
this package
:* spent 0.0926089286804 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 net-im/gaim-1.3.1 NOT merged

(i also have "collision-protect" in FEATURES)

and:

:equery belongs /usr/lib/perl5/5.8.6/i686-linux/perllocal.pod  [ Searching for
file(s) /usr/lib/perl5/5.8.6/i686-linux/perllocal.pod in *... ]
...equery then exits without an answer. Same with belongs -I, -Io, -Ip, -o, -p
...and i don't have either of the two owning pkgs found by the original reporter.

And i can't locate any file with a similar timestamp in /usr/portage or
/var/tmp/portage, and below those. The only explanation i can think of would be
of a pkg which i re-emerged later, with different USE flags or smthing. Also,
notice that the path to my perllocal.pod is a bit different from the one of the
original bug reporter. According to slocate, this is the only perllocal.pod on
this system here.
Comment 5 Don Seiler (RETIRED) gentoo-dev 2005-08-24 11:47:21 UTC
I added collision-protect to my FEATURES and was able to emerge gaim-1.5.0
without incident.  But then have a look at this:

# equery belongs /usr/lib/perl5/5.8.6/i686-linux/perllocal.pod
[ Searching for file(s) /usr/lib/perl5/5.8.6/i686-linux/perllocal.pod in *... ]
dev-util/subversion-1.1.3 (/usr/lib/perl5/5.8.6/i686-linux/perllocal.pod)
games-arcade/frozen-bubble-1.0.0-r5 (/usr/lib/perl5/5.8.6/i686-linux/perllocal.pod)
net-im/sendxmpp-0.0.6 (/usr/lib/perl5/5.8.6/i686-linux/perllocal.pod)
net-im/gaim-1.5.0 (/usr/lib/perl5/5.8.6/i686-linux/perllocal.pod)
net-irc/irssi-0.8.9-r1 (/usr/lib/perl5/5.8.6/i686-linux/perllocal.pod)

Not sure why I'm not getting the collision warning anymore.
Comment 6 Olivier Crete (RETIRED) gentoo-dev 2005-12-18 10:48:18 UTC
is this still reproduceable with 1.5 ?
Comment 7 Joshua Jackson (RETIRED) gentoo-dev 2006-01-14 23:08:26 UTC
Tester its still reproducable on 1.5. As shown below.

Completed installing gaim-1.5.0 into /var/tmp/portage/gaim-1.5.0/image/

* checking 459 files for package collisions
existing file /usr/lib/perl5/5.8.6/i686-linux/perllocal.pod is not owned by this package
* spent 0.0158519744873 seconds checking for file collisions
Comment 8 Olivier Crete (RETIRED) gentoo-dev 2006-01-15 07:24:18 UTC
perl herd: what's the current status with collision-protect and perllocal.pod ?
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-01-26 14:06:17 UTC
*** Bug 120461 has been marked as a duplicate of this bug. ***
Comment 10 Michael Cummings (RETIRED) gentoo-dev 2006-01-26 14:12:10 UTC
The current status is that you should be doing like everyone else ;) There's been a function in the perl-modules eclass for about a year now to help with the perllocal.pod.
Comment 11 Bernd Waibel 2006-02-02 09:07:34 UTC
I can confirm that it is still broken with gaim-1.5.0

>>> Completed installing gaim-1.5.0 into /mnt/tmp/portage/gaim-1.5.0/image/

* checking 419 files for package collisions
existing file /usr/lib/perl5/5.8.7/i686-linux-thread-multi/perllocal.pod is not owned by this package
* spent 0.163514852524 seconds checking for file collisions

package net-im/gaim-1.5.0 NOT merged
Comment 12 Klaus Zimmermann 2006-04-05 13:50:25 UTC
Created attachment 84018 [details, diff]
fixes problem with perllocalpod by means of perl-app.eclass

The attached patch against the net-im/gaim folder imho should fix the issue for 1.5.0, 2.0.0_beta2-r2, and 2.0.0_beta3 with the fixlocalpod function from the perl-app eclass.
Comment 13 Bernd Waibel 2006-04-23 14:14:30 UTC
I added the patch for the 1.5.0 release to an overlay and it solved the issue. Gaim installed without error. The perllocal.pod file is not owned by any package.
Didn't try for the 2.* releases.
Comment 14 Kathryn Kulick (RETIRED) gentoo-dev 2006-07-06 11:41:49 UTC
I've added the eclass to inherit on both ebuilds. This should fix the problem. Closing bug, please re-open if there are still issues.