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

Oliver Heimlich oheim at posteo.de
Thu Feb 11 00:01:15 UTC 2016


On 11.02.2016 00:23, Rafael Laboissiere wrote:
> I guess that the build is unreproducible because the package with
> debugging symbols, octave-interval-dbgsym, contains several instances of
> the "/tmp/oct-XXXXXX" directory name.
> 
> Rafael

Yes, I guess that this is the reason.

Compilation with
octave \
	--eval "function s = tempname (); persistent counter = 0; counter++; s
= strcat (tempdir, 'oct-', num2str (counter, '%06d')); endfunction;" \
	--eval "pkg ('build' …)"

should fix the non-deterministic directory names (in the log and for the
dbgsyms).

Oliver



More information about the Pkg-octave-devel mailing list