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

Bug#463479: libapache2-authenntlm-perl: FTBFS with perl5.10: unconditionally removes usr/share/perl5



Package: libapache2-authenntlm-perl
Version: 0.2-3
Severity: important
Tags: patch

Hi,

libapache2-authenntlm-perl fails to build with perl 5.10 from
experimental:
  ...
  rmdir --ignore-fail-on-non-empty --parents /tmp/buildd/libapache2-authenntlm-perl-0.02/debian/libapache2-authenntlm-perl/usr/share/perl5
  rmdir: failed to remove `/tmp/buildd/libapache2-authenntlm-perl-0.02/debian/libapache2-authenntlm-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

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



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



Reply to: