Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76932 - dev-perl_gtk2-fu-0.03 when emerged gives collision-protect error
Summary: dev-perl_gtk2-fu-0.03 when emerged gives collision-protect error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-06 11:48 UTC by Rumen Yotov
Modified: 2005-03-08 01:29 UTC (History)
2 users (show)

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


Attachments
revised gtk2-fu-0.05.ebuild (gtk2-fu-0.05.ebuild,509 bytes, text/plain)
2005-02-27 22:25 UTC, Yaakov S
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rumen Yotov 2005-01-06 11:48:26 UTC
Hi,
While emerging dev-perl/gtk2-fu-0.03 during qmerge phase it gives out collision-protect error with two other packages:
1.dev-util/subversion-1.1.2 *
2.media-gfx/imagemagick-6.1.6.0 *
in file:/usr/lib/perl5/5.8.6/i686-linux-thread-multi/perllocal.pod
Here's the actual log:
...SKIP...
>>> Done.
>>> extracting info
>>> root +sandbox(setup)
>>> extracting gtk2-fu-0.03
tar: current './' newer.
tar: 10 blocks + 0 bytes (total of 102400 bytes = 100.00k).
* checking 4 files for package collisions
existing file /usr/lib/perl5/5.8.6/i686-linux-thread-multi/perllocal.pod is not owned by this package
* spent 0.0405819416046 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-perl/gtk2-fu-0.03 NOT merged

No package files given... Grabbing a set.
...
 qpkg -f -v /usr/lib/perl5/5.8.6/i686-linux-thread-multi/perllocal.pod
dev-util/subversion-1.1.2 *
media-gfx/imagemagick-6.1.6.0 *
...END...
Thanks
Rumen

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Gentoo Base System version 1.6.8
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.10-grsec i686)
=================================================================
System uname: 2.6.10-grsec i686 AMD Athlon(tm) XP 2200+
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Aug 23 2004, 17:25:16)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/X11/xkb /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/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks gpg sandbox
sfperms"
GENTOO_MIRRORS="http://gentoo.itdnet.net/gentoo
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.oregonstate.edu
http://mirror.datapipe.net/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X X509 aalib acl acpi apache2 avi berkdb bitmap-fonts caps cdr
chroot clamav crypt cups curl directfb dvd dvdr encode esd evoffmpeg flac
foomaticdb fortran freetype gd gdbm gif gphoto2 gpm gstreamer gtk gtk2 guile
hardened hardenedphp imagemagick imap imlib ipv6 java javascript jpeg junit ldap
libwww mad maildir matroska mikmod mmx motif mozilla mpeg mpeg4 mysql ncurses
nls nptl nvidia oggvorbis opengl oss pam pdflib perl pic pie png postgres ppds
prelude python qt quicktime readline samba sdl skey slang snmp speex spell sse
ssl svg svga tcltk tcpd tetex theora tiff transcode truetype unicode usb xml
xml2 xmms xv xvid zlib linguas_bg linguas_en"
Comment 1 Yaakov S 2005-02-27 22:25:40 UTC
Created attachment 52288 [details]
revised gtk2-fu-0.05.ebuild

The problem is that these ebuilds don't inherit perl-module when they should,
and hence break all the Gentoo rules about perl-modules, including clobbering
perllocal.pod.	I don't use collision-protect, so emerge succeeds, but it's
still wrong.

This ebuild was based on 0.05, but it should work for any version currently
available.

FYI looks like this package belongs to dams.
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2005-03-07 07:03:11 UTC
Dams,

Please explain why perl packages are being added without properly inheriting perl-module eclass.
Comment 3 dams (RETIRED) gentoo-dev 2005-03-08 01:29:12 UTC
I have added gtk2-fu-0.05-r1.ebuild, which uses the perl-module eclass. Sorry for the inconvenience.