You should not add MYMETA.yml to the MANIFEST, it will NEVER ship to CPAN.

Remove the signature test.

Adam K

On 23 February 2010 01:29, Hinnerk Altenburg <hinn...@cpan.org> wrote:
> Hi,
>
> I got problems with the MYMETA.yml and the recommended signature test from
> http://github.com/audreyt/module-signature/blob/master/t/0-signature.t:
>
> $master:~/cpan/perlids>perl ./Build.PL
>> *Creating new 'MYMETA.yml' with configuration results*
>> Creating new 'Build' script for 'CGI-IDS' version '1.0118'
>> $master:~/cpan/perlids>./Build disttest
>> Creating Makefile.PL
>> Creating META.yml
>> *File 'MANIFEST.SKIP' does not include 'MYMETA.yml'. Adding it now.*
>> [...]
>> ==> SIGNATURE file created successfully. <==
>> Creating new 'MYMETA.yml' with configuration results
>> Creating new 'Build' script for 'CGI-IDS' version '1.0118'
>> Building CGI-IDS
>> *t/00-signature.t ..... Not in MANIFEST: MYMETA.yml
>> ==> MISMATCHED content between MANIFEST and distribution files! <==*
>> t/00-signature.t ..... 1/1
>> #   Failed test 'Valid signature'
>> #   at t/00-signature.t line 64.
>> #          got: -5
>> #     expected: 0
>> # Looks like you failed 1 test of 1.
>> t/00-signature.t ..... Dubious, test returned 1 (wstat 256, 0x100)
>>
>
> If I add it to MANIFEST, everything is fine until:
>
> $master:~/cpan/perlids>./Build distclean
>> Cleaning up build files
>> Cleaning up configuration files
>> *No such file: MYMETA.yml*
>> MANIFEST appears to be out of sync with the distribution
>
> $master:~/cpan/perlids>perl ./Build.PL
>> *WARNING: the following files are missing in your kit:
>>     MYMETA.yml*
>> Please inform the author.
>>
>> *Creating new 'MYMETA.yml' with configuration results*
>> Creating new 'Build' script for 'CGI-IDS' version '1.0118'
>>
>
> Any ideas how to solve this hen-egg problem?
>
> Regards
> Hinnerk
>

Reply via email to