Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509756 - mate-base/mate-desktop-1.8.0 tries to overwrite files belonging to gnome-base/gnome-desktop-3.10.2
Summary: mate-base/mate-desktop-1.8.0 tries to overwrite files belonging to gnome-base...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-07 05:48 UTC by Philipp Psurek
Modified: 2015-07-06 07:17 UTC (History)
4 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 Philipp Psurek 2014-05-07 05:48:17 UTC
* Detected file collision(s):
/usr/share/help/${_lang_}/{fdl,gpl,lgpl,fdl}/index.docbook

where _lang_ is something I have in LINGUAS
Comment 1 Pacho Ramos gentoo-dev 2014-05-07 06:03:38 UTC
Looks like:
https://github.com/mate-desktop/mate-desktop/issues/68

In gnome-desktop:2 we have a "license-docs" USE flag pulling gnome-desktop:3 and pass --disable-desktop-docs in that slot

Other option could be to even add a "gnome" USE flag for this, this way:
1. If it's enabled we assume people wants gnome stuff and they can install gnome-desktop:3
2. If it's disabled we assume they don't want gnome at all and the docs would be installed by mate
Comment 2 Philipp Psurek 2014-05-07 06:54:19 UTC
Thank you for identifying the problem. It looks like it was never intended to install MATE (GNOME 2) besides GNOME 3 on the same system. In this case i’d like to suggest another option for a solution: lets generate another package for the desktop docs so both gnome-base/gnome-desktop and mate-base/mate-desktop depend on this new package and don’t interfere each other.
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-05-07 11:59:20 UTC
Thank you for reporting this.

+  07 May 2014; Tom Wijsman <TomWij@gentoo.org> +mate-desktop-1.8.0-r1.ebuild:
+  Revision bump; do not install desktop documentation, temporarily fix bug
+  #509756.

(In reply to Philipp Psurek from comment #2)
> lets generate another
> package for the desktop docs so both gnome-base/gnome-desktop and
> mate-base/mate-desktop depend on this new package and don’t interfere each
> other.

Sounds like an idea, if content is same; either that, or the other two options.
Comment 4 Joakim Tjernlund 2014-05-10 09:49:33 UTC
look like the recent mate-base/mate-desktop-1.8.1 lost this:
diff -u mate-desktop-1.8.0-r1.ebuild mate-desktop-1.8.1.ebuild
--- mate-desktop-1.8.0-r1.ebuild	2014-05-07 14:31:58.000000000 +0200
+++ mate-desktop-1.8.1.ebuild	2014-05-09 13:51:36.000000000 +0200
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mate-base/mate-desktop/mate-desktop-1.8.0-r1.ebuild,v 1.1 2014/05/07 12:31:58 tomwij Exp $
+# $Header: /var/cvsroot/gentoo-x86/mate-base/mate-desktop/mate-desktop-1.8.1.ebuild,v 1.1 2014/05/09 11:51:36 tomwij Exp $
 
 EAPI="5"
 
@@ -46,9 +46,7 @@
 
 src_configure() {
 	gnome2_src_configure \
-		--enable-mate-about \
 		--enable-mate-conf-import \
-		--disable-desktop-docs \
 		--with-gtk=2.0 \
 		$(use_with X x) \
 		$(use_enable startup-notification)

and naturally 1.8.1 gives me:
 * Messages for package mate-base/mate-desktop-1.8.1:

 * This package will overwrite one or more files that may belong to other
 * packages (see list below).
 * 
 * Detected file collision(s):
 * 
 * 	/usr/share/help/sv/lgpl/index.docbook
 * 	/usr/share/help/sv/gpl/index.docbook
 * 	/usr/share/help/sv/fdl/index.docbook
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * gnome-base/gnome-desktop-3.10.2:3::gentoo
 * 	/usr/share/help/sv/fdl/index.docbook
 * 	/usr/share/help/sv/gpl/index.docbook
 * 	/usr/share/help/sv/lgpl/index.docbook
 * 
 * Package 'mate-base/mate-desktop-1.8.1' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.
Comment 5 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-05-10 11:37:10 UTC
Thank you, I've copied the wrong one.

+  10 May 2014; Tom Wijsman <TomWij@gentoo.org> +mate-desktop-1.8.1-r1.ebuild,
+  -mate-desktop-1.8.0.ebuild, -mate-desktop-1.8.1.ebuild:
+  Bring over changes from the revision bump, remove old revisions; fixes bug
+  #509756, comment #4.
Comment 6 Matthias Maier gentoo-dev 2014-12-20 18:40:46 UTC
What is the current status of this bug?
Comment 7 Adam Feldman gentoo-dev 2015-07-06 07:17:15 UTC
The -r1s, edited by tomwij, remove the colliding files from mate-desktop.  I spoke with a user earlier today who did MATE and gnome at the same time, so I'm going to say that this is resolved. If this happens to be in error for some reason, feel free to reopen.