[Pkg-octave-devel] [Reproducible-builds] Trying to fix random_buildpath_by_octave

Sébastien Villemot sebastien at debian.org
Tue Oct 27 17:36:27 UTC 2015


Le mardi 27 octobre 2015 à 13:40 +0100, Rafael Laboissiere a écrit :
> I just committed a change to the octave-pkg-dev package for removing the 
> -g option form the compilation flags [1]. The DOG packages seem to have 
> reproducible builds now, at least as regards the binary files *.oct that 
> are included in the package.
> 
> @DOG: Please, review my changes and, if you think everything is ok, I 
> will prepare a new version of octave-pkg-dev.

I am not totally happy with the solution of dropping the -g flag, but
since we currently do not generate debug packages for octave-* packages,
this is not a problem (but it will become one later, once .ddebs are
implemented).

Still, if we want to go down that road, your last commit should be
modified to use the flags generated by dpkg-buildflags (that way,
DEB_BUILD_OPTIONS and other hardening features will be honored). For
CFLAGS, you should use the result of:

 DEB_CFLAGS_MAINT_STRIP=-g dpkg-buildflags --get CFLAGS

(and similarly for other environment variables).

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://sebastien.villemot.name
  `-      GPG Key: 4096R/381A7594



More information about the Pkg-octave-devel mailing list