CPAN--Mini--Inject icon indicating copy to clipboard operation
CPAN--Mini--Inject copied to clipboard

t/update_mirror.t: Ignore DIE signal inside eval blocks

Open slyon opened this issue 3 years ago • 3 comments
trafficstars

The process will still be running and the error handled. See: https://www.perlmonks.org/?node_id=1173708

This leads to situations where the test server is stopped and tests failing, due to the "libregexp-ipv6-perl" not being installed in Debian/Ubuntu.

It's caused by liburi-perl's detection of "Regexp::IPv6" by requiring it and catching the failure (DIE signal) in URI/_generic.pm:20. https://github.com/libwww-perl/URI/blob/master/lib/URI/_generic.pm#L20

Signed-off-by: Lukas Märdian [email protected]

slyon avatar Aug 08 '22 15:08 slyon

See also: https://bugs.launchpad.net/ubuntu/+source/liburi-perl/+bug/1981608 And: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014720

slyon avatar Aug 08 '22 16:08 slyon

I've merged #26 in briandfoy/cpan-mini-inject in 93b6cef88c9269033d5592e360ed1841d438fff3. I can't close this issue, but look to the new repo for future work.

briandfoy avatar May 23 '24 15:05 briandfoy

This is part of 1.002. Thanks,

briandfoy avatar Jun 10 '24 17:06 briandfoy