Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239521 - file collision between kde-base/kdelibs-4.1.2 and app-editors/kile-2.0.2
Summary: file collision between kde-base/kdelibs-4.1.2 and app-editors/kile-2.0.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High major with 5 votes (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 241190 242026 247032 (view as bug list)
Depends on:
Blocks: kdeprefix
  Show dependency tree
 
Reported: 2008-10-04 10:08 UTC by Salim
Modified: 2009-08-07 11:35 UTC (History)
32 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 Salim 2008-10-04 10:08:01 UTC
kdelibs-4.1.2 fail to install, as 
/usr/share/apps/katepart/syntax/bibtex.xml
and
/usr/share/apps/katepart/syntax/latex.xml
are owned by kile.


Reproducible: Always

Steps to Reproduce:
1. emerge kdelibs-4.1.2 while kile is already installed
2.
3.

Actual Results:  
 * Detected file collision(s):
 *
 *      /usr/share/apps/katepart/syntax/bibtex.xml
 *      /usr/share/apps/katepart/syntax/latex.xml
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * app-editors/kile-2.0.2
 *      /usr/share/apps/katepart/syntax/bibtex.xml
 *      /usr/share/apps/katepart/syntax/latex.xml
 *
 * Package 'kde-base/kdelibs-4.1.2' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

>>> Failed to install kde-base/kdelibs-4.1.2, Log file:


Expected Results:  
kdelibs should have installed fine

$ portageq owners / /usr/share/apps/katepart/syntax/latex.xml
app-editors/kile-2.0.2
        /usr/share/apps/katepart/syntax/latex.xml
kde-base/kdelibs-4.1.2
        /usr/share/apps/katepart/syntax/latex.xml

$ portageq owners / /usr/share/apps/katepart/syntax/bibtex.xml
app-editors/kile-2.0.2
        /usr/share/apps/katepart/syntax/bibtex.xml
kde-base/kdelibs-4.1.2
        /usr/share/apps/katepart/syntax/bibtex.xml
Comment 1 Frank Krömmelbein 2008-10-04 10:17:22 UTC
Same here with X86.
Comment 2 Mark Nowiasz 2008-10-05 10:32:41 UTC
(In reply to comment #1)
> Same here with X86.

Also happens when trying to reinstall kile after installing kde 4.1.2 (but the other way around, of course)

BTW, I haven't used kdeprefix when installing kde 4.1.2 , so the dependency on bug 239356 might not be necessary.

Oh, and I don't consider this bug to be minor - right now I'm unable to use kile which I did use quite often before kde 4.1.2.



Comment 3 Salim 2008-10-05 12:04:17 UTC
(In reply to comment #2)
 
> Oh, and I don't consider this bug to be minor - right now I'm unable to use
> kile which I did use quite often before kde 4.1.2.
I worked around this by setting those both files to COLLISION_IGNORE in make.conf, especially as they seem to differ only slightly. As this seems an easy workaround, I decided to choose minor. 
Change it to normal, if that is more appropriate.

Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2008-10-06 05:06:02 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Same here with X86.
> 
> Also happens when trying to reinstall kile after installing kde 4.1.2 (but the
> other way around, of course)
> 
> BTW, I haven't used kdeprefix when installing kde 4.1.2 , so the dependency on
> bug 239356 might not be necessary.

This is a kdeprefix bug - it's caused by the install into /usr determined by -kdeprefix.

(In reply to comment #3)
No, collision-ignore is not the solution. We must prevent the same files from being installed by the 2 packages - we need either to have the packages block each other or to prevent one from installing some of the files.
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2008-10-11 21:30:25 UTC
*** Bug 241190 has been marked as a duplicate of this bug. ***
Comment 6 Markus Rathgeb 2008-10-12 12:25:38 UTC
I created a ebuild so that kile do not install that files.
It is working but I do not know if this workaround is the best way.
Comment 7 Timo Gurr (RETIRED) gentoo-dev 2008-10-14 15:10:01 UTC
*** Bug 242026 has been marked as a duplicate of this bug. ***
Comment 8 Pablo Montepagano 2008-11-13 19:40:38 UTC
Emerging KDE with the kdeprefix USE flag is a good workaround for this?

I´m on x86 and have the same package collision. I didn´t use kdeprefix.
Comment 9 Jan Kundrát (RETIRED) gentoo-dev 2008-11-13 22:14:00 UTC
(In reply to comment #8)
> Emerging KDE with the kdeprefix USE flag is a good workaround for this?
> 
> I´m on x86 and have the same package collision. I didn´t use kdeprefix.

Never ever toggle this flag -- if you want to change it, you have to completely remove all of KDE4, change it and install the packages again.
Comment 10 Timo Gurr (RETIRED) gentoo-dev 2008-11-17 09:37:51 UTC
*** Bug 247032 has been marked as a duplicate of this bug. ***
Comment 11 Franz Müller 2008-11-21 17:56:20 UTC
I observe the same using kdelibs-4.1.3-r1 running on x86
Comment 12 Martin Filo 2008-12-01 14:47:20 UTC
I found discussion about this bug in kile developers forum
http://sourceforge.net/forum/forum.php?thread_id=2543563&forum_id=292014
latex.xml and bibtex.xml files from kile are either more up to date or the same.
Comment 13 K. Posern 2009-01-15 15:43:06 UTC
Same here with kde-base/kdelibs-4.1.4
Comment 14 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-01-24 18:45:42 UTC
Let's bump the severity a bit, this was quite a problem for my tinderbox too.
It's not nice at all to have colliding packages.
Comment 15 Adrian Nievergelt 2009-01-29 17:57:17 UTC
i confirm the same behaviour in kdelibs-4.2.0
Comment 16 zlm 2009-02-02 22:34:59 UTC
Also happens here - kdelibs-4.2.0-r1.
Comment 17 Cyp 2009-03-01 21:28:37 UTC
And with kdelibs-4.2.0-r3. (Will the next future comment say that kdelibs-4.2.0-r4 doesn't work either?)
Comment 18 Tomáš Chvátal (RETIRED) gentoo-dev 2009-03-01 21:32:01 UTC
Nope, next will be 4.2.1
We know about it we are just preparing global solution and it takes a time, lot of time
Comment 19 R Bar-On 2009-04-15 12:01:39 UTC
This is still present with kile 2.0.3 and kdelibs 4.2.2-r1.
Comment 20 R Bar-On 2009-04-15 12:54:47 UTC
(In reply to comment #12)
> I found discussion about this bug in kile developers forum
> http://sourceforge.net/forum/forum.php?thread_id=2543563&forum_id=292014
> latex.xml and bibtex.xml files from kile are either more up to date or the
> same.
> 

wrong.  In this case, kdelibs files are newer.
Comment 21 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2009-04-15 18:21:11 UTC
fixed, thanks
Comment 22 Cyp 2009-04-17 07:08:59 UTC
(In reply to comment #21)
> fixed, thanks
> 

Fixed in which version?

 * Detected file collision(s):
 *
 *      /usr/share/apps/katepart/syntax/bibtex.xml
 *      /usr/share/apps/katepart/syntax/latex.xml
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * app-editors/kile-2.0.3-r1
 *      /usr/share/apps/katepart/syntax/bibtex.xml
 *      /usr/share/apps/katepart/syntax/latex.xml
 *
 * Package 'kde-base/kdelibs-4.2.2-r1' NOT merged due to file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.

>>> Failed to install kde-base/kdelibs-4.2.2-r1, Log file:
Comment 23 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2009-04-17 10:02:27 UTC
(In reply to comment #22) 
> Fixed in which version?

remove kile, install kdelibs-4.2.X and then install kile-2.0.3-r1