Control: tag -1 + patch

On Sat, 28 Jun 2014 09:23:12 +0300, Niko Tyni wrote:

> This package fails to build with perl_5.20.0-1 from experimental:
> 
>   Installing 
> /«PKGBUILDDIR»/debian/libwiki-toolkit-plugin-rss-reader-perl/usr/share/man/man3/Wiki::Toolkit::Plugin::RSS::Reader.3pm
>   find /«PKGBUILDDIR»/debian/libwiki-toolkit-plugin-rss-reader-perl -type f 
> -name .packlist | xargs rm -f
>   # 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 
> /«PKGBUILDDIR»/debian/libwiki-toolkit-plugin-rss-reader-perl/usr/lib/perl5
>   rmdir: failed to remove 
> '/«PKGBUILDDIR»/debian/libwiki-toolkit-plugin-rss-reader-perl/usr/lib/perl5': 
> No such file or directory
>   make: *** [install-stamp] Error 1

0) Generic fix: let's move the package to pkg-perl and update the
   packaging :)

1) Quick fix for the problem e.g.:

#v+
diff -u libwiki-toolkit-plugin-rss-reader-perl-1.6/debian/rules 
libwiki-toolkit-plugin-rss-reader-perl-1.6/debian/rules
--- libwiki-toolkit-plugin-rss-reader-perl-1.6/debian/rules
+++ libwiki-toolkit-plugin-rss-reader-perl-1.6/debian/rules
@@ -59,7 +59,7 @@
    
    # 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
+   $(RM) -rv $(TMP)/usr/lib
 
    touch install-stamp
 
#v-


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Bob Dylan: Cold Irons Bound

Attachment: signature.asc
Description: Digital Signature

Reply via email to