From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uMNGC07A+V6SEAAA0tVLHw (envelope-from ) for ; Mon, 29 Jun 2020 10:19:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0LYhB07A+V7aUwAA1q6Kng (envelope-from ) for ; Mon, 29 Jun 2020 10:19:58 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 809249400B1 for ; Mon, 29 Jun 2020 10:19:57 +0000 (UTC) Received: from localhost ([::1]:52142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpqtG-0002Gs-Lg for larch@yhetil.org; Mon, 29 Jun 2020 06:19:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpqt6-0002F7-W2; Mon, 29 Jun 2020 06:19:45 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:39675) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jpqt5-0007GZ-96; Mon, 29 Jun 2020 06:19:44 -0400 Received: by mail-wr1-x429.google.com with SMTP id q5so15951135wru.6; Mon, 29 Jun 2020 03:19:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=0mnhxptpAeVGASFNkBGRHwX2HAEl1uYrHfqCqD8qbHw=; b=bOZd+SbsMPRpxzBlASHw69HP1C+ckXGyx7KpCCW1T2KK/gMSDvEw5R53mpLV68R7va JOYlUYr1IXeQQzPFDc97M7FjWtQ8uPAcFLJkCfu4KHZlHG25Pj//8xGLiT3tGNRsVQRX l8832R2tHr+Bcds0gceSJ14M9k2jNmyO4I4UGxCbb5uyjleOE3zsYLse1VkD27LMmGSX ELafGp7Is7gYThO2rtVgcr7F2qHavFGRolahaPVlDomZjWucRYkwkcV5ko3FQ84Oz9J8 pTfLDUDVyza00hvW3lMNcArF3sVL/UH9LcC3lRmkWSYpoewOZn4xcyYYdsu0eGif8aU0 VBug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=0mnhxptpAeVGASFNkBGRHwX2HAEl1uYrHfqCqD8qbHw=; b=GdUXLOAL7zbGnqvAdgsx9gDoFOn8GiyCUgdrDwjwL5FyHydXgXsV41WJK6MtRVEdF3 /qqe/Fduna4EHOcWYQQNVEVJe2c/eJlS2IPxtJiScH/Plx1TW8hhL+s9kIIOUK9I7yEf RBynFF6Ff3G58lBK0ghczlY879PM2WqBUvr6fx8PxvwXEZPQdD9L5MKAQn1nOb3Q2Tcl IiFDpj8olkMmyRTrmWD16sSPIJXVJD7V2PebBhXH/B51JphaJgHp/OTHWjok9r5ZPReJ Um2HgLUSckNds8kSaRCtfqDidywBxQR4/1N5AYcfajHiPJniaZg0HrOcXlohbB6Y+Sw2 Pxng== X-Gm-Message-State: AOAM530CV9NlS9+3kBWCYb46WXIYtc7VKOIjLjM3Zp5bODxc2UkriV7W KF/mq3uOslcVv11oxaMZNJDhLgOogFg= X-Google-Smtp-Source: ABdhPJz8SCwWsA6b7n+RR8SSKxvTxQLwFtC1kowDSbd9jhqg7lnIsl/jXs6iKymZqDkN9BqaPrwWbQ== X-Received: by 2002:adf:eccd:: with SMTP id s13mr17479772wro.217.1593425981255; Mon, 29 Jun 2020 03:19:41 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id d28sm51847503wrc.50.2020.06.29.03.19.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jun 2020 03:19:40 -0700 (PDT) From: zimoun To: Brice Waegeneire , Lo Peter Subject: Re: How to debug / investigate non-reproducible build for r-repr? In-Reply-To: <69720a2c9c1f94cdf5e576ac81f12053@waegenei.re> References: <69720a2c9c1f94cdf5e576ac81f12053@waegenei.re> Date: Mon, 29 Jun 2020 12:19:39 +0200 Message-ID: <86lfk6b2dg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x429.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Help-Guix , help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=bOZd+Sbs; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: 0.79 X-TUID: 5W9KpbdHQsr0 Dear, To complement what Brice said. On Mon, 29 Jun 2020 at 09:13, Brice Waegeneire wrote: > --8<---------------cut here---------------start------------->8--- > $ guix build r-repr --check --keep-failed > =E2=80=A6 > guix build: error: derivation=20 > `/gnu/store/5rbf3kb0s96m1nij5s631j1k3mnh75lg-r-repr-1.1.0.drv' may not=20 > be deterministic: output=20 > `/gnu/store/aah5bpxg1h3sf09ca1plp4cbj745n95y-r-repr-1.1.0' differs from=20 > =E2=80=98/gnu/store/aah5bpxg1h3sf09ca1plp4cbj745n95y-r-repr-1.1.0-check= =E2=80=99 > --8<---------------cut here---------------end--------------->8--- Before going to "diffoscope", personally I try to identify which files are offending, something like: --8<---------------cut here---------------start------------->8--- diff -r --no-dereference /gnu/store/75xc2l38ml4mz7w2cb4qhg08vs34xr3i-r-repr= -1.1.0{,-check} Binary files /gnu/store/75xc2l38ml4mz7w2cb4qhg08vs34xr3i-r-repr-1.1.0/site-= library/repr/R/repr.rdb and /gnu/store/75xc2l38ml4mz7w2cb4qhg08vs34xr3i-r-r= epr-1.1.0-check/site-library/repr/R/repr.rdb differ Binary files /gnu/store/75xc2l38ml4mz7w2cb4qhg08vs34xr3i-r-repr-1.1.0/site-= library/repr/R/repr.rdx and /gnu/store/75xc2l38ml4mz7w2cb4qhg08vs34xr3i-r-r= epr-1.1.0-check/site-library/repr/R/repr.rdx differ --8<---------------cut here---------------end--------------->8--- Well, you need to check the files "repr/R/repr.{rdb,rdx}". Because of the option "--keep-failed", you can go to "/tmp/guix-build-r-repr-1.1.0.drv-0" and give a look to how these files are produced. The classical source of non-determinism is date. Then if everything appears to you as expected, then you can go to "diffoscope". Hope that helps, simon