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

dh(_auto_clean) and Module::Build::Tiny

We have a problem with Module::Build::Tiny (itself and M::B::T using
packages), and that is that debhelper (or more exactly: dh_auto_clean
when it detects the perl_build build system [i.e. Build.PL]) runs

`perl Build distclean'

Now Module::Build (for which this was originally written) supports
distclean and realclean, with slightly different semantics;
Module::Build::Tiny only supports realclean.

(I guess this wasn't detected earlier because noone has built a
package / ran the debian/rules clean target with M::B::T and an
existing ./Build file. I recently tried to build a package twice in a
row and ran into this issue.)

So, I'm not sure what to do about this:
- Ask upstream to add a distclean target? - I guess there are reasons
  why it's not there ...
- Add the distclean target in a Debian patch? - Ugh ...
- File a bug report against debhelper to s/distclean/realclean/? -
  Then we probably need arguments and some evidence that this doesn't
  break anything.

Cc'ing upstream to get their advice as well; ideas and comments from
everyone welcome!


 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Supertramp: Oh Darling

Attachment: signature.asc
Description: Digital signature

Reply to: