cvs2svn-2.1.1 fails multiple tests but in the end still installs its files. If the tests are run and something goes wrong I'd expect the build to stop, not to proceed silently. PASS: run-tests.py 142: add a file on a branch using newer CVS EXCEPTION: Failure: Repository not created: '/var/tmp/portage/dev-util/cvs2svn-2.1.1/work/cvs2svn-2.1.1/cvs2svn-tmp/main--options=cvs2svn-git.options-svnrepos' Traceback (most recent call last): File "/var/tmp/portage/dev-util/cvs2svn-2.1.1/work/cvs2svn-2.1.1/svntest/main.py", line 1074, in run rc = apply(self.pred.run, (), kw) File "/var/tmp/portage/dev-util/cvs2svn-2.1.1/work/cvs2svn-2.1.1/svntest/testcase.py", line 123, in run return self.func() File "run-tests.py", line 3217, in main_git conv = ensure_conversion('main', options_file='cvs2svn-git.options') File "run-tests.py", line 723, in ensure_conversion args, options_file, symbol_hints_file, dumpfile, File "run-tests.py", line 573, in __init__ % os.path.join(os.getcwd(), self.repos) Failure: Repository not created: '/var/tmp/portage/dev-util/cvs2svn-2.1.1/work/cvs2svn-2.1.1/cvs2svn-tmp/main--options=cvs2svn-git.options-svnrepos' XFAIL: run-tests.py 143: test output in git-fast-import format PASS: run-tests.py 144: a symbol with the incorrect format PASS: run-tests.py 145: ignore a symbol with the incorrect format PASS: run-tests.py 146: handle various --eol-style options...variant LF PASS: run-tests.py 147: handle various --eol-style options...variant CR PASS: run-tests.py 148: handle various --eol-style options...variant CRLF PASS: run-tests.py 149: handle various --eol-style option...variant native PASS: run-tests.py 150: handle a file with no revisions (issue #80) >>> Install cvs2svn-2.1.1 into /var/tmp/portage/dev-util/cvs2svn-2.1.1/image/ category dev-util Tests failing for me are: 83, 122, 125, and 143. Please let me know if more information is needed. Furthermore it tries to install non-existing files: creating /var/tmp/portage/dev-util/cvs2svn-2.1.1/image/usr/bin copying build/scripts-2.5/cvs2svn -> /var/tmp/portage/dev-util/cvs2svn-2.1.1/image/usr/bin changing mode of /var/tmp/portage/dev-util/cvs2svn-2.1.1/image/usr/bin/cvs2svn to 755 running install_egg_info Writing /var/tmp/portage/dev-util/cvs2svn-2.1.1/image/usr/lib64/python2.5/site-packages/cvs2svn-2.1.1-py2.5.egg-info install: cannot stat `profile-repos.py': No such file or directory install: cannot stat `show-db.py': No such file or directory install: cannot stat `verify-cvs2svn.py': No such file or directory >>> Completed installing cvs2svn-2.1.1 into /var/tmp/portage/dev-util/cvs2svn-2.1.1/image/
I honestly haven't touched or used this package in over two years. I just bump it when people ask and make the requested commits. If you use it, you're more then welcome to fix it however this bug is going to be pretty low on my priority list for a while.
Created attachment 173344 [details] cvs2svn-2.2.0.ebuild ebuild doesn't install non-existing files anymore (they have been moved to contrib-subfolder upstream), but some tests still fail. I don't know why :-( Can anybody help with making the tests work? And cvs2svn is still installed, even though tests fail. But look at line 33 of the ebuild. It says: python run-tests.py || die "tests failed" I can't help it, but run-tests.py seems to always return success, even if it test failed.
Sven's ebuild just installed properly on my system. Please version-bump. Thanks.
(In reply to comment #3) > Sven's ebuild just installed properly on my system. Please version-bump. > Thanks. > Hans, do you want to take care of that since you filed the bug?
Ok, I'll have a look at it when I next have time to work on Gentoo, likely this coming weekend.
I've added cvs2svn 2.2.0 to CVS, but fixing or analyzing the test suite seems to require more python skills than I have time to learn right now. Leaving this open in case someone else can provide a fix for it.
The test suite wasn't running with python >=2.5 which I fixed. The tests marked with XFAIL are something that upstream has marked as supposed to fail. This bug should now be in order.