public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jameson Nash <vtjnash@gmail.com>
To: cygwin@cygwin.com
Subject: missing dependency for git-email?
Date: Thu, 26 Nov 2020 21:34:37 -0500	[thread overview]
Message-ID: <CADnnjUXQRAErQ0MS9+mVLEOSXhkY_t1+D8OFwj5PmxKMgObR3g@mail.gmail.com> (raw)

I installed git-email, but once installed it says it's missing a required
dependency:

```
$ git send-email --dry-run
BUG: The 'Mail::Address' module is not here, but NO_PERL_CPAN_FALLBACKS was
set!

Git needs this Perl module from the CPAN, and will by default ship
with a copy of it. This Git was built with NO_PERL_CPAN_FALLBACKS,
meaning that whoever built it promised to provide this module.

You're seeing this error because they broke that promise, and we can't
load our fallback version, since we were asked not to install it.

If you're seeing this error and didn't package Git yourself the
package you're using is broken, or your system is broken. This error
won't appear if Git is built without NO_PERL_CPAN_FALLBACKS (instead
we'll use our fallback version of the module). at
/usr/share/perl5/Git/LoadCPAN.pm line 76.
BEGIN failed--compilation aborted at
/usr/share/perl5/Git/LoadCPAN/Mail/Address.pm line 8.
Compilation failed in require at /usr/libexec/git-core/git-send-email line
37.
BEGIN failed--compilation aborted at /usr/libexec/git-core/git-send-email
line 37.
```

This is provided by the `perl-MailTools` cygwin package.

Thanks!

             reply	other threads:[~2020-11-27  2:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-27  2:34 Jameson Nash [this message]
2020-11-27  9:26 ` Adam Dinwoodie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADnnjUXQRAErQ0MS9+mVLEOSXhkY_t1+D8OFwj5PmxKMgObR3g@mail.gmail.com \
    --to=vtjnash@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).