[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#479220: perl upgrade fails



clone 479220 -1
retitle -1 perl: eval 'require ...' should survive XS ABI changes
severity -1 important
found -1 5.8.8-12
submitter -1 !
thanks

On Tue, May 06, 2008 at 08:17:49AM +0200, Raphael Hertzog wrote:
> On Mon, 05 May 2008, Niko Tyni wrote:
> 
> > I think making liblocale-gettext-perl Pre-Depend on ${perl:Depends}
> > would fix this particular issue, but I'm worried that it's not the
> > only one. The other two XS modules that debconf-i18n depends on,
> > libtext-iconv-perl and libtext-charwidth-perl, come to mind first.
> 
> Indeed. CCing debian-devel to see if we have other solutions to avoid the
> pre-dependency.
 
Thanks.

> > What's stopping the prerm of a random package invoking a perl script
> > on upgrades that needs yet another XS module package? If the script
> > does the 'eval "use ..."' thing, the package won't even be listed as a
> > dependency. How can we detect these short of waiting for bug reports?
> > 
> > Is there a more general way of solving this?
> 
> Another solution is to make sure that the eval construct copes well with
> XS modules linked for another perl (ie if they fail at dlopen()). I don't
> see a reason why this couldn't be a run-time failure like another one...
> 
> That would be the general solution.

Right, but it doesn't help for the 5.8 -> 5.10 transition, as the problem
bites when the old perl-base is still installed. I'm cloning a separate
'important' bug for it - while it would be good to get it fixed for
lenny to ease future transitions, I suppose we can release without it
if we have to.

Cheers,
-- 
Niko Tyni   ntyni@debian.org


Reply to: