unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Federico Beffa <beffa@ieee.org>
To: Mark H Weaver <mhw@netris.org>
Cc: Guix-devel <guix-devel@gnu.org>, Alex Kost <alezost@gmail.com>
Subject: Re: [PATCH 5/5] gnu: Add emacs-mmm-mode
Date: Thu, 9 Jul 2015 22:31:34 +0200	[thread overview]
Message-ID: <CAKrPhPNPhJBySPNbkkCzwgVL_n9MOQLWqn+ad6fZhTFy4T_DRA@mail.gmail.com> (raw)
In-Reply-To: <87io9ukzk3.fsf@netris.org>

On Thu, Jul 9, 2015 at 1:19 AM, Mark H Weaver <mhw@netris.org> wrote:
> Alex Kost <alezost@gmail.com> writes:
>
>> Ludovic Courtès (2015-07-04 18:16 +0300) wrote:
>>
>>> Alex Kost <alezost@gmail.com> skribis:
>>>
>>>> I think I've found a problem with downloading packages from melpa-stable
>>>> (probably the same will be with 'melpa', but I don't know).  I tried to
>>>> build this 'emacs-mmm-mode' package but it failed because
>>>> <http://stable.melpa.org/packages/mmm-mode-0.5.2.tar> does not exist
>>>> anymore (because the current version is 0.5.4).
>>>
>>> If tarball deletion or renaming is common on MELPA, then maybe we could
>>> address it by providing an additional alternate URL, as is done for
>>> ‘lftp’ and other packages.  WDYT?
>>
>> If I understand correctly, there is no alternative URL.  Only URL for a
>> latest version.  (but I may be wrong)
>
> emacs-mmm-mode is failing to build on hydra, because the downloaded
> tarball doesn't match the expected hash:
>
> http://hydra.gnu.org/build/563640/nixlog/1/tail-reload
>
> --8<---------------cut here---------------start------------->8---
> starting download of `/gnu/store/gdwf9rsqvvqqb77qkgpp94w8k8z1i6wf-mmm-mode-0.5.4.tar' from `http://stable.melpa.org/packages/mmm-mode-0.5.4.tar'...
>
> http://stable.melpa.org/.../mmm-mode-0.5.4.tar    0.0% of 300.0 KiB (0. KiB/s)
> http://stable.melpa.org/.../mmm-mode-0.5.4.tar   21.3% of 300.0 KiB (405. KiB/s)
> http://stable.melpa.org/.../mmm-mode-0.5.4.tar   42.7% of 300.0 KiB (372. KiB/s)
> http://stable.melpa.org/.../mmm-mode-0.5.4.tar   64.0% of 300.0 KiB (439. KiB/s)
> http://stable.melpa.org/.../mmm-mode-0.5.4.tar   85.3% of 300.0 KiB (411. KiB/s)
> http://stable.melpa.org/.../mmm-mode-0.5.4.tar  100.0% of 300.0 KiB (419. KiB/s)
> output path `/gnu/store/gdwf9rsqvvqqb77qkgpp94w8k8z1i6wf-mmm-mode-0.5.4.tar' should have sha256 hash `1llkzb6d978ym3zv3yfzwj0w5zzmmj3ksrm5swrx1papxcnqnkb9', instead has `1kjc41nlsf7qxmmy9mrzk6myinjvc550zl5ia0ivvdz945x39yay'
> --8<---------------cut here---------------end--------------->8---
>
> What went wrong here?

That's not a good sign. I still have in the store the tar file with
the hash indicated in the package and it builds fine. However, if I
'guix download ...' the file again I get a hash which is different
from the one in the package and also from the one in the hydra log.

I can imagine that melpa is building the tar file on the fly. Is guix
taking the time stamp as an input to determine the hash?

Fede

  parent reply	other threads:[~2015-07-09 20:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-21  8:33 [PATCH 5/5] gnu: Add emacs-mmm-mode Federico Beffa
2015-06-27 10:12 ` Ludovic Courtès
2015-07-01 17:49 ` Alex Kost
2015-07-01 18:15   ` Federico Beffa
2015-07-04 15:16   ` Ludovic Courtès
2015-07-04 19:00     ` Alex Kost
2015-07-08 23:19       ` Mark H Weaver
2015-07-09  8:52         ` Alex Kost
2015-07-10  9:16           ` Ludovic Courtès
2015-07-09 20:31         ` Federico Beffa [this message]
2015-07-09 21:25           ` Mark H Weaver
  -- strict thread matches above, loose matches on Subject: below --
2015-07-18  9:16 Federico Beffa
2015-07-19  9:45 ` Alex Kost

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKrPhPNPhJBySPNbkkCzwgVL_n9MOQLWqn+ad6fZhTFy4T_DRA@mail.gmail.com \
    --to=beffa@ieee.org \
    --cc=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=mhw@netris.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).