Bug#946233: Non-deterministic build depending on presence of cmake

Drew Parsons dparsons at debian.org
Mon Feb 17 19:11:14 GMT 2020


On 2020-02-18 01:58, Joachim Reichel wrote:
> The bug number for dh-python is #949305.
> 
> I don't see how the dh-python bug is blocking a fix here, so I'll leave
> setting the tag to you. In addition, if they decide to rank "cmake" 
> higher
> than "distutils" (e.g. when sorting the plugins alphabetically), then 
> your
> package will use the wrong toolchain all the time.

I doubt they'd prefer cmake over distutils.  But the ambiguity is real, 
since both install systems are available for the package.


> Adding a Build-Conflicts: would do the right thing, but might be a bit
> drastic. There seems to be another solution: pybuild supports "-s" or
> "--system" to select "distutils". Not sure how to make dh to pass 
> arguments to
> pybuild ... But pybuild also supports the environment variable 
> PYBUILD_SYSTEM.
> Just mentioning, I did not test that.

This sounds like the right way to go.  I think we can make it work this 
way. The package could build either way, and therefore the package build 
needs to specify the desired system.

Thanks Joachim.

Drew



More information about the debian-science-maintainers mailing list