From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH 1/4] gnu: Add perl-net-psyc. Date: Mon, 3 Oct 2016 22:24:34 -0400 Message-ID: <20161004022434.GA16890@jasmine> References: <20160929103810.10273-1-ngillmann@runbox.com> <20161002014632.GA26660@jasmine> <87shsf6nsw.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brFPZ-0001Xl-RW for guix-devel@gnu.org; Mon, 03 Oct 2016 22:24:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brFPV-0000Jq-96 for guix-devel@gnu.org; Mon, 03 Oct 2016 22:24:52 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:47023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brFPS-0008Gy-U3 for guix-devel@gnu.org; Mon, 03 Oct 2016 22:24:49 -0400 Content-Disposition: inline In-Reply-To: <87shsf6nsw.fsf@we.make.ritual.n0.is> 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: ng0 Cc: guix-devel@gnu.org On Sun, Oct 02, 2016 at 10:35:43AM +0000, ng0 wrote: > Leo Famulari writes: > > > On Thu, Sep 29, 2016 at 10:38:07AM +0000, ng0 wrote: > >> * gnu/packages/psyc.scm: New file. > >> * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. > > > >> + (source > >> + (origin > >> + (method url-fetch) > >> + (uri (string-append "http://perl.psyc.eu/" > >> + "perlpsyc-" version ".zip")) > >> + (file-name (string-append name "-" version ".zip")) > >> + (sha256 > >> + (base32 > >> + "1lw6807qrbmvzbrjn1rna1dhir2k70xpcjvyjn45y35hav333a42")) > > > > This is the wrong hash. > > http://lists.gnu.org/archive/html/guix-devel/2016-09/msg02076.html > > No, it's not. Our server recently had to be moved and I don't know what > happened during that time, but to make sure I checked the download > before I commited the new series and repeated that check just now: > > ng0@shadowwalker ~/re-src$ wget http://perlpsyc.psyc.eu/perlpsyc-1.1.zip > --2016-10-02 10:34:12-- http://perlpsyc.psyc.eu/perlpsyc-1.1.zip > Resolving perlpsyc.psyc.eu (perlpsyc.psyc.eu)... 188.40.42.221 > Connecting to perlpsyc.psyc.eu (perlpsyc.psyc.eu)|188.40.42.221|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 444423 (434K) [application/zip] > Saving to: ‘perlpsyc-1.1.zip’ > > perlpsyc-1.1.zip 100%[=====================================>] 434.01K 927KB/s in 0.5s > > 2016-10-02 10:34:12 (927 KB/s) - ‘perlpsyc-1.1.zip’ saved [444423/444423] > > ng0@shadowwalker ~/re-src$ guix hash perlpsyc-1.1.zip > 1lw6807qrbmvzbrjn1rna1dhir2k70xpcjvyjn45y35hav333a42 The URL you used with wget is different from the URL used in the patch. The download from perlpsyc.psyc.eu is a Git repo whereas the download from perl.psyc.eu is a plain directory. The patch uses the URL for the plain directory while the hash is of the Git repo. Can you clarify which download the package should use?