Bug#599251: FTBFS: waits for user input at "latex path [/usr/bin/latex]"

Salvatore Bonaccorso salvatore.bonaccorso at gmail.com
Wed Oct 6 13:15:25 UTC 2010


Hi Timo and Gregor

On Wed, Oct 06, 2010 at 12:30:08PM +0200, gregor herrmann wrote:
> On Wed, 06 Oct 2010 13:11:24 +0300, Timo Juhani Lindfors wrote:
> 
> > > Ok, this is indeed not directly the cause. It's more how the ttpromt
> > > in Makefile.PL works, in sbuild/chroot environment these will work
> > > without waiting for confirmation and if we build int interactively it
> > > waits for confirmation.
> > Thanks! Is this ttprompt common in perl packages?
> 
> No, that's a hand-crafted function in the Makefile.PL of this
> package.
> 
> ExtUtils::MakeMake has prompt() which honours PERL_MM_USE_DEFAULT
> (which should be set in package builds via debhelper, IIRC).
> Cf. http://perldoc.perl.org/ExtUtils/MakeMaker.html#Other-Handy-Functions
> 
> I think in this case we can either
> - patch Makefile.PL to set $ACCEPT to 1
> - or patch Makefile.PL to use prompt()
> - and/or set PERL_MM_USE_DEFAULT or patch Makefile.PL to honour
>   PERL_MM_USE_DEFAULT
> 
> (I can't try now but I'm sure Salvatore will be quicker than me :))

Well I choosed option 1. Did saw your reply only after commiting the
patch to our svn repo. If you have time please review the package. I
have already sent a unblock request [1], but we can change the request
if we want one of the other solutions.

 [1] http://bugs.debian.org/599293

Bests
Salvatore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20101006/a25f22e9/attachment-0001.pgp>


More information about the pkg-perl-maintainers mailing list