From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 29 16:51:04 2021 Received: (at submit) by debbugs.gnu.org; 29 Mar 2021 20:51:04 +0000 Received: from localhost ([127.0.0.1]:49739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQyql-0005fv-LY for submit@debbugs.gnu.org; Mon, 29 Mar 2021 16:51:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:38042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQyqh-0005fU-Lw for submit@debbugs.gnu.org; Mon, 29 Mar 2021 16:51:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQyqh-0005Fi-DV for bug-guix@gnu.org; Mon, 29 Mar 2021 16:50:59 -0400 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]:41932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQyqf-0003TI-O8 for bug-guix@gnu.org; Mon, 29 Mar 2021 16:50:59 -0400 Received: by mail-qk1-x736.google.com with SMTP id v70so13837161qkb.8 for ; Mon, 29 Mar 2021 13:50:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=9f4YT4HGm7pdyN6k4PR2oNOhdvsTOQOG48HLVU/OwDo=; b=T7PE3VC2vMGsr99SRd2pZu6NmHIjhCkRg5rUBK1baO0GziQwAtrPmTLMfpIZhzjUkx b0CSjMmn7lxy9Gkk4W/BmVR0fZcv+Fy8f/+EczWpyMGqriwmQk48zx6ggVWYp0SPx/47 8qmgYL8tZQooNn9ertwl6qAlHgYYWIGGJdFS2u88cn3jORJkz0hdIVQR7fv4yf9HyeWO rUHjEUJdLMtJky8moPZZJQ37Bb5eTgbx9SSJuMA4wVEfqNyGijwh4S3GTUVagcQuKzLw 9W6/2AJTRJ8JoD0TPKx1wtgjiT/e+HGRBb/YonniQet0Y/0ibP1err1IXlcQwsN1Pzmd B4Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=9f4YT4HGm7pdyN6k4PR2oNOhdvsTOQOG48HLVU/OwDo=; b=pIhDw0r8O4dbyVUjVHETBTx9PGy8MQHQH7rjFyG9x0zd3PGEGQvR0OxoGPKczEcoLg aWRrhGe4/22YRNO2x/Xc2wi8uwSo4978XSRRBdn4dkyVwCDJVgqFeTb9mK9JLWIT9h7Q G+DWa4cCysZheittI+VoQOm9XUdeVJSGs7zo5Z+QmB3fAcmq446DNTHKCrJid9404SIo JNL91hLmocKN5ZyMtxFx4TwPyVnG4AiDdj7NWbZvDMv1YtKZnunyUqE/Mv9ueG7Hh4Bb gSkd6d1Vc9g69sNk3+/Beb2jWfD71OgyqTi48uCQ2yPMQ5gezmWZUtgcLmfTeVzecDBX JR7A== X-Gm-Message-State: AOAM533yNcQK96Oq+AstGsUnNqF+cRRlpQ20kywO2ndEjtqapMncuLzn vbd+XZaA9jDHlxPb7saQHmfy/FLNuRP/LFi6VnWpqo/aijw= X-Google-Smtp-Source: ABdhPJyTqwN8uIvhy6NLOmjDmGzj6fGq6Z18/Qvn1st/1aG+4n8lTzbEcrc/BqLB+Sug60pvGgtT2/68P8fLUUZtuzU= X-Received: by 2002:a05:620a:630:: with SMTP id 16mr28758861qkv.304.1617051056811; Mon, 29 Mar 2021 13:50:56 -0700 (PDT) MIME-Version: 1.0 From: zimoun Date: Mon, 29 Mar 2021 22:50:46 +0200 Message-ID: Subject: runc: hash mismatch To: Bug Guix Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::736; envelope-from=zimon.toutoune@gmail.com; helo=mail-qk1-x736.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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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.xz.= 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/ru= nc.tar.xz... following redirection to `https://github-releases.githubusercontent.com/36960321/fe863f80-d2a1-11ea-= 908b-c3f145ce2ec0?X-Amz-Algorithm=3DAWS4-HMAC-SHA256&X-Amz-Credential=3DAKI= AIWNJYAX4CSVEH53A%2F20210329%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=3D2= 0210329T204903Z&X-Amz-Expires=3D300&X-Amz-Signature=3Dda77301e6f45dbdb8f5e5= 40abb05fff40c15fd6a5688ae365694b5584183956c&X-Amz-SignedHeaders=3Dhost&acto= r_id=3D0&key_id=3D0&repo_id=3D36960321&response-content-disposition=3Dattac= hment%3B%20filename%3Drunc.tar.xz&response-content-type=3Dapplication%2Foct= et-stream'... downloading from https://github.com/opencontainers/runc/releases/download/v1.0.0-rc6/runc.ta= r.xz ... runc.tar.xz 528KiB 33.4MiB/s 00:00 [##################] 1= 00.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.xz.= 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 06 14:48:45 2021 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 To: zimoun Subject: Re: bug#47486: runc: hash mismatch 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47486-done Cc: 47486-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From unknown Wed Aug 20 06:04:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 05 May 2021 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator