From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: 01/01: gnu: uncrustify: Update to 0.68.1. Date: Thu, 29 Nov 2018 19:16:12 -0500 Message-ID: <87d0qnpggo.fsf@netris.org> References: <20181125134156.8362.7263@vcs0.savannah.gnu.org> <20181125134156.B66BE209B2@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSWUQ-0002Me-UZ for guix-devel@gnu.org; Thu, 29 Nov 2018 19:17:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSWUM-0004wX-G4 for guix-devel@gnu.org; Thu, 29 Nov 2018 19:17:02 -0500 Received: from world.peace.net ([64.112.178.59]:38772) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gSWUM-0004w8-Bt for guix-devel@gnu.org; Thu, 29 Nov 2018 19:16:58 -0500 In-Reply-To: <20181125134156.B66BE209B2@vcs0.savannah.gnu.org> (guix-commits's message of "Sun, 25 Nov 2018 08:41:56 -0500 (EST)") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: guix-devel@gnu.org Hi Pierre, guix-commits@gnu.org writes: > ambrevar pushed a commit to branch master > in repository guix. > > commit 34843fe9238a041616f063038557d85cd8a30165 > Author: Pierre Neidhardt > Date: Sun Nov 25 14:41:16 2018 +0100 > > gnu: uncrustify: Update to 0.68.1. > > * gnu/packages/code.scm (uncrustify): Update to 0.68.1. Hydra failed to download the updated source for this, due to a SHA256 hash mismatch on the source ZIP file. I can reproduce the same failure on my laptop: --8<---------------cut here---------------start------------->8--- mhw@jojen ~$ guix build -S uncrustify The following derivation will be built: /gnu/store/a4sj7y50fwahga5zw33rn22yl1vi5y1w-uncrustify-0.68.1.zip.drv building /gnu/store/a4sj7y50fwahga5zw33rn22yl1vi5y1w-uncrustify-0.68.1.zip.drv... Starting download of /gnu/store/6lpmknzjk6rwp5xq3pk0b5akd4h3b1jm-uncrustify-0.68.1.zip >From https://github.com/uncrustify/uncrustify/archive/uncrustify-0.68.1.zip... following redirection to `https://codeload.github.com/uncrustify/uncrustify/zip/uncrustify-0.68.1'... downloading from https://github.com/uncrustify/uncrustify/archive/uncrustify-0.68.1.zip... uncrustify-0.68.1.zip 1.0MiB/s 00:02 | 2.3MiB transferred sha256 hash mismatch for /gnu/store/6lpmknzjk6rwp5xq3pk0b5akd4h3b1jm-uncrustify-0.68.1.zip: expected hash: 1jb3hmm11m2mgnypapak2lgyyvspnmx9bxd9dxis5swaja2ddxlg actual hash: 0yamvqhflvzpvvqwc2qilqdsa3hcbmnb6pf9wzggphhywviksc7w hash mismatch for store item '/gnu/store/6lpmknzjk6rwp5xq3pk0b5akd4h3b1jm-uncrustify-0.68.1.zip' build of /gnu/store/a4sj7y50fwahga5zw33rn22yl1vi5y1w-uncrustify-0.68.1.zip.drv failed View build log at '/var/log/guix/drvs/a4/sj7y50fwahga5zw33rn22yl1vi5y1w-uncrustify-0.68.1.zip.drv.bz2'. guix build: error: build failed: build of `/gnu/store/a4sj7y50fwahga5zw33rn22yl1vi5y1w-uncrustify-0.68.1.zip.drv' failed --8<---------------cut here---------------end--------------->8--- Could you take a look? If upstream modified the tarball in place, could you show us a 'diff' between the old and new versions? Thanks! Mark > --- > gnu/packages/code.scm | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm > index 7250325..1e863b0 100644 > --- a/gnu/packages/code.scm > +++ b/gnu/packages/code.scm > @@ -540,7 +540,7 @@ independent targets.") > (define-public uncrustify > (package > (name "uncrustify") > - (version "0.67") > + (version "0.68.1") > (source (origin > (method url-fetch) > (uri (string-append > @@ -548,10 +548,11 @@ independent targets.") > "uncrustify-" version ".zip")) > (sha256 > (base32 > - "0n13kq0nsm35fxhdp0f275n4x0w88hdv3bdjy0hgvv42x0dx5zyp")))) > + "1jb3hmm11m2mgnypapak2lgyyvspnmx9bxd9dxis5swaja2ddxlg")))) > (build-system cmake-build-system) > (native-inputs > - `(("unzip" ,unzip))) > + `(("unzip" ,unzip) > + ("python" ,python-wrapper))) > (arguments > `(#:phases > (modify-phases %standard-phases