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

Brendan O'Dea bod at debian.org
Sun Dec 30 00:55:58 UTC 2007


On Sat, Dec 29, 2007 at 03:50:14PM -0800, Russ Allbery wrote:
>Even if we decide to reintroduce this bug into Perl 5.10 to keep existing
>Debian build scripts working, we should still fix the Makefile.PL
>invocations in all of our packages so that the directory isn't created
>with either 5.8 or 5.10 and then (the important part) remove the rmdir.
>Since eventually we'll want to go back to not creating these useless
>directories....

Hrm.

What I'm specifically objecting to is the explicit passing of directory
args to Makefile.PL like INSTALLVENDORARCH etc.

This is unnecessary duplication, error-prone[0] and makes things harder
if we ever choose to change the directory layout[1].

If the problem is a backward-compatible way of handling the removal of
these empty dirs, maybe something like this?

  find $(TMP) -depth -type d -empty -print0 | \
  	xargs -0r rmdir -p --ignore-fail-on-non-empty

--bod

[0] See <87prwp9iyw.fsf at windlord.stanford.edu> for example.
[1] As was the case when we moved to this layout from the perl-5.005
    packages.





More information about the pkg-perl-maintainers mailing list