[Reproducible-builds] Bug#780637: cloud-init: needs to be build in the cloud

Charles Plessy plessy at debian.org
Tue Mar 17 11:43:33 UTC 2015


> On Dienstag, 17. März 2015, Charles Plessy wrote:
> > it is more complicated than this: the package builds fine with sbuild.
> 
Le Tue, Mar 17, 2015 at 12:00:20PM +0100, Holger Levsen a écrit :
> does it run the tests with sbuild too? (I assume not.)

It runs the tests but skips some...

which makes me think that the problem is not necessarly with pbuilder, but
rather with the build machine.  For instance, in your case, it is virtualised ?


> ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
> override_dh_auto_test:
>         dh_auto_test
>         $(MAKE) test
> endif
> 
> So when "nocheck" is defined in DEB_BUILD_OPTIONS it should run "make test"???

This is just Makefile syntax horror in all its splendor.

if "nocheck" is not defined, then the result of findstring is empty, which is
equal to the emptiness between "(" and "," after ifeq.

It took me years to understand :)

Cheers,

-- 
Charles



More information about the Reproducible-builds mailing list