Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33835 - subversion ebuild installs cvs2svn but not its dependency rcsparse
Summary: subversion ebuild installs cvs2svn but not its dependency rcsparse
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-19 08:38 UTC by David Ripton
Modified: 2004-08-19 12:59 UTC (History)
0 users

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 David Ripton 2003-11-19 08:38:11 UTC
The masked dev-util/subversion 0.32.1 ebuild installs the cvs2svn tool in /usr/bin

Right at the top of cvs2svn (a Python script) is "import rcsparse"  The rcsparse Python module is not installed.  So cvs2svn does not work.

rcsparse is actually part of ViewCVS, but a copy of it is included in the subversion tarball for convenience

I tried "emerge viewcvs" to get rcsparse installed.  This almost worked -- it copied the files into /usr/lib/python2.2/site-packages even though I'm using Python 2.3.  (Known problem with many ebuilds.)  So I manually copied the files over to /usr/lib/python2.3/site-packages.

I'm not sure of the best way to fix this.  The subversion ebuild could install rcsparse into /usr/lib/pythonX.Y/site-packages.  (Though if it trampled a newer version from ViewCVS, that would be bad.)  Or ViewCVS could be made a dependency of subversion.  (Though always dragging in ViewCVS and its dependencies would be non-ideal, if only a few people need cvs2svn.  Maybe this should only be done based on a USE flag?  But I can't think of an appropriate one.)  Or rcsparse could be split out into its own ebuild.
Comment 1 Jaco Kroon 2004-02-07 01:35:29 UTC
Well, how difficult is it to intruduce a new USE flag such as "viewcvs"?
Comment 2 David Ripton 2004-05-24 07:34:41 UTC
You can close this, now that cvs2svn is no longer part of Subversion.
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2004-08-19 12:59:35 UTC
The problem solved itself