jonathanstowe / Test-META

Test that a Perl 6 project has a good and proper META file
Artistic License 2.0
10 stars 11 forks source link

install failure rakudo HEAD #43

Closed coke closed 1 year ago

coke commented 1 year ago
✗ raku --version
Welcome to Rakudo™ v2023.06-136-g8e394fad0.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2023.06-4-g75fe055c2.
✗ sw_vers
ProductName:        macOS
ProductVersion:     13.4
BuildVersion:       22F66
✗ zef install Test::META --serial --verbose
===> Searching for: Test::META
===> Found: Test::META:ver<0.0.20>:auth<zef:jonathanstowe>:api<1.0> [via Zef::Repository::Ecosystems<fez>]
===> Fetching [OK]: Test::META:ver<0.0.20>:auth<zef:jonathanstowe>:api<1.0> to /var/folders/8n/rypl9_990b9578zd5435pgr40000gn/T//.zef/1690478692.65022/1690478693.65022.3168.604697355265/10b9dd6eb55bc5102e158b4113d399be141e5295.tar.gz
===> Extraction [OK]: Test::META to /var/folders/8n/rypl9_990b9578zd5435pgr40000gn/T//.zef/1690478692.65022/10b9dd6eb55bc5102e158b4113d399be141e5295.tar.gz
===> Testing: Test::META:ver<0.0.20>:auth<zef:jonathanstowe>:api<1.0>
[Test::META] t/010-use.t ........ ok
[Test::META] # the following may make some diagnostics from the module itself
[Test::META] Use of uninitialized value of type Whatever in string context.
[Test::META] Methods .^name, .raku, .gist, or .say can be used to stringify it to something meaningful.
[Test::META]   in sub check-version at /var/folders/8n/rypl9_990b9578zd5435pgr40000gn/T/.zef/1690478692.65022/10b9dd6eb55bc5102e158b4113d399be141e5295.tar.gz/Test-META-0.0.20/lib/Test/META.rakumod (Test::META) line 232
[Test::META]     # Failed test 'check-version with plain '*''
[Test::META]     # at t/020-internals.t line 66
[Test::META] Use of uninitialized value of type Whatever in string context.
[Test::META] Methods .^name, .raku, .gist, or .say can be used to stringify it to something meaningful.
[Test::META]   in sub check-version at /var/folders/8n/rypl9_990b9578zd5435pgr40000gn/T/.zef/1690478692.65022/10b9dd6eb55bc5102e158b4113d399be141e5295.tar.gz/Test-META-0.0.20/lib/Test/META.rakumod (Test::META) line 232
[Test::META]     # Failed test 'check-version with embedded '*''
[Test::META]     # at t/020-internals.t line 67
[Test::META]     # You failed 2 tests of 4
[Test::META] # Failed test 'check-version'
[Test::META] # at t/020-internals.t line 64
[Test::META] # You failed 1 test of 24
[Test::META] t/020-internals.t ..
[Test::META] Dubious, test returned 1 (wstat 256, 0x100)
[Test::META] Failed 1/24 subtests
[Test::META] t/030-my-meta.t .... ok
[Test::META] Test Summary Report
[Test::META] -------------------
[Test::META] t/020-internals.t (Wstat: 256 Tests: 24 Failed: 1)
[Test::META]   Failed test:  23
[Test::META]   Non-zero exit status: 1
[Test::META] Files=3, Tests=26,  1 wallclock secs ( 0.01 usr  0.01 sys +  2.07 cusr  0.08 csys =  2.17 CPU)
[Test::META] Result: FAIL
===> Testing [FAIL]: Test::META:ver<0.0.20>:auth<zef:jonathanstowe>:api<1.0>
Aborting due to test failure: Test::META:ver<0.0.20>:auth<zef:jonathanstowe>:api<1.0> (use --force-test to override)
jonathanstowe commented 1 year ago

So what we're saying here is that a '*' in a double quoted string has become a Whatever in some recent commit in rakudo? Isn't that going to cause all sorts of fall out unless it is protected by some feature switch?

lizmat commented 1 year ago

Should be fixed with https://github.com/rakudo/rakudo/commit/824a500b3e

coke commented 1 year ago

Verified