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 9oJ1AjMAAmCoIgAA0tVLHw (envelope-from ) for ; Fri, 15 Jan 2021 20:50:59 +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 UAdqOTIAAmBCeAAA1q6Kng (envelope-from ) for ; Fri, 15 Jan 2021 20:50: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 728819403A9 for ; Fri, 15 Jan 2021 20:50:58 +0000 (UTC) Received: from localhost ([::1]:37028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l0W3c-0000zX-In for larch@yhetil.org; Fri, 15 Jan 2021 15:50:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0W3Q-0000ym-Ga for help-guix@gnu.org; Fri, 15 Jan 2021 15:50:44 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:34550) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l0W3O-0007jf-R0 for help-guix@gnu.org; Fri, 15 Jan 2021 15:50:44 -0500 Received: by mail-wr1-x42c.google.com with SMTP id q18so10595249wrn.1 for ; Fri, 15 Jan 2021 12:50:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=JCjuY6YFYrSbTYNs1uU64svOcwwcVei5xb0blyYN7rk=; b=B3g6t+fM1socbbADyeIZUthH4xqMW3BhUE5rpLLeka1uo0TUFz8icqg/FAVVMGHHkh tYuJaLxxA1B2FYcypCVn6LcdQoP4bG3oaf6CzUxAKYYpvZgB582fz4zXukmcPoGdASmu sjGFTUHEkNxm1bKjcIeCu/2S1TZ3g0TCpONJGVJfmP0wMzIRuPGTXrQskRkxKCa5Iggc teZSwqQzcY4eHeMnqGNYhkkT25HaM0BwSbNX9kZcHJFhgz+jjl1nlA2M9MnLz1uvD8dY Sqx2hPEutz92t7aMLLHjroCWSdjPswfb5TUGmIxqlXViO4EcW+9+ybyvoK5mdFxsSSSB nr8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=JCjuY6YFYrSbTYNs1uU64svOcwwcVei5xb0blyYN7rk=; b=Dt4z9lHltbJq4/aGaY6zVkZOLqk4AqQ+hrVq9KfYJhwVlGyDKwskOHb9PHBxqJ2g8U Au1ltYZqwyp0FgW9cN45S8O74gYTuB0t7kN8+SDkddH7UnMOq6gnPgFZUjmAFLHwBmqU T9AqK7+cHsdXof25zD9Ix1xm9wG/3oEepmPgXL9PFeVI0iZEgvgCdQvxQ0f1WqbmeRuN fvK8+sUM6AVKFFMgjk7OVZB7qRW6bEG0JZNYTYffK+9WSxHu2S3iGzx9VN+VfWh7/iAj jkDd+KE8Dt5dDnU+4VFInie+s/2ylmLH1q0E+mjdfEmDuFSCqLGIp4FU+tAiVQVugtoF hVXA== X-Gm-Message-State: AOAM531Sq7bO4G+njKxrdwl53z89NS+pR3sp5/7T9ROm2leXNcugk8Jr EqT8EvTJGU9N6SZFMKBp6bI++irHysI= X-Google-Smtp-Source: ABdhPJzBwFGiwAqTKpjIBzRWGhMVB4pW0t0sAOEHXHsOZ1wZ7fa+31mnhU+jKZQSLKjvDtzQweWBdg== X-Received: by 2002:adf:c109:: with SMTP id r9mr15105200wre.261.1610743837237; Fri, 15 Jan 2021 12:50:37 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id o23sm17428596wro.57.2021.01.15.12.50.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 12:50:36 -0800 (PST) From: zimoun To: Wiktor =?utf-8?Q?=C5=BBelazny?= , help-guix@gnu.org Subject: Re: guix time-machine, broken hash in an old package definition, a workaround? In-Reply-To: <20210115201859.z4rlqu4xnsphowm4@wzguix> References: <20210113132223.x4wgnwwph2jwtfb5@wzguix> <20210113193730.efv5qknqcbwit4jk@wzguix> <20210114083000.ak4de227ipfi37pg@wzguix> <86eeinsvbg.fsf@gmail.com> <20210114190030.suymnghk5mhteseu@wzguix> <86r1mnl0sj.fsf@gmail.com> <20210115201859.z4rlqu4xnsphowm4@wzguix> Date: Fri, 15 Jan 2021 21:48:20 +0100 Message-ID: <86h7nikju3.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::42c; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42c.google.com 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=ham autolearn_force=no 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=B3g6t+fM; 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-Migadu-Queue-Id: 728819403A9 X-Spam-Score: -2.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: sCjfw98fdJEv Hi, On Fri, 15 Jan 2021 at 21:18, Wiktor =C5=BBelazny wrote: > On Thu, Jan 14, 2021 at 09:29:48PM +0100, zimoun wrote: >> you will not get the exact R packages as they were at the time of >> d81fb2a; > > Can you, please, elaborate on that? Do you mean by that that the > different r-foreign will result in a different r, and that will Yes. Bit-to-bit different but you can expect functionally similar. > propagate to the packages, as they depend on r? But R does not compile > the R code in the packages while they are being installed, does it? Am I > missing something? If it were the issue wouldn=E2=80=99t it occur also in= your > `./pre-inst-env` approach? Same root of problem, same consequence. :-) This upstream bad practise is not fixable; whatever the mean. > A new idea: I just checked =E2=80=9CCRAN Time Machine=E2=80=9D at MRAN. T= he tarball with > the 0g4mi101srjbl17ydb2hl3854m3xj0llj6861lfr30sp08nkqavl hash is there. > I guess I can use `build --with-source=3D` now, maybe even `environment > --with-source=3Dr-foreign=3D`? Perhaps a more elegant solution would be to > define r-foreign-fixed, as you describe above, yet this time leaving the > hash, but changing the URL. Are there philosophical reasons for not > using MRAN? Oh, thanks for the pointer. Yeah, in this case it is possible to use --with-source, maybe combined with another trick to populate your store with the expected by d81fb2a tarball. And then simply use =E2=80=9Cguix time-machine=E2=80=9D as usual. The API needs to be checked, maybe it should be possible to automatise the fallback: try Guix build farm, then upstream, then SWH, then CRAN for R build system. Maybe. :-) All the best, simon