www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/12/13:17:04

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=xVcSVSy4dTrrmy0gAL03zBEmklUJ3
XeljCOJbGKeIcilYfZ0j0gzIP8XOZQcjncqNfumYed5EivP8CsbNzvsu1NbyWn2d
YiOvjodX4ycbT++Mzeo2MFoKgGA7IhE7BESrz5OKSbeov2qpX3hyxkKz9dXwOOCl
FV+HdqH4ks96FU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=SaTDYhVmk1ckaCG2x9xdu9JnsVk=; b=gVb
wf2sdV73sPbhPs5TjKX7IwR7LIWwJcK9KkSG6123ag9x5QiS17rdE7oY4GtmT2lG
i2JTszaLiKVdbtnQ1XaWUbN/TVphgbBqtpX1S1gdcFxDXCLx8VnGj4dM4jMYVmQf
V5W2iQa1uzxp8SVpIZOqJk/IU7lnlwRIcvP5Egl8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-qc0-f174.google.com
X-Received: by 10.140.237.200 with SMTP id i191mr34006731qhc.86.1426180587927; Thu, 12 Mar 2015 10:16:27 -0700 (PDT)
MIME-Version: 1.0
From: David Eisner <deisner AT gmail DOT com>
Date: Thu, 12 Mar 2015 13:16:07 -0400
Message-ID: <CAC4i1z0s8uUF43EJLgX9jrS-5tzkj=cQ5q2W7vqJMKgsSNOifw@mail.gmail.com>
Subject: Broken git difftool, perhaps related to recent Perl changes
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

[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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019