Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ark-1.22: t/error.t may fail #15

Open
eserte opened this issue Oct 27, 2024 · 0 comments
Open

Ark-1.22: t/error.t may fail #15

eserte opened this issue Oct 27, 2024 · 0 comments

Comments

@eserte
Copy link

eserte commented Oct 27, 2024

t/error.t fails under some circumstances like this:

[error] Caught exception in engine "Can't locate Regexp/IPv6.pm in @INC (you may need to install the Regexp::IPv6 module) (@INC entries checked: /home/cpansand/.cpan/build/2024102720/Ark-1.22-0/blib/arch /home/cpansand/.cpan/build/2024102720/Ark-1.22-0/blib/lib /opt/perl-5.41.5/lib/site_perl/5.41.5/x86_64-linux /opt/perl-5.41.5/lib/site_perl/5.41.5 /opt/perl-5.41.5/lib/5.41.5/x86_64-linux /opt/perl-5.41.5/lib/5.41.5) at /opt/perl-5.41.5/lib/site_perl/5.41.5/URI/_generic.pm line 25.
 ...propagated at t/error.t line 17."
ok 1 - 500 ok
ok 2 - error content ok
not ok 3 - error msg ok
#   Failed test 'error msg ok'
#   at t/error.t line 26.
#                   'Can't locate Regexp/IPv6.pm in @INC (you may need to install the Regexp::IPv6 module) (@INC entries checked: /home/cpansand/.cpan/build/2024102720/Ark-1.22-0/blib/arch /home/cpansand/.cpan/build/2024102720/Ark-1.22-0/blib/lib /opt/perl-5.41.5/lib/site_perl/5.41.5/x86_64-linux /opt/perl-5.41.5/lib/site_perl/5.41.5 /opt/perl-5.41.5/lib/5.41.5/x86_64-linux /opt/perl-5.41.5/lib/5.41.5) at /opt/perl-5.41.5/lib/site_perl/5.41.5/URI/_generic.pm line 25.
#  ...propagated at t/error.t line 17.
# '
#     doesn't match '(?^:^Died at)'
1..3
# Looks like you failed 1 test of 3.

I think this happens if Regexp::IPv6 is not installed and this code https://github.com/libwww-perl/URI/blob/1da804f9a5a126b3e0782e81777c11a77c1bea14/lib/URI/_generic.pm#L24-L28 is triggered. It is possible that additionally it has to be a new perl version, as I see the error only for 5.40 and newer: https://fast2-matrix.cpantesters.org/?dist=Ark%201.22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant