From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YGAPK93p/V7fDwAA0tVLHw (envelope-from ) for ; Thu, 02 Jul 2020 14:06:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GCwIJ93p/V4yUwAAB5/wlQ (envelope-from ) for ; Thu, 02 Jul 2020 14:06:21 +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 02E4A940704 for ; Thu, 2 Jul 2020 14:06:20 +0000 (UTC) Received: from localhost ([::1]:45040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqzr0-0001Xe-3T for larch@yhetil.org; Thu, 02 Jul 2020 10:06:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqzqs-0001X6-Ie for help-guix@gnu.org; Thu, 02 Jul 2020 10:06:10 -0400 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]:34630) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqzqq-00005e-Uk for help-guix@gnu.org; Thu, 02 Jul 2020 10:06:10 -0400 Received: by mail-qt1-x832.google.com with SMTP id w34so1227694qte.1 for ; Thu, 02 Jul 2020 07:06:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MgbudcKCOaoVXuDkf6IOEfSZfiaJaPkJkBw3c4ElXyM=; b=q9v1+kIXxgJpP2mvItT37MEL6xI1O/vDJHyjxt0PpcS+sa7Q760z09Ki7zZ8iOxPNI bDfmJC0KktBSg/jsbDkO8WD6eGIkglUkbmhJEy0d2TPdSTN/KdW3Q4KWwzymrYnjSS9n jDoSBU/i16JugtZHaAQDqvQ/XbaQ75XgkAF27VJ2rHIaGFQfvoLj77R1CekP4pbItcmo v9Tc+1Qist6HxreP9MGZQN37gH3mRm8rr8BXL1n/AN03BJYBQmUGy58vn9+fnkHyKYU7 vlB3t0+fWRrLcBYnxr/gFfcUmr+dwVvtZmpcw0VQaBeDjN13rS3mKzMgXnLnZhYuRMoA gwtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MgbudcKCOaoVXuDkf6IOEfSZfiaJaPkJkBw3c4ElXyM=; b=liDcZhHpoZ2ngpUMMgtQoIMXNWhd/kn+YYt4l/2oXO9tEdTzmExJfjth2wd+sBLRU6 CqulRgcZPC0x9xOPyvSgfMoC99xrDMpoWm5w5TB5mf7+RhnzmjbIKgdiWtQ9GbbzmgA1 r4JZWeVhO9/d345iG42NoIiFn95fc96tyyeJh5Zd2qJ3fc44z7De+9JTFoY1CfCb5XRy Wx/dU2G8s2gfWpBeZk5WPJMK4vCYeDAo83Gz54b3Io6Nl0wqYxLFcxIJBEkXcP1cWw2A v8/oXPzVhEyW/a46voQ4TISZYjPlrV+TS84tG0ZKL21q6EH7unypL43nLLX0O5fa+2iI 5P/w== X-Gm-Message-State: AOAM533VdHLBhFmokM0Jc+kdMgGA9jJz4YB+eo55ECDmArO9p4+T1VxQ 9d7oXbJSnsshq1Bfj0o+oQY/CvraptQa0Eh8y8H8upWAZ7A= X-Google-Smtp-Source: ABdhPJzPBzpQKEw24ceXBK3z6kCe/KOycLy97CW2F/S+Ems+bZjno/iKJ0ZKmnEPvXbMhIKWFMnYBVyPqoLM0oj15WE= X-Received: by 2002:aed:204e:: with SMTP id 72mr30575520qta.313.1593698767771; Thu, 02 Jul 2020 07:06:07 -0700 (PDT) MIME-Version: 1.0 References: <87v9j6kshl.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> <87pn9ekpfy.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> In-Reply-To: <87pn9ekpfy.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> From: zimoun Date: Thu, 2 Jul 2020 16:05:56 +0200 Message-ID: Subject: Re: hash mismatch on permanently moved URL To: Giovanni Biscuolo Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::832; envelope-from=zimon.toutoune@gmail.com; helo=mail-qt1-x832.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 Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=q9v1+kIX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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.09 X-TUID: QuCgpzAD8xdm On Thu, 2 Jul 2020 at 15:38, Giovanni Biscuolo wrote: > Actually this is a in-place *displacement* (with HTML) :-O I do not know what is an "inplace displacement (with HTML)". > Anyway: I guess there will be potentially other issues like this one in > the future (permanent redirections to web pages instead of sources) and > unfortunately (AFAIU) Guix will not be able to use alternative sources > like Software Heritage: WDYT about considering 301 and 302 HTTP codes as > "soft failures" and making Guix considering the alternative sources? Redirection should not be an issue. The important point is the integrity of the data (the sha256 field). And here, there is a mismatch: expected hash: 0v0xsf14xwlj125y9fd8lrhsaych4d8liv8gr746zng6g225szb2 actual hash: 1qfbm2kh7hzd8752rky9dzis8qhgkhs6dkq71k8zar8y74nz7265 08m27r3wrlaxrzzgjqnqsbcz8hmll9sbd1z1wk3js9wr09q3l1q5 Well, even I am not sure if the tarball is stable and if the checksum does not vary. Anyway! > Problems like this one are very bad for our time machine, I'm just > thinking if Guix can do something to prevent them. I agree. But Guix cannot fix the world. :-) What is currently done seems The Right Thing: 1. fetch from the Guix farm 2. try with the current upstream 2b. try a mirror if any 3. fallback to SWH You hit the problem because you turn off the fallback to the Guix farm, BTW, the fallback to SWH is not ready yet for 2 main reasons: a) SWH has not yet ingested all the source tarballs in existence of Guix; and it is not ready. What is ready is to ingest the current source tarballs but nothing has been done to feed with all the past source tarballs. b) It is not clear how to fetch back the raw tarball from SWH since they do not store the checksum but their own hash id (SWHID). Some discussion about correspondence and so on is happening right now. :-) > and guix pull is going on now, building half of the world! :-) Nice if it works for you! :-) Cheers, simon