GNU bug report logs - #22010
Python 2.7.10 not deterministic

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: ludo@HIDDEN (Ludovic Courtès); dated Wed, 25 Nov 2015 14:40:03 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'important' from 'normal' Request was from ludo@HIDDEN (Ludovic Courtès) to control <at> debbugs.gnu.org. Full text available.

Message received at 22010 <at> debbugs.gnu.org:


Received: (at 22010) by debbugs.gnu.org; 7 Feb 2016 23:58:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 07 18:58:44 2016
Received: from localhost ([127.0.0.1]:37724 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aSZE3-0007Jc-W4
	for submit <at> debbugs.gnu.org; Sun, 07 Feb 2016 18:58:44 -0500
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:34105)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <leo@HIDDEN>) id 1aSZE1-0007JU-Sm
 for 22010 <at> debbugs.gnu.org; Sun, 07 Feb 2016 18:58:42 -0500
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id 4504F20B64;
 Sun,  7 Feb 2016 18:58:40 -0500 (EST)
Received: from frontend1 ([10.202.2.160])
 by compute5.internal (MEProxy); Sun, 07 Feb 2016 18:58:40 -0500
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=famulari.name; h=
 content-type:date:from:message-id:mime-version:subject:to
 :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=QzrThekKfTH0ldusj7qwrgrs2x0
 =; b=oeyz9utriHaShLgd8yAUTv6VJTJhiSY0x2wG75CRaXLqFNlZyxdWc/1H4iF
 HOkidsYCcHyM2cnbqPfBKHQ2qml7IlStMB7NO5nldX8C0ARsNqs2aEvOEs6AxpLF
 2LA80Cybv1/EQpIbm5ll3nMxhGkN767VsLuRqhdEdeOEqtIw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:message-id
 :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=Qz
 rThekKfTH0ldusj7qwrgrs2x0=; b=ppE9zJRvEc4y53xDBftZyH8QFHb2RUXOJD
 XJ6cYVcE1zsMynNmxO3h6F118BWbPB3AuMitIkXj8Jon7WtV5p3ru/6anl2Ci0++
 tjMl1+qMzedLiay7N7z8Es2j3YbaWWIX7UAasOpyE0+NFZT2/oFNRfpoNjJpq3tS
 WgBZBHDRQ=
X-Sasl-enc: 9QKzePn2kl5OWiMjBvrurM+oUUtTOIdo6U6+zVfssLp9 1454889519
Received: from localhost (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231])
 by mail.messagingengine.com (Postfix) with ESMTPA id E484BC0001D
 for <22010 <at> debbugs.gnu.org>; Sun,  7 Feb 2016 18:58:39 -0500 (EST)
Date: Sun, 7 Feb 2016 18:58:39 -0500
From: Leo Famulari <leo@HIDDEN>
To: 22010 <at> debbugs.gnu.org
Subject: bytecode timestamps
Message-ID: <20160207235839.GA4994@jasmine>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 22010
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Those differing bytes are the timestamps of the .py sources files that
correspond to the compiled .pyc / .pyo files. So, the
python-2.7-source-date-epoch.patch is working for software compiled by
the patched compiler, but not on python-2.7 itself.

It's related to <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22533>.




Information forwarded to bug-guix@HIDDEN:
bug#22010; Package guix. Full text available.

Message received at 22010 <at> debbugs.gnu.org:


Received: (at 22010) by debbugs.gnu.org; 13 Dec 2015 18:18:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 13 13:18:09 2015
Received: from localhost ([127.0.0.1]:50454 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1a8BDl-0002BX-6Y
	for submit <at> debbugs.gnu.org; Sun, 13 Dec 2015 13:18:09 -0500
Received: from eggs.gnu.org ([208.118.235.92]:40728)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <ludo@HIDDEN>) id 1a8BDj-0002BI-Br
 for 22010 <at> debbugs.gnu.org; Sun, 13 Dec 2015 13:18:07 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1a8BDZ-0005ht-DS
 for 22010 <at> debbugs.gnu.org; Sun, 13 Dec 2015 13:18:02 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42096)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1a8BDZ-0005hp-AL
 for 22010 <at> debbugs.gnu.org; Sun, 13 Dec 2015 13:17:57 -0500
Received: from reverse-83.fdn.fr ([80.67.176.83]:53192 helo=pluto)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1a8BDY-00080O-LV
 for 22010 <at> debbugs.gnu.org; Sun, 13 Dec 2015 13:17:57 -0500
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: 22010 <at> debbugs.gnu.org
Subject: Re: bug#22010: Python 2.7.10 not deterministic
References: <871tbef8jl.fsf@HIDDEN>
Date: Sun, 13 Dec 2015 19:17:54 +0100
In-Reply-To: <871tbef8jl.fsf@HIDDEN> ("Ludovic
 \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\=
 \=\?utf-8\?Q\?s\?\= message of "Wed, 25 Nov 2015 15:38:54 +0100")
Message-ID: <87r3iqusa5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 22010
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

ludo@HIDDEN (Ludovic Court=C3=A8s) skribis:

> As of v0.9.0-238-gd7572b4 (currently =E2=80=98tk-update=E2=80=99), Python=
 2.7.10 is not
> reproducible:
>
> $ diff -r --no-dereference /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-py=
thon-2.7.10 ,py
> Binary files /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-python-2.7.10/li=
b/libpython2.7.so.1.0 and ,py/lib/libpython2.7.so.1.0 differ
> diff -r --no-dereference /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-pyth=
on-2.7.10/lib/python2.7/config/Makefile ,py/lib/python2.7/config/Makefile
> 31,32c31,32
> < abs_srcdir=3D	/tmp/nix-build-python-2.7.10.drv-0/Python-2.7.10
> < abs_builddir=3D	/tmp/nix-build-python-2.7.10.drv-0/Python-2.7.10
> ---
>> abs_srcdir=3D	/gnu/tmp/nix-build-python-2.7.10.drv-0/Python-2.7.10
>> abs_builddir=3D	/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=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#22010; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Nov 2015 14:39:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 25 09:39:13 2015
Received: from localhost ([127.0.0.1]:52198 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1a1bE0-00078U-1q
	for submit <at> debbugs.gnu.org; Wed, 25 Nov 2015 09:39:12 -0500
Received: from eggs.gnu.org ([208.118.235.92]:41954)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <ludo@HIDDEN>) id 1a1bDv-00078C-F6
 for submit <at> debbugs.gnu.org; Wed, 25 Nov 2015 09:39:08 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1a1bDu-0003go-0k
 for submit <at> debbugs.gnu.org; Wed, 25 Nov 2015 09:39:07 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:48026)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1a1bDt-0003gj-Tu
 for submit <at> debbugs.gnu.org; Wed, 25 Nov 2015 09:39:05 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51954)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1a1bDp-0003Lr-OX
 for bug-guix@HIDDEN; Wed, 25 Nov 2015 09:39:05 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1a1bDl-0003gG-KA
 for bug-guix@HIDDEN; Wed, 25 Nov 2015 09:39:01 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50925)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1a1bDl-0003gC-GX
 for bug-guix@HIDDEN; Wed, 25 Nov 2015 09:38:57 -0500
Received: from reverse-83.fdn.fr ([80.67.176.83]:39576 helo=pluto)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1a1bDk-00040c-SN
 for bug-guix@HIDDEN; Wed, 25 Nov 2015 09:38:57 -0500
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: bug-guix@HIDDEN
Subject: Python 2.7.10 not deterministic
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 5 Frimaire an 224 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x3D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-unknown-linux-gnu
Date: Wed, 25 Nov 2015 15:38:54 +0100
Message-ID: <871tbef8jl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.6 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.6 (-----)

As of v0.9.0-238-gd7572b4 (currently =E2=80=98tk-update=E2=80=99), Python 2=
.7.10 is not
reproducible:

--8<---------------cut here---------------start------------->8---
$ diff -r --no-dereference /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-pyth=
on-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=3D	/tmp/nix-build-python-2.7.10.drv-0/Python-2.7.10
< abs_builddir=3D	/tmp/nix-build-python-2.7.10.drv-0/Python-2.7.10
---
> abs_srcdir=3D	/gnu/tmp/nix-build-python-2.7.10.drv-0/Python-2.7.10
> abs_builddir=3D	/gnu/tmp/nix-build-python-2.7.10.drv-0/Python-2.7.10
146c146
< RUNSHARED=3D       LD_LIBRARY_PATH=3D/tmp/nix-build-python-2.7.10.drv-0/P=
ython-2.7.10
---
> RUNSHARED=3D       LD_LIBRARY_PATH=3D/gnu/tmp/nix-build-python-2.7.10.drv=
-0/Python-2.7.10
Binary files /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-python-2.7.10/lib/=
python2.7/getopt.pyc and ,py/lib/python2.7/getopt.pyc differ
Binary files /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-python-2.7.10/lib/=
python2.7/getopt.pyo and ,py/lib/python2.7/getopt.pyo differ
Binary files /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-python-2.7.10/lib/=
python2.7/lib2to3/Grammar2.7.10.final.0.pickle and ,py/lib/python2.7/lib2to=
3/Grammar2.7.10.final.0.pickle differ
Binary files /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-python-2.7.10/lib/=
python2.7/lib-dynload/array.so and ,py/lib/python2.7/lib-dynload/array.so d=
iffer
Binary files /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-python-2.7.10/lib/=
python2.7/lib-dynload/gdbm.so and ,py/lib/python2.7/lib-dynload/gdbm.so dif=
fer
Binary files /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-python-2.7.10/lib/=
python2.7/lib-dynload/pyexpat.so and ,py/lib/python2.7/lib-dynload/pyexpat.=
so differ
Binary files /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-python-2.7.10/lib/=
python2.7/py_compile.pyc and ,py/lib/python2.7/py_compile.pyc differ
Binary files /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-python-2.7.10/lib/=
python2.7/py_compile.pyo and ,py/lib/python2.7/py_compile.pyo differ
Binary files /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-python-2.7.10/lib/=
python2.7/struct.pyc and ,py/lib/python2.7/struct.pyc differ
Binary files /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-python-2.7.10/lib/=
python2.7/struct.pyo and ,py/lib/python2.7/struct.pyo differ
diff -r --no-dereference /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-python=
-2.7.10/lib/python2.7/_sysconfigdata.py ,py/lib/python2.7/_sysconfigdata.py
458c458
<  'RUNSHARED': 'LD_LIBRARY_PATH=3D/tmp/nix-build-python-2.7.10.drv-0/Pytho=
n-2.7.10',
---
>  'RUNSHARED': 'LD_LIBRARY_PATH=3D/gnu/tmp/nix-build-python-2.7.10.drv-0/P=
ython-2.7.10',
502c502
<  'TESTPYTHON': 'LD_LIBRARY_PATH=3D/tmp/nix-build-python-2.7.10.drv-0/Pyth=
on-2.7.10 ./python -Wd -3 -E -tt',
---
>  'TESTPYTHON': 'LD_LIBRARY_PATH=3D/gnu/tmp/nix-build-python-2.7.10.drv-0/=
Python-2.7.10 ./python -Wd -3 -E -tt',
526,527c526,527
<  'abs_builddir': '/tmp/nix-build-python-2.7.10.drv-0/Python-2.7.10',
<  'abs_srcdir': '/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',
>  'abs_srcdir': '/gnu/tmp/nix-build-python-2.7.10.drv-0/Python-2.7.10',
Binary files /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-python-2.7.10/lib/=
python2.7/_sysconfigdata.pyc and ,py/lib/python2.7/_sysconfigdata.pyc differ
Binary files /gnu/store/q405y94pbnx028mygranaww5pnbqhnq1-python-2.7.10/lib/=
python2.7/_sysconfigdata.pyo and ,py/lib/python2.7/_sysconfigdata.pyo differ
--8<---------------cut here---------------end--------------->8---

The pyc/pyo differ by one 32-bit value starting on the 5th byte of the
file.

Ludo=E2=80=99.




Acknowledgement sent to ludo@HIDDEN (Ludovic Courtès):
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#22010; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 25 Mar 2016 09:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.