Package: libdebug-client-perl Version: 0.29-2 Severity: serious Tags: sid This package fails to build on current sid. The tests hang in t/07-initialize.t after ok 1 - initialize with prams
This broke with libterm-readline-gnu-perl 1.28-1. Debug::Client creates a network server that a 'perl -d' process configured with PERLDB_OPTS='RemotePort=host:port' can connect to. With the new Term::ReadLine::Gnu, the perl debugger no longer outputs its prompt and other messages to the socket, so Debug::Client can't interact with it and hangs forever waiting. The package build-depends on libterm-readline-gnu-perl, so the build fails. I suppose a workaround would be to build-conflict on it instead. Without libterm-readline-gnu-perl installed, with netcat listening for connections in place of Debug::Client, we see everything working correctly: (window 1) % nc -l -p 65400 (window 2) % PERLDB_OPTS="RemotePort=127.0.0.1:65400" perl -d -e 'print "Hello, world!\n"' (window 1) Loading DB routines from perl5db.pl version 1.44 Editor support available. Enter h or 'h h' for help, or 'man perldebug' for more help. main::(-e:1): print "Hello, world!\n" DB<1> c Debugged program terminated. Use q to quit or R to restart, use o inhibit_exit to avoid stopping after program termination, h q, h R or h o to get additional info. DB<1> q (window 2) Hello, world! With libterm-readline-gnu-perl_1.28-1, we no longer get the DB<x> prompts or the 'Debugged program terminated' messages, but typing blindly works. (window 1) nc -l -p 65400 (window 2) % PERLDB_OPTS="RemotePort=127.0.0.1:65400" perl -d -e 'print "Hello, world!\n"' (window 1) Loading DB routines from perl5db.pl version 1.44 Editor support available. Enter h or 'h h' for help, or 'man perldebug' for more help. main::(-e:1): print "Hello, world!\n" c q (window 2) Hello, world! The upstream version that broke this is Term-ReadLine-Gnu-1.26. -- Niko Tyni nt...@debian.org