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 `-
signature.asc
Description: PGP signature
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/reproducible-builds