Skip Menu |

This queue is for tickets about the Class-MethodMaker CPAN distribution.

Report information
The Basics
Id: 57359
Status: resolved
Priority: 0/
Queue: Class-MethodMaker

People
Owner: Nobody in particular
Requestors: neil.stott [...] blueyonder.co.uk
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 2.16
Fixed in: 2.19



Subject: Win32 Fails t/0-signature.t
Fails t/0-signature.t on clean install of Strawberry perl 5.10.1.2 under Windows 7. 'gpg' is not recognized as an internal or external command, operable program or batch file. ^^ have have tried downloading the gpg.exe which removed this error but it was still failing on the errors below that. please let me know if you would like any other information or tests performing.
Subject: build.log
Download build.log
application/octet-stream 6.7k

Message body not shown because it is not plain text.

On Mon May 10 17:33:33 2010, neil.stott@blueyonder.co.uk wrote: Show quoted text
> Fails t/0-signature.t on clean install of Strawberry perl 5.10.1.2
under Show quoted text
> Windows 7. > > 'gpg' is not recognized as an internal or external command, > operable program or batch file. > > ^^ have have tried downloading the gpg.exe which removed this error
but Show quoted text
> it was still failing on the errors below that. > > please let me know if you would like any other information or tests > performing.
Actually (I helped Neil debug this on IRC) the real error here is: t/0-signature.t ............ WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 65BD 0DA2 B8A0 7FB0 047D 3837 AD05 796B 080A BA07 Not in MANIFEST: dll.base Not in MANIFEST: dll.exp Not in MANIFEST: MethodMaker.def ==> MISMATCHED content between MANIFEST and distribution files! <== t/0-signature.t ............ Failed 1/1 subtests It seems that under Windows something injects foreign files into the dists before cpansign is run. I suggest that you just remove t/0-signature.t. The CPAN toolchain knows how to test SIGNATURE files if the user has that preference, there's no reason to have t/0-signature.t in the dist that I can see. This isn't an isolated case, going through your cpantestest failures reveals a few Win32 failures of t/0-signature.t. Presumably due to the same issue.
On Mon May 10 17:39:01 2010, AVAR wrote: Show quoted text
> On Mon May 10 17:33:33 2010, neil.stott@blueyonder.co.uk wrote:
> > Fails t/0-signature.t on clean install of Strawberry perl 5.10.1.2
> under
> > Windows 7.
> [...] > I suggest that you just remove t/0-signature.t. The CPAN toolchain > knows how to test SIGNATURE files if the user has that preference, > there's no reason to have t/0-signature.t in the dist that I can see. > > This isn't an isolated case, going through your cpantestest failures > reveals a few Win32 failures of t/0-signature.t. Presumably due to the > same issue.
Thanks for investigating in this. The signatures self check was always stressful, so I simply followed your advise. Let's see how 2.16 works. (It also containes some accumulated patches, hopefully not introducing other bugs...) Thanks. Kind regards, Steffen -- Steffen Schwigon <ss5@renormalist.net> Dresden Perl Mongers <http://dresden-pm.org/> Deutscher Perl-Workshop <http://www.perl-workshop.de/>
Show quoted text
> cpansign -v
[...] --- SIGNATURE Tue May 11 00:42:39 2010 +++ (current) Mon May 17 13:53:03 2010 @@ -3,7 +3,7 @@ SHA1 efa8cb615886410be8de15f5a6925697f624d278 INSTALL SHA1 cf6a392361ad119496ff9205dafe4ab72d4394f2 MANIFEST SHA1 57082e147b77092b33b57411451a6b9030823f95 MANIFEST.SKIP -SHA1 cb34444c63493fcc305792e2f4ce11aac8226c8c META.yml +SHA1 62a6ac4a22cb5e3cd27bc6efd34b42cba9969804 META.yml SHA1 eceaf9c21ce600ed653d0b5bdc0cbbadde16c7b9 Makefile.PL SHA1 bcdbe850216b8d70c2d9c7b32550860572196a82 MethodMaker.xs SHA1 a79be83e67bf815b27b226ad1f2403a7d2390e0c README ==> MISMATCHED content between SIGNATURE and distribution files! <== "make dist" deletes the already prepared distdir. The work-around is to run "make metafile ; make manifest ; make distsignature", then archive the distdir manually.
2.19 doesn't ship a SIGNATURE file anymore. I got a bit tired of fiddling manually with it. Steffen -- Steffen Schwigon <ss5@renormalist.net> Dresden Perl Mongers <http://dresden-pm.org/>