[Debian-med-packaging] Bug#949379: vmatch: please make the build reproducible

Sascha Steinbiss satta at debian.org
Mon Jan 20 15:17:58 GMT 2020


Hi Chris,

> Whilst working on the Reproducible Builds effort [0] we noticed that
> vmatch could not be built reproducibly.
> 
> Patch attached that ensures that the vmrelease.h file does not contain
> the build time and the hostname of the build system.

Thanks!

> However, vmatch remains unreproducible even when this is applied. My
> best guess at this moment is because it is not actually being built
> with the -fdebug-prefix-map=... GCC argument in places:
> 
>   $ grep 'gcc ' build.log | grep -v prefix-map | wc -l
>   348
> 
> … in other words, it is not respecting CFLAGS / dpkg-buildflags.

There are a couple of other things in the build process I am also going
to look at shortly. As you might have noticed, the package does not
build on some archs due to -m32/-m64 mixups and situations where these
should be dropped altogether. This is a result of upstream having
autogenerated very specific build configurations for some archs, and I
feel that these can and should be simplified quite a bit.
I will address the flags as well when working on that -- thanks for
pointing it out.

Cheers
Sascha



More information about the Debian-med-packaging mailing list