From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qD6iISetbGAHMgAAgWs5BA (envelope-from ) for ; Tue, 06 Apr 2021 20:49:11 +0200 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 QICwGyetbGD9YAAA1q6Kng (envelope-from ) for ; Tue, 06 Apr 2021 18:49:11 +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 C17A124577 for ; Tue, 6 Apr 2021 20:49:10 +0200 (CEST) Received: from localhost ([::1]:41080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTqlB-0004pV-5v for larch@yhetil.org; Tue, 06 Apr 2021 14:49:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTql4-0004pK-Gq for bug-guix@gnu.org; Tue, 06 Apr 2021 14:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58446) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTql4-00026F-9e for bug-guix@gnu.org; Tue, 06 Apr 2021 14:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lTql4-0007cy-8V for bug-guix@gnu.org; Tue, 06 Apr 2021 14:49:02 -0400 Subject: bug#47486: runc: hash mismatch Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Tue, 06 Apr 2021 18:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 47486 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun Mail-Followup-To: 47486@debbugs.gnu.org, maxim.cournoyer@gmail.com, zimon.toutoune@gmail.com Received: via spool by 47486-done@debbugs.gnu.org id=D47486.161773492529291 (code D ref 47486); Tue, 06 Apr 2021 18:49:02 +0000 Received: (at 47486-done) by debbugs.gnu.org; 6 Apr 2021 18:48:45 +0000 Received: from localhost ([127.0.0.1]:41757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTqkm-0007cM-KN for submit@debbugs.gnu.org; Tue, 06 Apr 2021 14:48:44 -0400 Received: from mail-qt1-f181.google.com ([209.85.160.181]:43944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTqkj-0007c6-K9 for 47486-done@debbugs.gnu.org; Tue, 06 Apr 2021 14:48:42 -0400 Received: by mail-qt1-f181.google.com with SMTP id s2so11942526qtx.10 for <47486-done@debbugs.gnu.org>; Tue, 06 Apr 2021 11:48:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=HtYXyd9U8RmD6pQFKuXAd4IE5FuKkf2afmQaNY2+lmw=; b=Lb69wbtYBcbSAZsbZvJaj8hl1FjOAhVgwINCYGdjLYPNtVryiWhLj35FqyA6odDeXa GtXNCQXe/Rjo6yJUmiwnH3ZY5TTXmmi7eUfcMv2hu0DiNWjuQeo93gqfEretALNuK5ab c6qRbvacw3Q87N1UZ/mdnH3V7zBp6Exf2MMo00KB8RPhfXWwcqxF1nnIBuVQJYx1ADtH V4oe4JDbI/aHKChxxJ3TZD6lDqxAEGAJTck/TJdN2L5jtmxnkqr8Prw3gZdUEAxk+VEc tTyLjXE7OxI539sBFiU2cAaDNuYp1dAzPAwgJq60MJSNlYlInVs4mNKezF3jyiQKpC4U Lu/Q== 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:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=HtYXyd9U8RmD6pQFKuXAd4IE5FuKkf2afmQaNY2+lmw=; b=PdgSxiiG8EsTCy9ePr2Z4p27VRW6cGPGk5L2xxzITs+F/1GfsTTQcx+WLCrBaFmSyy i3zZ1/RRf3yiqiPrEtjpTm6nxniZUINQcvKyIMjW89go4wQ7DfjWgA0EkmZ/+1MkMZax GrTkeOaUSR/q52sajmlCv3qP/t0GvAjlmnl+meC7FsGyBAaTZKOuFCUTIS7a3DaUxgcb wcIutXZBGY1OjKDaOBY4dhXo2jnjuYGg9DHl1RTr3vPfl6Ar4qRy/eSnJ/H3lQj7+xM/ +lX4uHGCuuZq+9I+dbH4EXDNL7wSr6YlFrbAyqiVUTokR6wpVKcrZ7Ar8i5+Upu3QGap b3bA== X-Gm-Message-State: AOAM531045heWYI5mbDT9yrfNIuAuYBVJVrFnC4NBxTGDqHaDuc2AowZ PoIWSp4BBgUKEXgeopjuaPoefkuFQok= X-Google-Smtp-Source: ABdhPJx4Sr+k7Swts3rmXOBgBDYgo0qrHKgosF8PWrsHuRkJzzSVjppmlT6miueO0wFcPrAoGRGr5A== X-Received: by 2002:ac8:5e89:: with SMTP id r9mr28513628qtx.10.1617734915943; Tue, 06 Apr 2021 11:48:35 -0700 (PDT) Received: from hurd (dsl-149-132.b2b2c.ca. [66.158.149.132]) by smtp.gmail.com with ESMTPSA id c5sm16810098qkg.105.2021.04.06.11.48.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 11:48:35 -0700 (PDT) From: Maxim Cournoyer References: Date: Tue, 06 Apr 2021 14:48:34 -0400 In-Reply-To: (zimoun's message of "Mon, 29 Mar 2021 22:50:46 +0200") Message-ID: <874kgjp7ul.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 47486-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617734951; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=HtYXyd9U8RmD6pQFKuXAd4IE5FuKkf2afmQaNY2+lmw=; b=fZqWXnaSZw09A1tnDx0MJoPA+p8B/AQalU094uNYNEAi55D+FzWp7Q3+h0eb84foevNYwi oHXksSx3HUV/5Zqghvd0tZfcndcRK0q6Wby4uUvlMfBr8QYipdGFg5wXA3nCAMsgC3MdZP 17RxPNMmoVmlqIjI/USN5/d/blEKSO8xzUuWqiyjPANJreMSuTxyvcjbVegWJUzzlZZvdP B05aTDLesyqvdt+k/+ycylB3iNM4/X0+2GW4C3XlFNi7b6t1Pjn7KXMh+76JUNx19Rs7CB jY3gZGYWIA/1PXzdIImcj19wk765C6An/6fJPrRh/uq6gf/N4L28e4wTEQgkZg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617734951; a=rsa-sha256; cv=none; b=j/Yf3MgefBKM719kqnsqBC08EK+/33LiabDxXUymPBWoe9mwC6m8PsbLXyi88rKQux8q4+ xkd+lk5H+qHQDwbZ/1whzpRU3vcgc1MygXpcon/Qt4vFBdnlu92myR5nkCFuW3e2gqhlUr 58lgBTb5Swthum/eLv333/qgnevQyimrkTg/j3lGPKkN3mhasdUE97HjQjamjLTBY04+aL DiST5SAQbAbNLUWsBU//S+9FzbvYv8S6Er7wYZiW5XZWdccWJqFxQNwD6JJ1FL41G4EfoW l7YeajonxthS3K5zv63ktWAUSZmVF9NB/zFwJMWuEKBT46WoGVgrsaxR/WhJRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=Lb69wbtY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: 0.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=Lb69wbtY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: C17A124577 X-Spam-Score: 0.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: Yq3fnKmPMlmP Hello Simon, zimoun writes: > Hi, > > Using Guix 55685e4, I get: > > $ guix build -S --no-substitutes runc > The following derivations will be built: > /gnu/store/19iqvzkdx514xm8hs5sn2clcn5pvfswm-runc-1.0.0-rc6.tar.xz.drv > /gnu/store/ml7q5rz9xziqg1c85j9b9059mifqc8gs-runc-1.0.0-rc6.tar.xz.drv > building /gnu/store/ml7q5rz9xziqg1c85j9b9059mifqc8gs-runc-1.0.0-rc6.tar.x= z.drv... > > Starting download of > /gnu/store/i2aqpvr4ga4j6cw718jmnmrm209f37ls-runc-1.0.0-rc6.tar.xz >>>From https://github.com/opencontainers/runc/releases/download/v1.0.0-rc6/= runc.tar.xz... > following redirection to > `https://github-releases.githubusercontent.com/36960321/fe863f80-d2a1-11e= a-908b-c3f145ce2ec0?X-Amz-Algorithm=3DAWS4-HMAC-SHA256&X-Amz-Credential=3DA= KIAIWNJYAX4CSVEH53A%2F20210329%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date= =3D20210329T204903Z&X-Amz-Expires=3D300&X-Amz-Signature=3Dda77301e6f45dbdb8= f5e540abb05fff40c15fd6a5688ae365694b5584183956c&X-Amz-SignedHeaders=3Dhost&= actor_id=3D0&key_id=3D0&repo_id=3D36960321&response-content-disposition=3Da= ttachment%3B%20filename%3Drunc.tar.xz&response-content-type=3Dapplication%2= Foctet-stream'... > downloading from > https://github.com/opencontainers/runc/releases/download/v1.0.0-rc6/runc.= tar.xz > ... > runc.tar.xz 528KiB 33.4MiB/s 00:00 [##################]= 100.0% > sha256 hash mismatch for > /gnu/store/i2aqpvr4ga4j6cw718jmnmrm209f37ls-runc-1.0.0-rc6.tar.xz: > expected hash: 1c7832dq70slkjh8qp2civ1wxhhdd2hrx84pq7db1mmqc9fdr3cc > actual hash: 05i1j4xqwnva30c24gcrdvdx6wcjqgpyz7cn3gi0bs6jlcfv43gs > hash mismatch for store item > '/gnu/store/i2aqpvr4ga4j6cw718jmnmrm209f37ls-runc-1.0.0-rc6.tar.xz' > build of /gnu/store/ml7q5rz9xziqg1c85j9b9059mifqc8gs-runc-1.0.0-rc6.tar.x= z.drv > failed > View build log at > '/var/log/guix/drvs/ml/7q5rz9xziqg1c85j9b9059mifqc8gs-runc-1.0.0-rc6.tar.= xz.drv.bz2'. > cannot build derivation > `/gnu/store/19iqvzkdx514xm8hs5sn2clcn5pvfswm-runc-1.0.0-rc6.tar.xz.drv': > 1 dependencies couldn't be built > guix build: error: build of > `/gnu/store/19iqvzkdx514xm8hs5sn2clcn5pvfswm-runc-1.0.0-rc6.tar.xz.drv' > failed Indeed it has change! I've reported it upstream here: https://github.com/opencontainers/runc/issues/2895. To learn about what changed, I ran the following commands: --8<---------------cut here---------------start------------->8--- $ wget https://ci.guix.gnu.org/file/runc-1.0.0-rc6.tar.xz/sha256/1c7832dq70= slkjh8qp2civ1wxhhdd2hrx84pq7db1mmqc9fdr3cc -O old.tar.xz $ wget https://github.com/opencontainers/runc/releases/download/v1.0.0-rc6/= runc.tar.xz -O new.tar.xz $ diffoscope old.tar.xz new.tar.xz --8<---------------cut here---------------end--------------->8--- And found that a slash went missing (weird): [...] =E2=94=82 =E2=94=82=E2=94=84 Files identical despite different names =E2=94=82 =E2=94=82 --- runc-1.0.0-rc6/vendor/golang.org/x/sys/windows/se= rvice.go =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 +++ runc-1.0.0-rc6vendor/golang.org/x= /sys/windows/service.go =E2=94=82 =E2=94=82=E2=94=84 Files identical despite different names =E2=94=82 =E2=94=82 --- runc-1.0.0-rc6/vendor/golang.org/x/sys/windows/sy= scall.go =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 +++ runc-1.0.0-rc6vendor/golang.org/x= /sys/windows/syscall.go =E2=94=82 =E2=94=82=E2=94=84 Files identical despite different names =E2=94=82 =E2=94=82 --- runc-1.0.0-rc6/vendor/golang.org/x/sys/windows/sy= scall_windows.go =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 +++ runc-1.0.0-rc6vendor/golang.org/x= /sys/windows/syscall_windows.go =E2=94=82 =E2=94=82=E2=94=84 Files identical despite different names =E2=94=82 =E2=94=82 --- runc-1.0.0-rc6/vendor/golang.org/x/sys/windows/ty= pes_windows.go =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 +++ runc-1.0.0-rc6vendor/golang.org/x= /sys/windows/types_windows.go =E2=94=82 =E2=94=82=E2=94=84 Files identical despite different names =E2=94=82 =E2=94=82 --- runc-1.0.0-rc6/vendor/golang.org/x/sys/windows/zs= yscall_windows.go =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 +++ runc-1.0.0-rc6vendor/golang.org/x= /sys/windows/zsyscall_windows.go =E2=94=82 =E2=94=82=E2=94=84 Files identical despite different names Note that I recently updated the package to v1.0.0-rc93. Thanks for the report! Closing. Maxim