Summary: | gaim-1.3.1 fails to merge when collision-protect is in FEATURES | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bernd Waibel <waebbl> |
Component: | Current packages | Assignee: | Gentoo Net-im project <net-im> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | perl, smithj, tsunam, Werner.Peter |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | fixes problem with perllocalpod by means of perl-app.eclass |
Description
Bernd Waibel
2004-10-28 16:31:00 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. OK ... *shrug* 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 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. 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. is this still reproduceable with 1.5 ? 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 perl herd: what's the current status with collision-protect and perllocal.pod ? *** Bug 120461 has been marked as a duplicate of this bug. *** 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. 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
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.
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. 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. |