Re: [Pkg-octave-devel] [Reproducible-builds] Trying to fix random_buildpath_by_octave
- To: pkg-octave-devel@lists.alioth.debian.org
- Subject: Re: [Pkg-octave-devel] [Reproducible-builds] Trying to fix random_buildpath_by_octave
- From: Oliver Heimlich <oheim@posteo.de>
- Date: Sun, 7 Feb 2016 13:46:55 +0100
- Message-id: <[🔎] 56B73CBF.1020705@posteo.de>
- In-reply-to: <1445967387.14849.38.camel@debian.org>
- References: <20151025200954.GO7853@laboissiere.net> <20151026110536.GJ18872@reiner-h.de> <20151026194242.GU7853@laboissiere.net> <20151026210613.GA24734@reiner-h.de> <20151027124049.GB22021@laboissiere.net> <1445967387.14849.38.camel@debian.org>
On 27.10.2015 18:36, Sébastien Villemot wrote:
> 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).
>
What is the state of random build paths? The octave-interval package
does not build reproducible because of the random build paths, so I
guess the change isn't active yet.
https://tests.reproducible-builds.org/rb-pkg/unstable/amd64/octave-interval.html
How about using a workaround and exchange the tempname function with
something that returns [tempdir]/oct-[counter]?
Oliver
Reply to: