Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163926 - dev-lang/boo and x11-libs/gtksourceview have file collision
Summary: dev-lang/boo and x11-libs/gtksourceview have file collision
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-26 15:56 UTC by Zak Kipling
Modified: 2007-06-27 20:38 UTC (History)
1 user (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 Zak Kipling 2007-01-26 15:56:10 UTC
I have the latest x11-libs/gtksourceview installed (1.8.1), and dev-lang/boo (0.7.6.2237) fails to merge due to a file collision:

# emerge dev-lang/boo

[...]

* checking 36 files for package collisions
existing file /usr/share/gtksourceview-1.0/language-specs/boo.lang is not owned by this package
* spent 0.00652194023132 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 dev-lang/boo-0.7.6.2237 NOT merged

[...]

# equery b /usr/share/gtksourceview-1.0/language-specs/boo.lang
[ Searching for file(s) /usr/share/gtksourceview-1.0/language-specs/boo.lang in *... ]
x11-libs/gtksourceview-1.8.1 (/usr/share/gtksourceview-1.0/language-specs/boo.lang)


Reproducible: Always

Steps to Reproduce:
1. emerge dev-lang/boo with x11-libs/gtksourceview already installed and FEATURES=collision-protect

Actual Results:  
Collision on /usr/share/gtksourceview-1.0/language-specs/boo.lang

Expected Results:  
Successful emerge.
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2007-01-27 10:29:26 UTC
makes more sense to remove the one from boo itself and use the one distributed with gtksourceview. Does upstream have an opinion about this?
Comment 2 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-01-29 17:13:57 UTC
It actually makes more sense to me to remove the one from gtksourceview.  It seems unlikely to me that someone would want boo syntax highlighting without actually wanting boo...

Vim handles this by having a zillion language syntax packages, which seems like a poor solution.  logrotate handles this by having packages intall their own logrotate files based on a logrotate use flag.

What does dotnet think?
Comment 3 Peter Johanson (RETIRED) gentoo-dev 2007-01-30 03:12:15 UTC
I was actually thinking the opposite. If gtksourceview is now providing this, then boo can stop doing it. Daniel, by that same token, who would want the {perl,c,ada}.lang files if they're not going to use those? If we wanted to break everything out like that, that's one thing, but just for boo doesn't seem to make sense. We (boo) were only including the boo.lang file because it wasn't in upstream.

I can easily provide a rev bump of the latest boo that doesn't include thet .lang file, if folks like that.
Comment 4 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-01-30 16:25:45 UTC
In that case, go ahead and remove it from boo.  I didn't realise we'd added it in the first place.  I'm all for whatever is easiest to maintain.
Comment 5 Peter Johanson (RETIRED) gentoo-dev 2007-01-30 17:51:35 UTC
It looks like it got added to gtksourceview upstream right before the 1.7.1 release: http://svn.gnome.org/viewcvs/gtksourceview/trunk/ChangeLog?rev=1088&view=markup

I'll try to get to removing it from the boo ebuild(s) this week some time.
Comment 6 Jurek Bartuszek (RETIRED) gentoo-dev 2007-06-27 20:38:58 UTC
Fixed in CVS, thanks