Help with Mroonga to finally get all of MariaDB Server reproducible

Chris Lamb lamby at debian.org
Tue Oct 12 09:53:53 BST 2021


Hi Otto,

> In https://github.com/mroonga/mroonga/issues/298 you wrote:
>> You could also build with
>> DEB_BUILD_OPTIONS=reproducible=-fixfilepath,+fixdebugpath and then
>> it might actually show the embedded build paths
>
> This is the next step I should do to debug. However I don't understand
> the context here. DEB_BUILD_OPTIONS is something one gives to the
> build, but I don't build reproducible builds locally but only upload
> the source code. Only place I do anything is in debian/rules where it
> is _read_ but never set.

Just replying to this bit as I have a slight timezone advantage over
Vagrant. I believe that, from your point of view, "build with
DEB_BUILD_OPTIONS" refers to setting this variable in debian/rules and
then uploading the [source] package as before. For example:

  export DEB_BUILD_OPTIONS=reproducible=-fixfilepath,+fixdebugpath

This environment variable will affect the workings and output of
dpkg-buildflags(1), setting different compiler flags where needed.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org 🍥 chris-lamb.co.uk
       `-




More information about the Reproducible-builds mailing list