Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72193 - sys-apps/lm-sensors-2.8.7 cannot be emerged with FEATURES="collision-protect"
Summary: sys-apps/lm-sensors-2.8.7 cannot be emerged with FEATURES="collision-protect"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-22 23:30 UTC by Jakub Moc (RETIRED)
Modified: 2004-11-30 10:47 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 Jakub Moc (RETIRED) gentoo-dev 2004-11-22 23:30:28 UTC
lm-sensors ebuild overwrites a file belonging to another package.

Reproducible: Always
Steps to Reproduce:
1. set FEATURES="collision-protect" in /etc/make.conf
2. emerge lm-sensors


Actual Results:  
>>> Completed installing into /var/tmp/portage/lm-sensors-2.8.7/image/

* checking 146 files for package collisions
existing file /usr/include/linux/i2c-dev.h is not owned by this package
* spend 0.0780439376831 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 sys-apps/lm-sensors-2.8.7 NOT merged


Expected Results:  
Successful install

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-gentoo-r4-udev-preempt i686)
=================================================================
System uname: 2.6.9-gentoo-r4-udev-preempt i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.6.6
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /opt/glftpd/etc /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /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 makecheck
sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/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="3dnow acpi apache2 apm arts avi berkdb bitmap-fonts crypt cups encode f77
fbcon firebird foomaticdb fortran gd gd-external gdbm gif gpm gtk2 imap imlib
innodb java jpeg junit libg++ libwww mad maildir mikmod mmx motif mpeg mysql
ncurses nls nptl oggvorbis opengl oss pam pdflib perl png pnp postgres python
quicktime readline sasl sdl slang snmp socks5 spell sse ssl svga tcpd tiff
truetype unicode x86 xml xml2 xmms xv zlib"
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-11-28 08:32:16 UTC
Stick the following on line 117 of the 2.8.7 ebuild and tell me if that helps:

[ -e ${ROOT}/usr/include/linux/i2c-dev.h -a -e ${D}/usr/include/linux/i2c-dev.h ] && rm ${D}/usr/include/linux/i2c-dev.h
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2004-11-30 05:15:42 UTC
Well, I
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2004-11-30 05:15:42 UTC
Well, I´m afraid I cannot do that unless you tell me which packege the file /usr/include/linux/i2c-dev.h belongs to, so that I can re-emerge that package. I already have the file overwritten by lm-sensors, since I disabled collision-protect to be able to emerge this package. 
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2004-11-30 08:24:05 UTC
Should belong to linux-headers or linux26-headers depending on which you use.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2004-11-30 10:40:08 UTC
OK. Yes, that line fixed the problem. 
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2004-11-30 10:47:12 UTC
Ok, fixed in CVS. The change should reach the mirrors within an hour, please reopen this bug if you still have any issues. Thanks!