tag 659240 patch
thanks

On Thu, Feb 09, 2012 at 01:18:02PM +0100, Patrice Pillot wrote:
> Package: ftpmirror
> Version: 1.96+dfsg-12
> Severity: grave
> Justification: renders package unusable

> Since I upgraded this host to Perl 5.14, ftpmirror fails with the following
> message:
> 
> /usr/bin/perl: symbol lookup error: /usr/lib/ftpmirror/auto/Fan/MD5/MD5.so: 
> undefined symbol: Perl_Gthr_key_ptr

> This seems really similar to old bug 488162, but since I know Perl not better
> than the Debian build process, I cannot investigate further. Since the package
> has not been updated since Perl 5.14 (as far as I can tell), this may indicate
> it needs some sort of rebuilding.

Thanks for the report. Indeed #488162 was never really fixed. Patch
attached.

Maintainer: once this is fixed, please file a bug against perl to add
a Breaks: entry against the older versions. This is needed to make sure
partial squeeze->wheezy upgrades work.
-- 
Niko Tyni   nt...@debian.org
>From 2ed02e6fdbbf0ce8d8e9108a609abace2c4b02c5 Mon Sep 17 00:00:00 2001
From: Niko Tyni <nt...@debian.org>
Date: Thu, 9 Feb 2012 22:45:02 +0200
Subject: [PATCH] Make dh_perl look into the plugin directory

Closes: 659240

The XS modules shipped with this package are installed into
/usr/lib/ftpmirror, but dh_perl doesn't find them without hinting,
and therefore doesn't create the right perlapi-* dependency.
---
 debian/rules |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/debian/rules b/debian/rules
index 8a1df2c..072aa24 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,3 +31,5 @@ override_dh_auto_install:
 override_dh_installchangelogs:
 	dh_installchangelogs RELEASE
 
+override_dh_perl:
+	dh_perl usr/lib/ftpmirror
-- 
1.7.9

Reply via email to