unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* git-credential-netrc: Can't locate Git.pm
@ 2018-07-30 13:35 Pierre Neidhardt
  2018-09-17 16:38 ` Pierre Neidhardt
  2018-09-17 19:24 ` Leo Famulari
  0 siblings, 2 replies; 4+ messages in thread
From: Pierre Neidhardt @ 2018-07-30 13:35 UTC (permalink / raw)
  To: help-guix

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

A while back I added git-credential-netrc to Guix and it worked flawlessly.

Since my latest update a week ago, it fails with the following error:

--8<---------------cut here---------------start------------->8---
Can't locate Git.pm in @INC (you may need to install the Git module) (@INC contains: ...) at /home/ambrevar/.guix-profile/bin/git-credential-netrc line 8.
--8<---------------cut here---------------end--------------->8---

Should the credential-netrc executable be wrapped to define PERL5LIB appropriately?
Seems legit, but then I don't understand why it used to work.

Any clue?

-- 
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* Re: git-credential-netrc: Can't locate Git.pm
  2018-07-30 13:35 git-credential-netrc: Can't locate Git.pm Pierre Neidhardt
@ 2018-09-17 16:38 ` Pierre Neidhardt
  2018-09-17 19:24 ` Leo Famulari
  1 sibling, 0 replies; 4+ messages in thread
From: Pierre Neidhardt @ 2018-09-17 16:38 UTC (permalink / raw)
  To: help-guix

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

Ping?

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* Re: git-credential-netrc: Can't locate Git.pm
  2018-07-30 13:35 git-credential-netrc: Can't locate Git.pm Pierre Neidhardt
  2018-09-17 16:38 ` Pierre Neidhardt
@ 2018-09-17 19:24 ` Leo Famulari
  2018-09-17 19:29   ` Pierre Neidhardt
  1 sibling, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2018-09-17 19:24 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: help-guix

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

On Mon, Jul 30, 2018 at 03:35:05PM +0200, Pierre Neidhardt wrote:
> A while back I added git-credential-netrc to Guix and it worked flawlessly.
> 
> Since my latest update a week ago, it fails with the following error:
> 
> --8<---------------cut here---------------start------------->8---
> Can't locate Git.pm in @INC (you may need to install the Git module) (@INC contains: ...) at /home/ambrevar/.guix-profile/bin/git-credential-netrc line 8.
> --8<---------------cut here---------------end--------------->8---
> 
> Should the credential-netrc executable be wrapped to define PERL5LIB appropriately?
> Seems legit, but then I don't understand why it used to work.
> 
> Any clue?

Perl 5.26 changed how it locates modules so that @INC no longer includes
the current working directory (the Perl community calls this "dotless
@INC"). Is it possible that change caused this to break?

Also, please send bug reports in the future, since they are less likely
to get lost :)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: git-credential-netrc: Can't locate Git.pm
  2018-09-17 19:24 ` Leo Famulari
@ 2018-09-17 19:29   ` Pierre Neidhardt
  0 siblings, 0 replies; 4+ messages in thread
From: Pierre Neidhardt @ 2018-09-17 19:29 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

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


> Perl 5.26 changed how it locates modules so that @INC no longer includes
> the current working directory (the Perl community calls this "dotless
> @INC"). Is it possible that change caused this to break?

Absolutely!  I'll work on it, thanks for the tip!

> Also, please send bug reports in the future, since they are less likely
> to get lost :)

I tend to avoid sending a bug report when I'm not sure it's an actual bug, but
in this case I should have, my apology! :)

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

end of thread, other threads:[~2018-09-17 19:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-30 13:35 git-credential-netrc: Can't locate Git.pm Pierre Neidhardt
2018-09-17 16:38 ` Pierre Neidhardt
2018-09-17 19:24 ` Leo Famulari
2018-09-17 19:29   ` Pierre Neidhardt

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