Bug#711614: libscriptalicious-perl: FTBFS with perl 5.18: test hang

Axel Beckert abe at debian.org
Mon Sep 30 23:10:13 UTC 2013


Hi,

Dominic Hargreaves wrote:
> This package FTBFS with perl 5.18 from experimental (in a clean sbuild
> session):
> 
> t/03-yaml.t .......... ok
> make[1]: *** wait: No child processes.  Stop.
> make[1]: *** Waiting for unfinished jobs....
> make[1]: *** wait: No child processes.  Stop.
> make: *** wait: No child processes.  Stop.
> make: *** Waiting for unfinished jobs....
> make: *** wait: No child processes.  Stop.
> Build killed with signal TERM after 150 minutes of inactivity

Gregor forwarded this as
https://rt.cpan.org/Ticket/Display.html?id=85999 -- nevertheless it
looks quite a lot like a modern incarnation of
https://rt.cpan.org/Ticket/Display.html?id=40287

The failure seems to be always in t/04-fork.t, either after test 8 or
after test 15. Sometimes the test also passes, so there seems to be
some random part in it as described in
https://rt.cpan.org/Ticket/Display.html?id=40287

I seem to be able to reduce the probability for hanging (but not avoid
it completely) if I comment out the lines _after_ "$output = slurp
$testfile;" (i.e. the line where $output is first accessed) in those
tests which included code references.

You can easily output the return value of slurp before it returns it,
but accessing it after slurp has ended, fails in approx. half of the
cases.

Replacing the included slurp implementation (in t/Util.pm) with the
implementation of File::Slurp does not seem to make a difference.

So far my findings. Didn't find a reliable solution, though.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



More information about the pkg-perl-maintainers mailing list