delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/08/04/11:55:41

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=ru7g2xwInAAynQ29
VzrW0zdLEW1IilTVz+sqXiLM7iDu2OTFrBk+mUDmVJTNDPH7GdpEB6NKJDMnPeFD
aAow8HnU4moSVQtpdUWQFOKMikwSzsWz+TTKV5/cIz2bpZqp/2alX0kAR16uYB4i
1mlL0DlK+LyFXwfiDWilerFbdiM=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=qdEuxCei10sghEd1l01WQk
Nxzlo=; b=Pt4+WLDX2qJaxwJejtB/u82wgI7s3vQRq20wEcThcwwaVok2MEgFyK
FwNBGtCNL9tE8CokjAjfwPJljLCqD60OEo2gO3DcIgUQ7b41TMXr8zBVbOhFHiTz
sZUd39rRZ5Fpcm4g6zDy3nnJp4sPRuxJ9ix1V7ejxzv08GM/vFcFA=
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-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:D*cornell.edu, H*r:8.14.4, H*Ad:D*edu, our
X-HELO: limerock04.mail.cornell.edu
Subject: Re: git-email missing module
To: cygwin AT cygwin DOT com
References: <72a153a5-7d4b-eecd-2c3f-8321d8b43ca1 AT mail DOT com>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <f2a052e0-e53a-00e4-c8ca-369cc1ea1d85@cornell.edu>
Date: Sat, 4 Aug 2018 11:55:24 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <72a153a5-7d4b-eecd-2c3f-8321d8b43ca1@mail.com>
X-IsSubscribed: yes

On 8/4/2018 10:11 AM, john doe wrote:
> Hi,
> 
> On a fresh install of Cygwin_x86_64, I have installed "git,git-email" packages 
> and I'm getting the following:
> 
> $ git send-email master --confirm=always --to=xxx AT example DOT com
> BUG: The 'Mail::Address' module is not here, but NO_PERL_CPAN_FALLBACKS was set!

I don't get this error.

> 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 36.
> BEGIN failed--compilation aborted at /usr/libexec/git-core/git-send-email line 36.
> 
> I had to install "Mail::Address" manually using cpan.

You shouldn't have had to do that:

$ cygcheck -l git | grep Mail/Address.pm
/usr/share/perl5/FromCPAN/Mail/Address.pm
/usr/share/perl5/Git/LoadCPAN/Mail/Address.pm

Do you have these files?

Ken

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