Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579808 - [kde overlay] dev-util/kdevelop-5.0.9999 file collisions with kde-apps/kapptemplate-15.12.3
Summary: [kde overlay] dev-util/kdevelop-5.0.9999 file collisions with kde-apps/kappte...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-13 07:03 UTC by J. Roeleveld
Modified: 2016-05-03 08:19 UTC (History)
1 user (show)

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


Attachments
Modified ebuild (kdevelop-5.0.9999.ebuild,2.39 KB, text/plain)
2016-04-13 07:03 UTC, J. Roeleveld
Details

Note You need to log in before you can comment on or make changes to this bug.
Description J. Roeleveld 2016-04-13 07:03:18 UTC
Created attachment 430300 [details]
Modified ebuild

During emerge I got the following:

 * Messages for package dev-util/kdevelop-5.0.9999:

 * 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). See
 * http://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how to
 * solve the problem. And once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 *      /usr/share/kdevappwizard/templates/qt5-qml2.tar.bz2
 *      /usr/share/kdevappwizard/templates/cmake_qt5guiapp.tar.bz2
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * kde-apps/kapptemplate-15.12.3:5::gentoo
 *      /usr/share/kdevappwizard/templates/cmake_qt5guiapp.tar.bz2
 *      /usr/share/kdevappwizard/templates/qt5-qml2.tar.bz2
 * 
 * Package 'dev-util/kdevelop-5.0.9999' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.


I resolved this by adding the following to the src_install part of the ebuild:

        rm "${ED}"usr/share/kdevappwizard/templates/cmake_qt5guiapp.tar.bz2 || die
        rm "${ED}"usr/share/kdevappwizard/templates/qt5-qml2.tar.bz2 || die

(See attached ebuild)
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2016-04-13 10:35:18 UTC
Could you please try with =kde-apps/kapptemplate-15.12.3-r1
Comment 2 J. Roeleveld 2016-04-13 11:08:49 UTC
How do I prevent emerge from resynching the git-tree from kdevelop?
This morning was the first time in days I managed to get a working build.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2016-04-14 16:01:16 UTC
(In reply to J. Roeleveld from comment #2)
> How do I prevent emerge from resynching the git-tree from kdevelop?
> This morning was the first time in days I managed to get a working build.

I believe the collisions are fixed in the new revision of kde-apps/kapptemplate, so no need to rebuild kdevelop.
Comment 4 Andreas Sturmlechner gentoo-dev 2016-04-18 21:42:44 UTC
After an upstream build fix I was able to finish build of kdevelop-5.0.9999 without conflicts with kapptemplate-15.12.3-r1. I do think however that the conflict removal should happen in kapptemplate rather than kdevelop.
Comment 5 Johannes Huber (RETIRED) gentoo-dev 2016-05-03 08:19:10 UTC
Fixed by upstream in kde-apps/kapptemplate-16.04.0. Which is available in kde overlay. Conflict should be solved by raising blocker.

https://gitweb.gentoo.org/proj/kde.git/commit/?id=5057416b4657c988a4def75279816c453df5d957