Help with Mroonga to finally get all of MariaDB Server reproducible

Mattia Rizzolo mattia at debian.org
Tue Oct 12 10:14:23 BST 2021


On Tue, Oct 12, 2021 at 09:53:53AM +0100, Chris Lamb wrote:
> > 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.
> 
> 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.

But that's not appropriate either.  ;)

One should never *set* DEB_BUILD_OPTIONS in d/rules.  Instead, they
should set DEB_BUILD_MAINT_OPTIONS, which (according to
dpkg-buildflags(1)) overrides DEB_BUILD_OPTIONS by also merging its
non-conflicting values.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
More about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20211012/38750de1/attachment.sig>


More information about the Reproducible-builds mailing list