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

Bug#463475: libfile-rsyncp-perl: FTBFS with perl5.10: unconditionally removes usr/share/perl5

Package: libfile-rsyncp-perl
Version: 0.68-1
Severity: important
Tags: patch


libfile-rsyncp-perl fails to build with perl 5.10 (package available in
  rmdir /tmp/buildd/libfile-rsyncp-perl-0.68/debian/libfile-rsyncp-perl/usr/share/perl5/
  rmdir: failed to remove `/tmp/buildd/libfile-rsyncp-perl-0.68/debian/libfile-rsyncp-perl/usr/share/perl5/': No such file or directory
  make: *** [install] Error 1

The reason for this is that MakeMaker that is shipped with perl5.10
finally stops creating the spurious usr/{share,lib}/perl5 directories.

Please change the removal line to

  [ ! -d $(CURDIR)/debian/libfile-rsyncp-perl/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/libfile-rsyncp-perl//usr/share/perl5


P.S. shameless plug: if you don't want to bother, please consider
giving[1] the package to the Debian Perl Group.

    [1] http://wiki.debian.org/Teams/DebianPerlGroup?action=show#head-e1811c16f568b2e2f356d6bf2d9db17f727d9804

Reply to: