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

Oliver Heimlich oheim at posteo.de
Fri Feb 12 21:43:35 UTC 2016


On 11.02.2016 07:24, Rafael Laboissiere wrote:
> * Oliver Heimlich <oheim at 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?

Yes, but the build systems use isolated environments, don't they?

Oliver



More information about the Pkg-octave-devel mailing list