Broken git difftool, perhaps related to recent Perl changes
David Eisner
deisner@gmail.com
Thu Mar 12 18:04:00 GMT 2015
[I'm using 32-bit Cygwin (1.7.35) on a Win7 64-bit system.]
I now get the following error when I run 'git difftool':
$ git difftool
Can't locate Error.pm in @INC (@INC contains:
/usr/lib/perl5/site_perl/5.14
/usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int
/usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int
/usr/lib/perl5/vendor_perl/5.14
/usr/lib/perl5/5.14/i686-cygwin-threads-64int /usr/lib/perl5/5.14 .)
at /usr/libexec/git-core/git-difftool line 17.
BEGIN failed--compilation aborted at /usr/libexec/git-core/git-difftool line 17.
This used to work. Maybe this is related to the recent Perl
distribution changes that Achim announced a few days ago. I
uninstalled and reinstalled git, but to no avail.
I do have perl-Error installed, but it looks like the module is only
installed in the 5.10 path:
$ which perl
/usr/bin/perl
$ cygcheck -f /usr/bin/perl
perl_base-5.14.4-3
$ cygcheck -l perl-Error
/usr/lib/perl5/vendor_perl/5.10/Error/Simple.pm
/usr/lib/perl5/vendor_perl/5.10/Error.pm
/usr/lib/perl5/vendor_perl/5.10/i686-cygwin/auto/Error/.packlist
/usr/share/doc/Cygwin/perl-Error.README
/usr/share/doc/perl/html/html3/site/lib/Error/Simple.html
/usr/share/doc/perl/html/html3/site/lib/Error.html
/usr/share/doc/perl-Error/ChangeLog
/usr/share/doc/perl-Error/README
/usr/share/man/man3/Error.3pm.gz
/usr/share/man/man3/Error.Simple.3pm.gz
And, in fact, I can get 'git difftool' to work if I modify the perl
include path:
$ PERL5LIB="/usr/lib/perl5/vendor_perl/5.10" git difftool
Viewing (1/1): 'parse_mentor.py'
Launch 'diff_merge' [Y/n]:
Is this a perl-Error packaging issue, or is my perl setup broken?
Thanks.
-David
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list