Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477096 - dev-vcs/bzr-git-0.6.8 with dev-vcs/git-1.8.3.2 - file collision in /usr/bin/git-remote-bzr
Summary: dev-vcs/bzr-git-0.6.8 with dev-vcs/git-1.8.3.2 - file collision in /usr/bin/g...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: bazaar+obsolete
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 480306
  Show dependency tree
 
Reported: 2013-07-16 18:22 UTC by Sławomir Nizio
Modified: 2013-10-15 19:20 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 Sławomir Nizio 2013-07-16 18:22:40 UTC
# emerge -a git::gentoo
[ebuild  N     ] dev-vcs/git-1.8.3.2  USE="blksha1 curl gpg iconv nls pcre perl python threads webdav -cgi -cvs -doc -emacs -gnome-keyring -gtk -highlight (-ppcsha1) -subversion {-test} -tk -xinetd" PYTHON_SINGLE_TARGET="python2_7 -python2_5 -python2_6" PYTHON_TARGETS="python2_7 -python2_5 -python2_6"

...

* Detected file collision(s):
 * 
 *      /usr/bin/git-remote-bzr
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * dev-vcs/bzr-git-0.6.8:0::gentoo
 *      /usr/bin/git-remote-bzr
Comment 1 Sławomir Nizio 2013-07-16 18:43:13 UTC
I don't know if it's a good idea but…

--- setup.py.orig       2013-07-16 18:34:17.074836269 +0000
+++ setup.py    2013-07-16 18:34:24.807892339 +0000
@@ -30,7 +30,7 @@
           package_dir={'bzrlib.plugins.git':'.'},
           packages=['bzrlib.plugins.git',
                     'bzrlib.plugins.git.tests'],
-          scripts=['bzr-receive-pack', 'bzr-upload-pack', 'git-remote-bzr'],
+          scripts=['bzr-receive-pack', 'bzr-upload-pack'],
           classifiers=[
               'Topic :: Software Development :: Version Control',
               'Environment :: Plugins',



and 'bzr branch <git repository>' and a few other quickly tested commands work.
Comment 2 Bernd Feige 2013-07-28 12:01:48 UTC
Same problem here. Also, when having only current dev-vcs/git installed (dev-vcs/bzr-git and its requirement dev-python/dulwich uninstalled because of the collision), I experienced several breakages in bzr such as:

bzr: ERROR: No module named dir
You may need to install this Python library separately.

and

> bzr help git

(from memory:)
No module help

and of course messages about dulwich not being installed, all within normal bzr-only operation and no .git tree in sight.
So it appears that the change suggested in #1 makes a lot of sense...
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2013-10-15 19:20:24 UTC
Fixed in git-1.8.4 by moving the file to the git-core directory.