tags 467482 + patch, pending thanks Hi,
I am including here a (very trivial) patch fixing this FTBFS. In the process of fixing it, a second FTBFS appeared - so I am including it as well. The FTBFS was caused by a typo in a regex - Here goes the patch between your package and mine (including this as a dpatch file): diff -Nru libswish-api-common-perl-0.03.yours/debian/patches/00list libswish-api-common-perl-0.03/debian/patches/00list --- libswish-api-common-perl-0.03.yours/debian/patches/00list 2008-05-27 18:07:06.000000000 -0500 +++ libswish-api-common-perl-0.03/debian/patches/00list 2008-05-27 18:16:45.000000000 -0500 @@ -1 +1,2 @@ 20swish-e_path +30fix-makefile-pl.dpatch diff -Nru libswish-api-common-perl-0.03.yours/debian/patches/30fix-makefile-pl.dpatch libswish-api-common-perl-0.03/debian/patches/30fix-makefile-pl.dpatch --- libswish-api-common-perl-0.03.yours/debian/patches/30fix-makefile-pl.dpatch 1969-12-31 18:00:00.000000000 -0600 +++ libswish-api-common-perl-0.03/debian/patches/30fix-makefile-pl.dpatch 2008-05-27 18:16:12.000000000 -0500 @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix-makefile-pl.dpatch by <[EMAIL PROTECTED]> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + [EMAIL PROTECTED]@ +diff -urNad libswish-api-common-perl-0.03~/Makefile.PL libswish-api-common-perl-0.03/Makefile.PL +--- libswish-api-common-perl-0.03~/Makefile.PL 2008-05-27 18:15:12.000000000 -0500 ++++ libswish-api-common-perl-0.03/Makefile.PL 2008-05-27 18:16:09.000000000 -0500 +@@ -57,7 +57,7 @@ + #print "*** Temporary directory: $dir\n"; + chdir $dir or die "Cannot chdir to $dir"; + my $distro = "swish-e-2.4.3.tar.gz"; +- (my $distrodir = $distro) =~ s/\.tar.\gz$//g; ++ (my $distrodir = $distro) =~ s/\.tar\.gz$//g; + print "Downloading $distro ...\n"; + #File::Copy::copy("/tmp/$distro", "$dir/$distro"); + LWP::Simple::getstore( Namely, it was looking for a \.tar.\gz (. and \ interchanged). As for the second FTBFS I'm closing here for free, let me be lazy and quote from another package I NMUd yesterday (#479912): The patch fixing this FTBFS bug follows. What happens here is that, with Perl 5.10, a (long-time flawed) misfeature of ExtUtils::MakeMaker was finally removed: Empty directories are no longer created. So, your rmdir was failing as /usr/lib/perl5 didn't exist. The patch in question is: diff -ru libswish-api-common-perl-0.03.yours/debian/rules libswish-api-common-perl-0.03/debian/rules --- libswish-api-common-perl-0.03.yours/debian/rules 2008-05-27 18:07:06.000000000 -0500 +++ libswish-api-common-perl-0.03/debian/rules 2008-05-27 18:13:20.000000000 -0500 @@ -33,7 +33,9 @@ dh_clean -k $(MAKE) test $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr - rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5 + [ ! -d $(TMP)/usr/lib/perl5 ] || \ + rmdir --ignore-fail-on-non-empty --parents --verbose \ + $(TMP)/usr/lib/perl5 touch install-stamp I am uploading an NMU to the 5-day delay queue. -- Gunnar Wolf - [EMAIL PROTECTED] - (+52-55)5623-0154 / 1451-2244 PGP key 1024D/8BB527AF 2001-10-23 Fingerprint: 0C79 D2D1 2C4E 9CE4 5973 F800 D80E F35A 8BB5 27AF
pgp8lgV6afvdV.pgp
Description: PGP signature