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 WLLKKgIbY2BZAwAAgWs5BA (envelope-from ) for ; Tue, 30 Mar 2021 14:35:14 +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 GLLUJAIbY2ATaQAA1q6Kng (envelope-from ) for ; Tue, 30 Mar 2021 12:35:14 +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 C19B91A94B for ; Tue, 30 Mar 2021 14:35:13 +0200 (CEST) Received: from localhost ([::1]:40354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRDaR-0007Ss-Fp for larch@yhetil.org; Tue, 30 Mar 2021 08:35:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRDaI-0007Qp-Oz for bug-guix@gnu.org; Tue, 30 Mar 2021 08:35:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39019) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRDaI-0000KK-HD for bug-guix@gnu.org; Tue, 30 Mar 2021 08:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRDaI-0006M2-DV for bug-guix@gnu.org; Tue, 30 Mar 2021 08:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47480: gprolog: hash mismatch Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 30 Mar 2021 12:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47480 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 47480-submit@debbugs.gnu.org id=B47480.161710767924392 (code B ref 47480); Tue, 30 Mar 2021 12:35:02 +0000 Received: (at 47480) by debbugs.gnu.org; 30 Mar 2021 12:34:39 +0000 Received: from localhost ([127.0.0.1]:50565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRDZu-0006LM-Oz for submit@debbugs.gnu.org; Tue, 30 Mar 2021 08:34:39 -0400 Received: from mail-wr1-f45.google.com ([209.85.221.45]:38469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRDZs-0006L8-Tz for 47480@debbugs.gnu.org; Tue, 30 Mar 2021 08:34:37 -0400 Received: by mail-wr1-f45.google.com with SMTP id z2so16072575wrl.5 for <47480@debbugs.gnu.org>; Tue, 30 Mar 2021 05:34:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=eYozYicC2X5bnP6wP8BSCHbesawrl/nw0i7EOXU00LE=; b=i95h9SkErl0ZWWOAZsd6reykmrhcWMq2qmZhkipxtUnagfBYXtr7/VmvD2ujHKbxjJ ffUssnl79ZpP0GAKv7dwtRgE86A96yT4fwtzl+bFRXurijr3dkuSetJo++7F4SXIFnwU ND78oXS2wS5kdskNvlbei3ytnaMJzoAUqIe9wdPyAhGHUQwuKz0522bwxg1JHF1cSV/d xZEbhycy+NE1Wm8TVwJH2I3OywPj/5Vs8BJwtRTZZcUOBOCs4G5hnl+uiZwXWKYZTtiJ QxVn1EqxeeOeNHOhr/WIn/+/YAmrJpyE3m3J9kESVYFFPk514XKRRhoKQjg8CaZ+dUSh T3dg== 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:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=eYozYicC2X5bnP6wP8BSCHbesawrl/nw0i7EOXU00LE=; b=VmuuuQtNeHybnDCcQfateWpyVA6xu5a6fy8nbDl4WgIXvrrIpi/LuxSnveACytMmQa iU6JSBJgS/7e4DWKqnGHeWJ46v0qQtM1GT8wiCo+8atCz308ftncVXxMNXAy1eBGf4Xl P/kbIy5vMklQC98u586IRiFwE3/9izyyqfVzvwrUbr98hoUgpaKRScr3aPagYAsarm8Z +S9Ho+gyPOuXEi/VNJHWTk8v3724ZLstenOsJVwCMnNjsmh+dRW8FrVbZsB3LxloVkMP eHObZ/Gwq6qFoJGxaKpde1yecLcjnOVvKcu1ZSGeM4qiXRWw43Asnj6zTjLTwhjB4n52 WVrA== X-Gm-Message-State: AOAM5330wSVMjtXQTxUjOQuP9fBReaC5PPwr88RuTmPag08uckP440za lWujQdVraeYd9Gp7FsbLyGmJ4fl2W6U= X-Google-Smtp-Source: ABdhPJx1ztWyRmkwYg3uauNA4DrL8adAmbZLpqsSE29Y7QygjFjJnqAcTnwxRux/OOI0TF0xzayJIQ== X-Received: by 2002:a5d:6602:: with SMTP id n2mr34589241wru.262.1617107671003; Tue, 30 Mar 2021 05:34:31 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id 91sm37179414wrl.20.2021.03.30.05.34.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Mar 2021 05:34:30 -0700 (PDT) From: zimoun In-Reply-To: <87h7ktljyv.fsf@gnu.org> References: <87h7ktljyv.fsf@gnu.org> Date: Tue, 30 Mar 2021 14:33:53 +0200 Message-ID: <861rbwhlce.fsf@gmail.com> 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: 47480@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=1617107714; 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-cc: 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=eYozYicC2X5bnP6wP8BSCHbesawrl/nw0i7EOXU00LE=; b=Hadi7q1y4l+2ZsaMQi97AeVyKYjOQHTa08/7uqu1ptm6p8phNe/5Sf7gSuIWVyIAbstZOU TDnCOPuY8Cs+7LhjmxBo/FpP+HtzVzibTCSWbY53H+grAefU0sCBaPIMiYjZurys7jF3ol pCSIPVPhCUUv4DJvxK0XR761RfRXtuV0Oj+IHn38Fb5VgQJOs78Vcji8oY8Xn/LmFjmBSk eT9EiiylC216aA3vidFdMba1YuU/MKDwMMaLUh8Dj8OgJsQgLw3y9xGUXTU9XBBXmx9BDe OFaRY5OARrGtK1V180/XwspJxkmpACS9ROSYSTS8T4zCrqkDwffQioHS1wkXjQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617107714; a=rsa-sha256; cv=none; b=szNMcswL9hg+zOLUAP5YQ00+X65CwbTNvDOiLuf32w0oixlcFyy4WPk75EnfXdvfqMb5Kl BDmVX171Oz0enFaSimDr135xZMVubt/Q2oP3AVpDt4NMEGJNXb8eHSDRWDUO8rmFar9Y37 4Pe0XOKUdQClnqJmXVHQDeyF5bkCI+MgW5E6dUgVADza7s1+Yejkx5s1LrOTKqGyik6TzY 7UFmJStsA08Jvqs5d0iJaRkHxXUbP7bqLKjP/qmgtEo8+gzAuHmwe7ww2QYFhlREAq48GT avGbDzuVafXsnYNOWq1BAJd+EWpjzjebr9yGs3jfH3Cc2txmjH/BlvcovCGKkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=i95h9SkE; 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: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=i95h9SkE; 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: C19B91A94B X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: IgIzRjswxQIU Hi, On Mon, 29 Mar 2021 at 23:37, Ludovic Court=C3=A8s wrote: > zimoun skribis: > >> It is probably an upstream in-place replacement. This kind of thing is >> really annoying because it means that people using substitutes do not >> notice whereas people building from source do. > > Could you send a diff of the two tarballs? Hehe! I have opened the bug because I wanted to avoid to investigate myself. ;-) Basically, I think it is a classical upstream in-place replacement. >From upstream: --8<---------------cut here---------------start------------->8--- $ guix build -S gprolog --no-substitutes The following derivation will be built: /gnu/store/yjrcalnckwmi1ah217xh85sd7ksjcxfw-gprolog-1.4.5.tar.gz.drv building /gnu/store/yjrcalnckwmi1ah217xh85sd7ksjcxfw-gprolog-1.4.5.tar.gz.d= rv... Starting download of /gnu/store/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolog-1.= 4.5.tar.gz >From http://gprolog.org/gprolog-1.4.5.tar.gz... downloading from http://gprolog.org/gprolog-1.4.5.tar.gz ... gprolog-1.4.5.tar.gz 3.4MiB 556KiB/s 00:06 [##################] 1= 00.0% sha256 hash mismatch for /gnu/store/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolo= g-1.4.5.tar.gz: expected hash: 0z4cc42n3k6i35b8mr816iwsvrpxshw6d7dgz6s2h1hy0l7g1p5z actual hash: 18mrmx44fll0g1qphadna9g6m7miw8d22lkjavah22vzc38kalyf hash mismatch for store item '/gnu/store/wm72f18w1gvshkz39yp12vnmnkkib79k-g= prolog-1.4.5.tar.gz' build of /gnu/store/yjrcalnckwmi1ah217xh85sd7ksjcxfw-gprolog-1.4.5.tar.gz.d= rv failed View build log at '/var/log/guix/drvs/yj/rcalnckwmi1ah217xh85sd7ksjcxfw-gpr= olog-1.4.5.tar.gz.drv.bz2'. guix build: error: build of `/gnu/store/yjrcalnckwmi1ah217xh85sd7ksjcxfw-gp= rolog-1.4.5.tar.gz.drv' failed $ guix download http://gprolog.org/gprolog-1.4.5.tar.gz Starting download of /tmp/guix-file.aqmcFI >From http://gprolog.org/gprolog-1.4.5.tar.gz... gprolog-1.4.5.tar.gz 3.4MiB 557KiB/s 00:06 [##################] 1= 00.0% /gnu/store/59hpvhs8zk66g62yisx363fkl53svcnf-gprolog-1.4.5.tar.gz 18mrmx44fll0g1qphadna9g6m7miw8d22lkjavah22vzc38kalyf --8<---------------cut here---------------end--------------->8--- >From Guix CI: --8<---------------cut here---------------start------------->8--- $ guix hash $(guix build -S gprolog) 3.6 MB will be downloaded: /gnu/store/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolog-1.4.5.tar.gz substituting /gnu/store/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolog-1.4.5.tar.= gz... downloading from https://ci.guix.gnu.org/nar/wm72f18w1gvshkz39yp12vnmnkkib7= 9k-gprolog-1.4.5.tar.gz ... gprolog-1.4.5.tar.gz 3.4MiB 559KiB/s 00:06 [##################] 1= 00.0% 0z4cc42n3k6i35b8mr816iwsvrpxshw6d7dgz6s2h1hy0l7g1p5z --8<---------------cut here---------------end--------------->8--- Then, let get the content: --8<---------------cut here---------------start------------->8--- $ tar -xf /gnu/store/59hpvhs8zk66g62yisx363fkl53svcnf-gprolog-1.4.5.tar.gz $ mv gprolog-1.4.5 from-upstream $ tar -xf /gnu/store/wm72f18w1gvshkz39yp12vnmnkkib79k-gprolog-1.4.5.tar.gz $ mv gprolog-1.4.5 from-ci --8<---------------cut here---------------end--------------->8--- and show which files are differing: --8<---------------cut here---------------start------------->8--- $ diff -r --no-dereference from-{ci,upstream} diff -r --no-dereference from-ci/ChangeLog from-upstream/ChangeLog diff -r --no-dereference from-ci/doc/copyright.tex from-upstream/doc/copyri= ght.tex Binary files from-ci/doc/gprolog.dvi and from-upstream/doc/gprolog.dvi diff= er diff -r --no-dereference from-ci/doc/gprolog.html from-upstream/doc/gprolog= .html Binary files from-ci/doc/gprolog.pdf and from-upstream/doc/gprolog.pdf diff= er diff -r --no-dereference from-ci/doc/gprolog.ps from-upstream/doc/gprolog.ps diff -r --no-dereference from-ci/doc/html_node/gprolog001.html from-upstrea= m/doc/html_node/gprolog001.html [...] diff -r --no-dereference from-ci/doc/html_node/gprolog073.html from-upstrea= m/doc/html_node/gprolog073.html diff -r --no-dereference from-ci/doc/html_node/gprolog-idx.html from-upstre= am/doc/html_node/gprolog-idx.html diff -r --no-dereference from-ci/doc/html_node/index.html from-upstream/doc= /html_node/index.html diff -r --no-dereference from-ci/NEWS from-upstream/NEWS diff -r --no-dereference from-ci/src/EnginePl/gp_config.h from-upstream/src= /EnginePl/gp_config.h diff -r --no-dereference from-ci/src/EnginePl/gprolog_cst.h from-upstream/s= rc/EnginePl/gprolog_cst.h diff -r --no-dereference from-ci/src/Ma2Asm/x86_64_any.c from-upstream/src/= Ma2Asm/x86_64_any.c diff -r --no-dereference from-ci/src/Wam2Ma/wam2ma.c from-upstream/src/Wam2= Ma/wam2ma.c --8<---------------cut here---------------end--------------->8--- Basically, most seems a Copyright update and a documentation regeneration. Except this: --8<---------------cut here---------------start------------->8--- $ diff -r --no-dereference from-ci/src/Ma2Asm/x86_64_any.c from-upstream/sr= c/Ma2Asm/x86_64_any.c 213,214c213,216 < #if defined(M_x86_64_darwin) || defined(M_x86_64_bsd) || defined(M_x86_64= _linux)=20 < pic_code =3D 1; /* NB: on darwin and BSD everything is PIC code, last= gcc 6 needs this for linux */ --- > #if defined(M_x86_64_darwin) || defined(M_x86_64_bsd) > pic_code =3D 1; /* NB: on darwin and BSD everything is = PIC code */ > #elif defined(M_x86_64_linux) && __GNUC__ >=3D 6 /* gcc >=3D 6 needs PIC = for linux */ > pic_code =3D 1; $ diff -r --no-dereference from-ci/src/Wam2Ma/wam2ma.c from-upstream/src/Wa= m2Ma/wam2ma.c 514c514,516 < Syntax_Error("multifile or multifile expected"); --- > { > Syntax_Error("multifile or multifile expected"); > } --8<---------------cut here---------------end--------------->8--- Cheers, simon