Bug#458143: libpod-simple-perl FTBFS with perl from experimental

Russ Allbery rra at debian.org
Sun Dec 30 04:31:21 UTC 2007


Don Armstrong <don at debian.org> writes:
> On Sat, 29 Dec 2007, Russ Allbery wrote:

>> Unfortunately, it'e exactly this that doesn't work, because that
>> command fails if the directory named doesn't exist. With Perl 5.8's
>> MakeMaker, it's created. With Perl 5.10's, it isn't, which causes any
>> package using that command to FTBFS.

> Ah; the problems with me not paying close enough attention....

> Probably just coupling it with a test statement would be best then,
> since that's the proper logic in all cases where those directories
> exist.

We could do something like:

        [ ! -d $(TMP)/usr/lib/perl5 ] || \
            rmdir -p --ignore-fail-on-non-empty $(TMP)/usr/lib/perl5

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>





More information about the pkg-perl-maintainers mailing list