The problem is that Git.pm depends on the "new" method of File::Temp
introduced in 0.14.
perl 5.8.0 only has File::Temp 0.13 while 0.14 was included with 5.8.1
and later.
The breakage was introduced in this commit:
e41352b24e29eba43d00a3fd117befaef1d594bc
-tgc
mock-chroot> ./t9100-git-svn-basic.sh -i -v
Initialized empty Git repository in
/builddir/build/BUILD/git-1.6.0.1/t/trash directory/.git/
* define NO_SVN_TESTS to skip git-svn tests
* expecting success:
mkdir import &&
cd import &&
echo foo > foo &&
ln -s foo foo.link
mkdir -p dir/a/b/c/d/e &&
echo "deep dir" > dir/a/b/c/d/e/file &&
mkdir bar &&
echo "zzz" > bar/zzz &&
echo "#!/bin/sh" > exec.sh &&
chmod +x exec.sh &&
svn import -m "import for git-svn" . "$svnrepo" >/dev/null &&
cd .. &&
rm -rf import &&
git-svn init "$svnrepo"
Parentheses missing around "my" list at
/builddir/build/BUILD/git-1.6.0.1/t/../git-svn line 4387.
* ok 1: initialize git-svn
* expecting success: git-svn fetch
Parentheses missing around "my" list at
/builddir/build/BUILD/git-1.6.0.1/t/../git-svn line 4387.
Can't locate object method "new" via package "File::Temp" at
/builddir/build/BUILD/git-1.6.0.1/t/../perl/blib/lib/Git.pm line 1024.
* FAIL 2: import an SVN revision into git
git-svn fetch
mock-chroot> exit
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html