On Fri, 16 Mar 2012 12:34:53 +0100, Alessandro Ghedini wrote: > > My suggestion for the build-twice-in-a-row issue with > > libxml-libxml-perl, lacking substantial EE::MM knowledge, would be to > > "manually" anticipate what EU::MM "helpfully" bails out on, like so: > > > > override_dh_auto_clean: > > rm -f Makefile > > perl Makefile.PL > > dh_auto_clean > > > > "works for me" :-) > > Looks a bit ugly but works :) > Missing any better solution I've committed it (testing now).
Sorry for missing this mail, looks like Florian, you and me are discussing this via mail + IRC + changelog entries in git :) Let's try to bring this together; from d/changelog: /me: is the override_dh_auto_clean necessary? building twice works for me without it ghedo: IIRC this was reproducible by running straight dpkg-buildpackage (or debuild) twice, without manually cleaning between the two calls, but not with pbuilder --twice (I tried this a couple of days ago). Florian explained something similar on IRC. I might be wrong but I think the question of building twice boils down to the question: is the source tree the same as before after running the build and the clean? And this seems to be the case here. (Of course without a "clean" Makefile.PL is patched and Makefile is still there and is older than Makefile.PL and everything goes south.) Cheers, gregor -- .''`. 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: Josh With: Greenville Sheik
signature.asc
Description: Digital signature