Re: Bug#278417: libxt6 4.3.0.dfsg.1-8 pre-installation script fails
- To: Branden Robinson <branden@debian.org>
- Cc: 278417-submitter@bugs.debian.org, control@bugs.debian.org, debconf@packages.debian.org, debian-perl@lists.debian.org, debian-release@lists.debian.org
- Subject: Re: Bug#278417: libxt6 4.3.0.dfsg.1-8 pre-installation script fails
- From: Brendan O'Dea <bod@debian.org>
- Date: Thu, 4 Nov 2004 16:43:01 +1100
- Message-id: <[🔎] 20041104054301.GA7557@londo.c47.org>
- Mail-followup-to: Branden Robinson <branden@debian.org>, 278417-submitter@bugs.debian.org, control@bugs.debian.org, debconf@packages.debian.org, debian-perl@lists.debian.org, debian-release@lists.debian.org
- In-reply-to: <[🔎] 20041103184216.GA5763@redwald.deadbeast.net>
- References: <20041026205322.GA30104@karin> <[🔎] 20041103184216.GA5763@redwald.deadbeast.net>
On Wed, Nov 03, 2004 at 01:42:16PM -0500, Branden Robinson wrote:
> libxt6 uses debconf in its preinst script. Debconf in turn uses the Perl
> module Text::Iconv (to perform character set conversion for the
> presentation of appropriately localized template choices and
> descriptions, perhaps among other functions). Text::Iconv is an XS
> module in the version of Perl in sarge, meaning that it's written in C
> and is therefore an ELF object linked in by the Perl interpreter when
> needed. By default, Perl performs "lazy" loading of XS modules -- that
> is, it assumes that all the required symbols will be resolved without
> actually checking.
> Unfortunately, there does not appear to be a way to programmatically turn
> off lazy module loading. That is, we can't just add a line of code to
> Debconf that says "don't do lazy loading".
I'm not terribly familiar with the way that debconf operates, but I'm
guessing that the breakage is in dpkg-preconfigure, so simply adding
$ENV{PERL_DL_NONLAZY} = 1;
as the first line of the BEGIN block at the start of that program should
fix the problem.
--bod
Reply to: