Subject: Re: bug#22010: Python 2.7.10 not deterministic

From: [email-masked] (Ludovic Courtès)
Date: Sun, 13 Dec 2015 19:17:54 +0100

[email-masked] (Ludovic Courtès) skribis:

> As of v0.9.0-238-gd7572b4 (currently ‘tk-update’), Python 2.7.10 is not
> reproducible:
>
> $ diff -r --no-dereference /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-python-2.7.10 ,py
> Binary files /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-python-2.7.10/lib/libpython2.7.so.1.0 and ,py/lib/libpython2.7.so.1.0 differ
> diff -r --no-dereference /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-python-2.7.10/lib/python2.7/config/Makefile ,py/lib/python2.7/config/Makefile
> 31,32c31,32
> < abs_srcdir=	/tmp/nix-build-python-2.7.10.drv-0/Python-2.7.10
> < abs_builddir=	/tmp/nix-build-python-2.7.10.drv-0/Python-2.7.10
> ---
>> abs_srcdir=	/gnu/tmp/nix-build-python-2.7.10.drv-0/Python-2.7.10
>> abs_builddir=	/gnu/tmp/nix-build-python-2.7.10.drv-0/Python-2.7.10

This problem is sidestepped with commit cb96010, where the daemon always
use /tmp/nix-build*.drv-0 inside the build environment.

It will disappear when we have upgraded the daemon on the build
machines.

Ludo’.