-
Notifications
You must be signed in to change notification settings - Fork 42
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
Tests fail with Debian testing #255
Comments
Hello Xavier, the patch is of no use since it just comments out the failing tests - the problem is hidden, but not fixed. Help us gain an understanding why the tests are failing for you, as smoke reports did not show any failure on Linux for 5.11.2 for any stable/released version of Perl so far. Please add to your problem report how to reproduce the failure. Tell exactly which versions of Debian and pbuilder and any other software that is involved you use, and which steps/how to run the software to arrive at the test output you have pasted. I'm not aware that any of the perl5i maintainers runs Debian, but leastwise I am willing to install it in a virtual machine for debugging and testing purposes. |
Hi,
|
Test::More is not the issue, I've been running 0.98 on my distribution for years without problems. Today I have also installed wheezy-rc2 which comes with Test::More 0.98 and perl5i tests just fine there. Please don't waste time with unaimed speculation - instead tell how to reproduce the failure you're seeing. |
@daxim Be patient. We're all volunteers here. You've volunteered to help him. @guimard has volunteered to dig into the problem for us. Yeah, it's frustrating to not get all the data to reproduce, not everyone knows what that data we need is. Let's try to make that easier. @guimard Thanks for the patch, but disabling failing tests is not how we deal with failing tests. Sometimes the test is bogus, but we need to figure that out. This has been a tricky one to reproduce, we've only seen it once before, and we either need to know how to reproduce it or we need you to run code for us. The problem lies somewhere in perl5i::2::Meta::Instance::$find_method which looks up the stack for the method super was called in. So let's try to figure it out. Would you tell us for a start...
I've prepared a special version of the code which has debugging information. Would you also please download and test http://schwern.net/tmp/perl5i-v2.11.2-issue-255.tar.gz and give us the full results of the test? Thank you. |
Hi, the new build log is available here: http://paste.debian.net/1949/
|
Thanks for all that info. I see you're using a perl from unstable. Would it be possible to go back to 5.14.2-20 and see if it has the problem? |
Hi, the problem is the same using perl 5.14.2-20 |
I've perhaps found the problem: using cpan -t perl5i, all works if libtest-wan-perl isn't installed and fail if it is. Wheezy libtest-warn-perl version is 0.23, and upstream is 0.24. Test::Warn Changes file says:
Wheezy Carp lib version is 1.20. So "cpan -t perl5i" compiles Carp when Test::Warn isn't installed. So the solution may be to require Test::Warn >= 0.24 (or just require Carp >= 1.22 but Test::Warn may not work as indicated above) Note that the previous failed test (http://www.cpantesters.org/cpan/report/ef8fbca6-f99a-11e1-8755-e63c2a028b78) uses 0.23 too |
Good investigation. We're narrowing it down. You're on to something with the Carp version. To make sure I've got it straight, perl5i works with Carp 1.20 and fails with Carp 1.22? Or vice versa? |
@guimard Would you please try changing |
@schwern: same problem with Carp instead of Carp::Fix::1_25. But using Test::Warn-0.23 with Carp-1.22 or Carp-1.26, all tests succeed. So I think that you just have to require Carp >= 1.22 |
Hi, using pbuilder (Debian tool), many tests fail reporting something like:
I've posted a patch that I've to use to disable those tests here : https://rt.cpan.org/Ticket/Display.html?id=84995
The text was updated successfully, but these errors were encountered: