From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#21803: guitarix non-reproducible hard to reproduce Date: Sat, 16 Nov 2019 17:12:18 +0100 Message-ID: <87y2wfx0kd.fsf@gnu.org> References: <87sgmropu2.fsf@gnu.org> <87v9rmmah9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56775) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iW0h5-0008Sp-9o for bug-guix@gnu.org; Sat, 16 Nov 2019 11:13:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iW0h4-0003u5-Cq for bug-guix@gnu.org; Sat, 16 Nov 2019 11:13:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59021) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iW0h4-0003u0-9t for bug-guix@gnu.org; Sat, 16 Nov 2019 11:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iW0h4-000755-2n for bug-guix@gnu.org; Sat, 16 Nov 2019 11:13:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (zimoun's message of "Fri, 15 Nov 2019 20:46:13 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: zimoun Cc: 21803@debbugs.gnu.org Hello! zimoun skribis: > My intuition is: the non-determinism comes from the WAF configuration > files (./waf or wscript or wafadmin/). > > The process conditionally enters in functions such as "do_install" or > "symlink_as", so maybe something is hidden by Python module "os" or > similar. Moreover, note that wscript:l.990 "add_group()" is used after > "add_subdirs('libgxw/gxw')". My intuition :-) is that waf traverses files using directly opendir/readdir, which returns files in an order that=E2=80=99s file system-dependent. That, in turn, leads it to make .so a symlink or not in a non-deterministic fashion. So I would suggest looking for uses of =E2=80=98readdir=E2=80=99 (or anythi= ng equivalent in Python). It would also be worth checking what others involved in the Reproducible Builds effort have done (Debian, openSuSE, etc.). Thanks, Ludo=E2=80=99.