public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Error from Perl when running git add -p
@ 2015-03-11 23:36 James Darnley
  2015-03-12 11:12 ` Andrew DeFaria
  2015-03-12 13:32 ` Achim Gratz
  0 siblings, 2 replies; 5+ messages in thread
From: James Darnley @ 2015-03-11 23:36 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]

(Now I need a different message and to remember to uncheck encryption.)

Earlier today I ran setup.exe to update Cygwin and packages.  Now when I
try to use git add -p (one of its iterative modes) I get an error from
Perl (I assume) that it cannot find Error.pm in @INC

(I should really learn to not update things)

Here's the full output:
> $ git add -p
> 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/lib/perl5/vendor_perl/5.14/Git.pm line 103.
> BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.14/Git.pm line 103.
> Compilation failed in require at /usr/libexec/git-core/git-add--interactive line 7.
> BEGIN failed--compilation aborted at /usr/libexec/git-core/git-add--interactive line 7.

I have seen large changes regarding Perl on the cygwin-announce list so
perhaps it was split off into some other package.  I searched for error
in setup.exe and saw that I do have perl-Error installed.

Can anyone help me try to solve this?



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 603 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Error from Perl when running git add -p
  2015-03-11 23:36 Error from Perl when running git add -p James Darnley
@ 2015-03-12 11:12 ` Andrew DeFaria
  2015-03-12 13:32 ` Achim Gratz
  1 sibling, 0 replies; 5+ messages in thread
From: Andrew DeFaria @ 2015-03-12 11:12 UTC (permalink / raw)
  To: cygwin

On 3/11/2015 4:20 PM, James Darnley wrote:
> (Now I need a different message and to remember to uncheck encryption.)
>
> Earlier today I ran setup.exe to update Cygwin and packages.  Now when I
> try to use git add -p (one of its iterative modes) I get an error from
> Perl (I assume) that it cannot find Error.pm in @INC
>
> (I should really learn to not update things)
>
> Here's the full output:
>> $ git add -p
>> 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/lib/perl5/vendor_perl/5.14/Git.pm line 103.
>> BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.14/Git.pm line 103.
>> Compilation failed in require at /usr/libexec/git-core/git-add--interactive line 7.
>> BEGIN failed--compilation aborted at /usr/libexec/git-core/git-add--interactive line 7.
>
> I have seen large changes regarding Perl on the cygwin-announce list so
> perhaps it was split off into some other package.  I searched for error
> in setup.exe and saw that I do have perl-Error installed.
>
> Can anyone help me try to solve this?

Perl's debugger is your friend! With it you can "use <module>" then do 
"f <module>" and find exactly where Perl found it. For me it was:

$ perl -de 0 -MError

Loading DB routines from perl5db.pl version 1.33
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

main::(-e:1):   0
   DB<1> f Error
Choosing /usr/lib/perl5/vendor_perl/5.14/Error.pm matching `Error':
1       # Error.pm


-- 
Andrew DeFaria
http://defaria.com


--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Error from Perl when running git add -p
  2015-03-11 23:36 Error from Perl when running git add -p James Darnley
  2015-03-12 11:12 ` Andrew DeFaria
@ 2015-03-12 13:32 ` Achim Gratz
  1 sibling, 0 replies; 5+ messages in thread
From: Achim Gratz @ 2015-03-12 13:32 UTC (permalink / raw)
  To: cygwin

James Darnley writes:
> I have seen large changes regarding Perl on the cygwin-announce list so
> perhaps it was split off into some other package.  I searched for error
> in setup.exe and saw that I do have perl-Error installed.

I see that the perl-Error in Cygwin still gets installed for perl-5.10
on 32bit.  I'll see to update it soon.

> Can anyone help me try to solve this?

I think this particular module still works with the 5.14.4 perl, so
temporarily setting

PERL5LIB=/usr/lib/perl5/vendor_perl/5.10/i686-cygwin

should help.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs

--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Error from Perl when running git add -p
  2015-03-11 23:20 James Darnley
@ 2015-03-12 19:45 ` Bertrand Caplet
  0 siblings, 0 replies; 5+ messages in thread
From: Bertrand Caplet @ 2015-03-12 19:45 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]

Hey,
please don't send encrypted messages.
Or at least upload your key on servers.

Regards,
-- 
CHUNKZ.NET - script kiddie and computer technician
Bertrand Caplet, Flers (FR)
Feel free to send encrypted/signed messages
Key ID: FF395BD9
GPG FP: DE10 73FD 17EB 5544 A491 B385 1EDA 35DC FF39 5BD9


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Error from Perl when running git add -p
@ 2015-03-11 23:20 James Darnley
  2015-03-12 19:45 ` Bertrand Caplet
  0 siblings, 1 reply; 5+ messages in thread
From: James Darnley @ 2015-03-11 23:20 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: PGP/MIME version identification --]
[-- Type: application/pgp-encrypted, Size: 11 bytes --]

[-- Attachment #2: OpenPGP encrypted message --]
[-- Type: application/octet-stream, Size: 2480 bytes --]

-----BEGIN PGP MESSAGE-----
Version: GnuPG v2

hQEOAwrwmLWh23tcEAP/dhQ5sCyClHIJBiJdbwOKgyra6be0hwHjLYjA+k2x/q2T
qjhbE+DHPTtWAZX6ChMUfL9/0BRZpSVmaJTNB9IUOSYtlMSy/UBuJW2L76JMYZbF
r5gghwfYO6cTJyscB8wifXiKZ2LIbfLeEFMQtcYPrccEO/M+XLztWwkQu3WrBGcD
/2tj6U92Q4wjrTEqRBRTVbc6C9VfuG+iu2HTXWv5A2eFkk7KFDK24Vn2WH/1a7Pf
JUQoiwC0VVofeBpRSAWNgdejJzplepeXuoaigVcEECjaVMXsEd0BQuWyQcFM4Xgr
DNviQGcFIsO/eAEAVCJi3Qv/e/DhnmEDU8GZb459iF/7hQEMA8wm3RCZQSkIAQf+
KMZvzs4etTX47YzZGhcXBWaDdMf7cxlmHjkG4HM2FrJkTNWOxltJhxERF9TypEIr
tdQ818d6rl/gI8m5gcScLFjhJcICNhD8METTi3mkXtiIWjFBaoxH4ytwpP9fG7sg
Yc+275rS6JPsFfhhCYChjzMidrnvr1wwbTzbX+qs8/EaB8OS2CbhYDJfKwxLRXrM
m/0Rz9e88RpMzrQeqNfvqAAG8Pr1h5II+Qc5G1bYab+2v2IC8kJp6ISf+4ubcMV4
L0px3IZbce6nbGs8xFSkjW8uuOrZKEd+FE7/fomAKhsKmjhACIdMoWGkBcmguhTf
nqLHaFONkj1D+M/A0lkMZdLqAZHsf8/QVOm0/RK302yjzBGcMrvWUTOrgg2TP2wI
1aJgsohF1BRkNDL7UAyO8SuMahH6PqXJvLCmfa1iyB7wzb44nIeZpWHLM234uYYu
CAIlWGpIjoSf7Lt/icLbYXbv/Nd5ZkcH5fSr24BIwzSdDoMtpiEbJ9H6exgmYxY3
KZzsuMU1jDfTfT3snbPXR8IyAN3awEjryHVIL5qUYHevTHsIEeT+6wqydOsplzCX
i8wlpxI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BHcwtQZa9rf4SklbdDIvzg4onjey
UwaJxTQh5gubgJp6mbBbt2VQVBUZHSlljrqJQO4k2NO6f8AHN1oCrV7UvoDypqyc
iKPHMYZSUB+BlTI9HBiHZQxnLsJ8CP1L1J7CKLpj34BCFuzjEF8rpsxr/x/gVB5f
iHCCqGoboFUQQYjz4tWlhJzBpWPlZ8GePk8IkO2GdviUTDvqxjQdvJuLzXHHi3T6
lSIG8c/HIynkhfUCNW9PFmT2J8GrNRsF20gulkdmV0+d1fnCp/TRu+D06Vi4H2sp
F2csH3XbiT8KqwhzsWTp6f8VCv8tKbo9/fihcH/dUEiENW4b2I68bVdfvg==
=zvhB
-----END PGP MESSAGE-----

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-12 18:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-11 23:36 Error from Perl when running git add -p James Darnley
2015-03-12 11:12 ` Andrew DeFaria
2015-03-12 13:32 ` Achim Gratz
  -- strict thread matches above, loose matches on Subject: below --
2015-03-11 23:20 James Darnley
2015-03-12 19:45 ` Bertrand Caplet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).