tags 479933 + patch, pending thanks 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.
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
diff -ur libmail-mboxparser-perl-0.55.yours/debian/changelog libmail-mboxparser-perl-0.55/debian/changelog --- libmail-mboxparser-perl-0.55.yours/debian/changelog 2008-05-28 10:09:26.000000000 -0500 +++ libmail-mboxparser-perl-0.55/debian/changelog 2008-05-28 10:13:49.000000000 -0500 @@ -1,3 +1,11 @@ +libmail-mboxparser-perl (0.55-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Remove /usr/lib/perl5 only if it exists (needed to avoid FTBFS after + Perl 5.10 transition) (Closes: #479933) + + -- Gunnar Wolf <[EMAIL PROTECTED]> Wed, 28 May 2008 10:13:49 -0500 + libmail-mboxparser-perl (0.55-1) unstable; urgency=low * New upstream release. Only in libmail-mboxparser-perl-0.55/debian: patched diff -ur libmail-mboxparser-perl-0.55.yours/debian/rules libmail-mboxparser-perl-0.55/debian/rules --- libmail-mboxparser-perl-0.55.yours/debian/rules 2008-05-28 10:09:26.000000000 -0500 +++ libmail-mboxparser-perl-0.55/debian/rules 2008-05-28 10:15:12.000000000 -0500 @@ -65,9 +65,12 @@ $(MAKE) test $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr - # As this is a architecture independent package, we are not supposed to install - # stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb: - rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5 + # As this is a architecture independent package, we are not supposed to + # install stuff to /usr/lib. MakeMaker (up to Perl 5.8) creates the + # dirs, we delete them from the deb: + [ ! -d $(TMP)/usr/lib/perl5 ] || \ + rmdir --ignore-fail-on-non-empty --parents --verbose \ + $(TMP)/usr/lib/perl5 touch install-stamp