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

Bug#463459: liblinux-inotify2-perl: FTBFS with perl5.10: unconditionally removes usr/share/perl5



Package: liblinux-inotify2-perl
Version: 1.1-2
Severity: important
Tags: patch

Hi,

liblinux-inotify2-perl fails to build with perl 5.10 (package available
in experimental):
  ...
  rmdir --ignore-fail-on-non-empty --parents
  /tmp/buildd/liblinux-inotify2-perl-1.1/debian/liblinux-inotify2-perl/usr/share/perl5
  rmdir: failed to remove
  `/tmp/buildd/liblinux-inotify2-perl-1.1/debian/liblinux-inotify2-perl/usr/share/perl5':
  No such file or directory
  make: *** [install-stamp] 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 $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5


Thanks,
    dam



Reply to: