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 :))

Cheers,
gregor
-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    Hailing frequencies open, Captain. 



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to