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 kC2EMRGx+V5hLQAA0tVLHw (envelope-from ) for ; Mon, 29 Jun 2020 09:14:57 +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 mKSBLRGx+V56JwAA1q6Kng (envelope-from ) for ; Mon, 29 Jun 2020 09:14:57 +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 4D1869403CB for ; Mon, 29 Jun 2020 09:14:57 +0000 (UTC) Received: from localhost ([::1]:34672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jppsM-0003T3-OA for larch@yhetil.org; Mon, 29 Jun 2020 05:14:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jppqy-0001o6-3U; Mon, 29 Jun 2020 05:13:28 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:35475) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jppqv-0004mC-Rr; Mon, 29 Jun 2020 05:13:27 -0400 Received: from webmail.gandi.net (webmail18.sd4.0x35.net [10.200.201.18]) (Authenticated sender: brice@waegenei.re) by relay8-d.mail.gandi.net (Postfix) with ESMTPA id 308F51BF206; Mon, 29 Jun 2020 09:13:20 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 29 Jun 2020 09:13:20 +0000 From: Brice Waegeneire To: Lo Peter Subject: Re: How to debug / investigate non-reproducible build for r-repr? In-Reply-To: References: Message-ID: <69720a2c9c1f94cdf5e576ac81f12053@waegenei.re> X-Sender: brice@waegenei.re User-Agent: Roundcube Webmail/1.3.8 Received-SPF: pass client-ip=217.70.183.201; envelope-from=brice@waegenei.re; helo=relay8-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/29 05:13:22 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, 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=none; dmarc=none; 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.01 X-TUID: z34H1P+D0MrQ Hello Peter, On 2020-06-29 08:25, Lo Peter wrote: > I am trying to import r-languageserver, and one of its dependency is > r-repr, which I found that cannot be built reproducibly (on my > laptop's guix, installed on Linux Mint), i.e. > > guix build --rounds=2 r-repr > > would give the error saying that "...r-repr-1.1.0.drv differs from > previous round". > > How should I begin to investigate the issue? I'm new to fixing non reproductible build, all I ever needed thus far is using 'diffoscope'. Note that this program has a lot of optional dependencies that aren't installed by default but you get a warning when 'diffoscope' can make uses of such dependencies, in the case of 'r-repr' it wants to use 'Rscript'. Here is quick use of it: --8<---------------cut here---------------start------------->8--- $ guix environment --ad-hoc diffoscope r $ guix build r-repr --check --keep-failed … guix build: error: derivation `/gnu/store/5rbf3kb0s96m1nij5s631j1k3mnh75lg-r-repr-1.1.0.drv' may not be deterministic: output `/gnu/store/aah5bpxg1h3sf09ca1plp4cbj745n95y-r-repr-1.1.0' differs from ‘/gnu/store/aah5bpxg1h3sf09ca1plp4cbj745n95y-r-repr-1.1.0-check’ $ diffoscope --exclude-command stat /gnu/store/aah5bpxg1h3sf09ca1plp4cbj745n95y-r-repr-1.1.0{,-check} --8<---------------cut here---------------end--------------->8--- - Brice