[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



* Oliver Heimlich <oheim@posteo.de> [2016-02-11 01:01]:

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.

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).

Would not this prevent the concurrent build of packages in the same system?

Rafael



Reply to: