Re: build-indep and buildd
On Wed, Feb 1, 2012 at 2:07 PM, Roger Leigh <rleigh@codelibre.net> wrote:
> On Wed, Feb 01, 2012 at 01:59:41PM +0100, Jakub Wilk wrote:
>> * Roger Leigh <rleigh@codelibre.net>, 2012-02-01, 12:52:
>> >>Could someone please gives an update on the status of
>> >>build-indep target and buildd machine ? I am using the following
>> >>pattern (as per dh documentation):
>> >>
>> >> #!/usr/bin/make -f
>> >> %:
>> >> dh $@
>> >>
>> >> override_dh_auto_build-indep:
>> >> $(MAKE) -C docs
>> >>
>> >> # No tests needed for docs
>> >> override_dh_auto_test-indep:
>> >>
>> >>However buildd machine are still running -indep target. I'd like
>> >>to test my package first on my local machine to mimic what would
>> >>a buildd machine do (I cant find the dpkg-buildpackage command
>> >>line option used for buildd)
>> >
>> >I would make sure you are Build-Depending upon a new enough
>> >debhelper; some versions were buggy until recently. The earliest
>> >non-broken version is 8.9.10, though at this point >= 9 is
>> >probably best.
>>
>> But that of course won't help, as dpkg-buildpackage doesn't use
>> build-indep.
>
> Argh. I keep forgetting it's still calling build. Hopefully
> soon now... In the meantime, you can test the targets by hand.
In summary, before upload
1. run dpkg-buildpackage -b to reproduce buildd behavior
2. Build the package as usual, upload
What should I do about debhelper version >= 9 ?
Thanks
--
Mathieu
Reply to: