[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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



Reply to: