Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270070 - fast-stabilise net-p2p/ktorrent-2.2.8-r2 due to file collision of stable one
Summary: fast-stabilise net-p2p/ktorrent-2.2.8-r2 due to file collision of stable one
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks: 270945
  Show dependency tree
 
Reported: 2009-05-16 15:04 UTC by sharpshopter
Modified: 2009-06-01 16:28 UTC (History)
2 users (show)

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 sharpshopter 2009-05-16 15:04:56 UTC
kdelibs-3.5.10-r5 and ktorrent-2.2.8 both try to install /usr/kde/3.5/share/mimelnk/application/x-bittorrent.desktop

I already had a previous version of ktorrent-2.2.8 (v 1.4) installed with kdelibs-3.5.10-r5, but trying to emerge the current ktorrent-2.2.8 (v 1.8) triggers the collision.

The already installed ktorrent also has the xinerama use flag set, and this time I was trying to build without it, but I suspect that is not the issue.

Reproducible: Always

Steps to Reproduce:
1. emerge kdelibs-3.5.10-r5
2. emerge ktorrent-2.2.8
3.

Actual Results:  
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 *
 * Detected file collision(s):
 *
 *      /usr/kde/3.5/share/mimelnk/application/x-bittorrent.desktop
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * kde-base/kdelibs-3.5.10-r5
 *      /usr/kde/3.5/share/mimelnk/application/x-bittorrent.desktop
 *
 * Package 'net-p2p/ktorrent-2.2.8' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

>>> Failed to install net-p2p/ktorrent-2.2.8, Log file:

>>>  '/var/log/portage/net-p2p:ktorrent-2.2.8:20090516-140657.log'


Expected Results:  
ktorrent-2.2.8 should install without colliding with kdelibs-3.5.10

For convenience, I made a diff between the ebuild that I already have installed and the current one in portage:

--- /var/db/pkg/net-p2p/ktorrent-2.2.8/ktorrent-2.2.8.ebuild    2008-12-06 03:17:54.000000000 +1100
+++ /var/portage/net-p2p/ktorrent/ktorrent-2.2.8.ebuild 2009-05-14 23:36:46.000000000 +1000
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ktorrent-2.2.8.ebuild,v 1.4 2008/12/01 22:09:01 bluebird Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ktorrent-2.2.8.ebuild,v 1.8 2009/05/14 13:31:49 scarabeus Exp $
+
+EAPI="2"

 inherit kde

@@ -12,12 +14,12 @@
 LICENSE="GPL-2"

 SLOT="0"
-KEYWORDS="amd64 ppc ~ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="amd64 ppc ppc64 sparc x86 ~x86-fbsd"
 IUSE="avahi kdeenablefinal"

 DEPEND="dev-libs/gmp
        >=dev-libs/geoip-1.4.0-r1
-       avahi? ( >=net-dns/avahi-0.6.16-r1 )"
+       avahi? ( >=net-dns/avahi-0.6.16-r1[qt3] )"
 RDEPEND="${DEPEND}
        || ( =kde-base/kdebase-kioslaves-3.5* =kde-base/kdebase-3.5* )"

@@ -32,19 +34,6 @@
        IUSE="${IUSE} linguas_${X}"
 done

-pkg_setup() {
-       if use avahi && ! built_with_use net-dns/avahi qt3 ; then
-               echo
-               eerror "In order to use ktorrents zeroconf plugin you need to have"
-               eerror "net-dns/avahi emerged with \"qt3\" in your USE flag. Please add"
-               eerror "that flag, re-emerge avahi, and then emerge ktorrent again."
-               echo
-               die "net-dns/avahi not built with \"qt3\" support."
-       fi
-
-       kde_pkg_setup
-}
-
 src_unpack() {
        kde_src_unpack

@@ -58,11 +47,12 @@
        cd "${S}"
        # Fix automagic dependencies on avahi
        epatch "${FILESDIR}/${PN}-2.2.5-avahi-check.patch"
+       epatch "${FILESDIR}/${P}-lograce.patch"

        rm -f "${S}/configure"
 }

-src_compile(){
+src_configure(){
        local myconf="${myconf}
                $(use_with avahi)
                --enable-builtin-country-flags
@@ -71,5 +61,5 @@
                --enable-torrent-mimetype
                --disable-geoip"

-       kde_src_compile
+       kde_src_configure
 }


$ equery u kdelibs-3.5.10-r5
[ Searching for packages matching kdelibs-3.5.10-r5... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf              ]
[        : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for kde-base/kdelibs-3.5.10-r5 ]
 U I
 + + acl                 : Adds support for Access Control Lists
 + + alsa                : Adds support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
 - - arts                : Adds support for aRts: the KDE sound daemon
 + + avahi               : Add avahi/Zeroconf support
 - - bindist             : Flag to enable or disable options for prebuilt (GRP)  packages (eg. due to licensing issues)
 + + branding            : Enable Gentoo specific branding
 - - cups                : Add support for CUPS (Common Unix Printing System)
 - - debug               : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - doc                 : Adds extra documentation (API, Javadoc, etc)
 - - elibc_FreeBSD       : ELIBC setting for systems that use the FreeBSD C library
 + + fam                 : Enable FAM (File Alteration Monitor) support
 - - jpeg2k              : Support for JPEG 2000, a wavelet-based image compression format
 - - kdehiddenvisibility : Makes KDE symbols hidden by default, requires GCC 4.1 (experimental)
 - - kerberos            : Adds kerberos support
 + + kernel_linux        : KERNEL setting for systems using the Linux kernel
 - - legacyssl           : Support for some deprecated ciphers. Don't use this flag unless you really need it
 - - lua                 : Enable Lua scripting support
 - - openexr             : Support for the OpenEXR graphics file format
 + + spell               : Adds dictionary support
 + + tiff                : Adds support for the TIFF image format
 - - utempter            : Records user logins. Useful on multi-user systems

$ equery u ktorrent-2.2.8
[ Searching for packages matching ktorrent-2.2.8... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf              ]
[        : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for net-p2p/ktorrent-2.2.8 ]
 U I
 - - arts            : Adds support for aRts: the KDE sound daemon
 + + avahi           : Add avahi/Zeroconf support
 - - debug           : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - elibc_FreeBSD   : ELIBC setting for systems that use the FreeBSD C library
 - - kdeenablefinal  : EXPERIMENTAL: KDE ebuilds will use the enable-final flag, yielding compilation speedups at the cost of heavy mem usage and potentially causing problems. We strongly discourage setting this
 - - linguas_ar      : Arabic locale
 - - linguas_bg      : Bulgarian locale
 - - linguas_br      : Breton locale
 - - linguas_ca      : Catalan locale
 - - linguas_cs      : Czech locale
 - - linguas_cy      : Welsh locale
 - - linguas_da      : Danish locale
 - - linguas_de      : German locale
 - - linguas_el      : Greek locale
 - - linguas_en_GB   : English locale for Britain
 - - linguas_es      : Spanish locale
 - - linguas_et      : Estonian locale
 - - linguas_fa      : Persian locale
 - - linguas_fr      : French locale
 - - linguas_gl      : Galician locale
 - - linguas_hu      : Hungarian locale
 - - linguas_it      : Italian locale
 - - linguas_ja      : Japanese locale
 - - linguas_ka      : Georgian locale
 - - linguas_lt      : Lithuanian locale
 - - linguas_ms      : Malay locale
 - - linguas_nb      : Norwegian (Bokmal) locale
 - - linguas_nds     : Low Saxon locale
 - - linguas_nl      : Dutch locale
 - - linguas_pa      : Punjabi locale for India
 - - linguas_pl      : Polish locale
 - - linguas_pt      : Portuguese locale
 - - linguas_pt_BR   : Portuguese locale for Brasil
 - - linguas_ru      : Russian locale
 - - linguas_rw      : Kinyarwanda locale
 - - linguas_sk      : Slovak locale
 - - linguas_sr      : Serbian locale
 - - linguas_sr@Latn : Serbian (latin) locale
 - - linguas_sv      : Swedish locale
 - - linguas_tr      : Turkish locale
 - - linguas_uk      : Ukrainian locale
 - - linguas_zh_CN   : Chinese locale for Peoples Republic of China
 - - linguas_zh_TW   : Chinese locale for Taiwan
 - + xinerama        : Add support for the xinerama X11 extension, which allows you to stretch your display across multiple monitors
Comment 1 michel 2009-05-17 10:03:26 UTC
confirmed. the same here
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2009-05-17 12:04:27 UTC
Ok bumped to the 2.2.8-r1. So feel free to stabilise it, since stable package broke :(.

As a fancy sidenote, this commit is done via satelite connection sitting under one nice big pine tree and eating discusting soup :D
Now i have to find out what to do next3 hours when i dont have baterry...
Comment 3 George Kargiotakis 2009-05-19 11:21:44 UTC
(In reply to comment #2)
> Ok bumped to the 2.2.8-r1. So feel free to stabilise it, since stable package
> broke :(.
> 
> As a fancy sidenote, this commit is done via satelite connection sitting under
> one nice big pine tree and eating discusting soup :D
> Now i have to find out what to do next3 hours when i dont have baterry...
> 

I can confirm that ktorrent-2.2.8-r1 installs just fine. I think it's more than ready to stabilize.
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2009-05-23 11:58:11 UTC
Hehe, i forgot to cc archies
target is:
KEYWORDS="amd64 ppc ppc64 sparc x86 ~x86-fbsd"
Comment 5 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2009-05-23 14:30:55 UTC
Please stabilize -r2 instead, i made a small cleanup and changed slot to :3.5 as i intend to do with all kde3 misc apps
Comment 6 Dawid Węgliński (RETIRED) gentoo-dev 2009-05-23 15:51:52 UTC
amd64 stable
Comment 7 Tiago Cunha (RETIRED) gentoo-dev 2009-05-24 12:01:09 UTC
sparc stable
Comment 8 Markus Meier gentoo-dev 2009-05-24 18:04:13 UTC
x86 stable
Comment 9 Mickaël Bucas 2009-05-25 06:44:22 UTC
I now get this error when running emerge -puNDv world :
[ebuild  N    ] kde-base/kdialog-3.5.9-r1  USE="arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild  N    ] kde-base/kdebase-kioslaves-3.5.9  USE="arts samba -debug -hal -kdeenablefinal -kdehiddenvisibility -ldap -openexr -xinerama" 39 kB
[ebuild  NS   ] net-p2p/ktorrent-2.2.8-r2 [2.2.8] USE="arts -avahi -debug -kdeenablefinal -xinerama" LINGUAS="fr -ar -bg -br -ca -cs -cy -da -de -el -en_GB -es -et -fa -gl -hu -it -ja -ka -lt -ms -nb -nds -nl -pa -pl -pt -pt_BR -ru -rw -sk -sr -sr@Latn -sv -tr -uk -zh_CN -zh_TW" 0 kB
[uninstall    ] net-p2p/ktorrent-2.2.8  USE="arts -avahi -debug -kdeenablefinal -xinerama" LINGUAS="fr -ar -bg -br -ca -cs -cy -da -de -el -en_GB -es -et -fa -gl -hu -it -ja -ka -lt -ms -nb -nds -nl -pa -pl -pt -pt_BR -ru -rw -sk -sr -sr@Latn -sv -tr -uk -zh_CN -zh_TW" 
[blocks b     ] <net-p2p/ktorrent-2.2.8-r2 ("<net-p2p/ktorrent-2.2.8-r2" is blocking net-p2p/ktorrent-2.2.8-r2)
[blocks B     ] kde-base/kdebase-kioslaves:3.5 ("kde-base/kdebase-kioslaves:3.5" is blocking kde-base/kdebase-3.5.9-r4)
[blocks B     ] kde-base/kdialog:3.5 ("kde-base/kdialog:3.5" is blocking kde-base/kdebase-3.5.9-r4)
[blocks B     ] =kde-base/kdebase-3.5* ("=kde-base/kdebase-3.5*" is blocking kde-base/kdebase-kioslaves-3.5.9, kde-base/kdialog-3.5.9-r1)

I think it's because I have monolithic ebuilds, where this package expects split ebuilds.
Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2009-05-25 14:33:14 UTC
(In reply to comment #9)
> I now get this error when running emerge -puNDv world :
> [ebuild  N    ] kde-base/kdialog-3.5.9-r1  USE="arts -debug -kdeenablefinal
> -kdehiddenvisibility -xinerama" 0 kB
> [ebuild  N    ] kde-base/kdebase-kioslaves-3.5.9  USE="arts samba -debug -hal
> -kdeenablefinal -kdehiddenvisibility -ldap -openexr -xinerama" 39 kB
> [ebuild  NS   ] net-p2p/ktorrent-2.2.8-r2 [2.2.8] USE="arts -avahi -debug
> -kdeenablefinal -xinerama" LINGUAS="fr -ar -bg -br -ca -cs -cy -da -de -el
> -en_GB -es -et -fa -gl -hu -it -ja -ka -lt -ms -nb -nds -nl -pa -pl -pt -pt_BR
> -ru -rw -sk -sr -sr@Latn -sv -tr -uk -zh_CN -zh_TW" 0 kB
> [uninstall    ] net-p2p/ktorrent-2.2.8  USE="arts -avahi -debug -kdeenablefinal
> -xinerama" LINGUAS="fr -ar -bg -br -ca -cs -cy -da -de -el -en_GB -es -et -fa
> -gl -hu -it -ja -ka -lt -ms -nb -nds -nl -pa -pl -pt -pt_BR -ru -rw -sk -sr
> -sr@Latn -sv -tr -uk -zh_CN -zh_TW" 
> [blocks b     ] <net-p2p/ktorrent-2.2.8-r2 ("<net-p2p/ktorrent-2.2.8-r2" is
> blocking net-p2p/ktorrent-2.2.8-r2)
> [blocks B     ] kde-base/kdebase-kioslaves:3.5
> ("kde-base/kdebase-kioslaves:3.5" is blocking kde-base/kdebase-3.5.9-r4)
> [blocks B     ] kde-base/kdialog:3.5 ("kde-base/kdialog:3.5" is blocking
> kde-base/kdebase-3.5.9-r4)
> [blocks B     ] =kde-base/kdebase-3.5* ("=kde-base/kdebase-3.5*" is blocking
> kde-base/kdebase-kioslaves-3.5.9, kde-base/kdialog-3.5.9-r1)
> 
> I think it's because I have monolithic ebuilds, where this package expects
> split ebuilds.
> 

It might be good idea to switch onto monos, really you will have to do it anyway.
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2009-05-25 14:33:55 UTC
aghr i express myself poorly.
Good idea to switch out of monos onto meta packages.
3.5.10 is no longer monolithic availible, same for kde4
Comment 12 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2009-05-25 14:35:23 UTC
@Mickaël Bucas 
See bug 271039
Comment 13 Brent Baude (RETIRED) gentoo-dev 2009-05-31 14:17:09 UTC
ppc64 done
Comment 14 nixnut (RETIRED) gentoo-dev 2009-06-01 16:28:30 UTC
ppc stable. closing since we're last