Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79740 - dev-util/catalyst-1.1.3: build fails with FEATURES=collision-protect
Summary: dev-util/catalyst-1.1.3: build fails with FEATURES=collision-protect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-27 08:38 UTC by Sascha Silbe
Modified: 2005-05-06 08:17 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Silbe 2005-01-27 08:38:19 UTC
Building dev-util/catalyst-1.1.3 fails with FEATURES=collision-protect because it tries to overwrite files that were previously generated at run-time by the Python interpreter.


Reproducible: Always
Steps to Reproduce:
1. emerge catalyst

Actual Results:  
>>> Install catalyst-1.1.3 into /var/tmp/portage/catalyst-1.1.3/image/ category dev-util
man:
prepallstrip:
strip: strip --strip-unneeded
strip: strip --strip-unneeded
>>> Completed installing catalyst-1.1.3 into /var/tmp/portage/catalyst-1.1.3/image/

* checking 121 files for package collisions
existing file /usr/lib/catalyst/modules/builder.pyc is not owned by this package
existing file /usr/lib/catalyst/modules/catalyst_support.pyc is not owned by this package
* spent 0.10423207283 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-util/catalyst-1.1.3 NOT merged



Expected Results:  
Compile the Python modules in pkg_postinst() like sys-apps/portage-2.0.51-r15 does it.


Gentoo Base System version 1.4.16
Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.9-caravan-1 i686)
=================================================================
System uname: 2.6.9-caravan-1 i686 mobile AMD Athlon(tm) XP2500+
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 20 2004, 14:40:08)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.4_p6, 1.6.3, 1.9.4, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r3
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
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/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/afs/C /etc/afs/afsws /etc/afs/modload /etc/gconf /etc/make.globals /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks fixpackages maketest sandbox severe sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/share/infra/work/portage-local--main--1.0"
SYNC="rsync://hybrid.sascha.silbe.org/gentoo-portage"
USE="x86 3dnow X acl acpi afs alsa avi berkdb bitmap-fonts ccache cdparanoia cdr crypt cups doc dvd encode f77 fam flac font-server foomaticdb fortran gatos gdbm gif gps gtk gtk2 gtkhtml guile hbci imagemagick imap imlib ipv6 jpeg jpeg2k krb4 lcms libg++ libwww mad maildir makecheck mbox mikmod mmx monitor mpeg nas ncurses nls oggvorbis opengl pam pcmcia pdflib png postgres python qt qtmt quicktime readline samba sdl skey socks5 spell sse ssl tetex tiff truetype truetype-fonts type1-fonts unicode userlocales xml xml2 xosd xv zlib video_cards_radeon input_devices_synaptics linguas_en,de"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-01-27 09:52:52 UTC
Ack!  Sorry about that.

I'll fix that in the next release.  For now, either remove the .pyc files from your /usr/lib/catalyst or turn off collision-protect
Comment 2 Sascha Silbe 2005-01-27 14:24:58 UTC
OK, thx!
Comment 3 Eric Edgar (RETIRED) gentoo-dev 2005-05-06 08:17:00 UTC
This ebuild is no longer in the tree and hasn't been for some time.