niner / Inline-Perl5

Use Perl 5 code in a Raku program
Artistic License 2.0
95 stars 27 forks source link

install with zef fails in Ubuntu on WSL #150

Open wamiks opened 4 years ago

wamiks commented 4 years ago

Hi,

Test Summary Report


t/data_in_module.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
t/from.t (Wstat: 139 Tests: 0 Failed: 0)
Non-zero wait status: 139
Parse errors: No plan found in TAP output
t/precomp.t (Wstat: 139 Tests: 0 Failed: 0)
Non-zero wait status: 139
Parse errors: No plan found in TAP output
t/use_nested.t (Wstat: 139 Tests: 0 Failed: 0)
Non-zero wait status: 139
Parse errors: No plan found in TAP output

It seems use lib:from called from a file loaded with "use" causes a segfault. Using the OO interface seems to work though:

use Inline::Perl5; my $p5 = Inline::Perl5.new; $p5.use("lib", "t/lib"); $p5.use('LookForData');

$p5.call('LookForData::return_data');

best, mik