unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Mark H Weaver <mhw@netris.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 1/2] gnu: fuse: Update to 2.9.4.
Date: Wed, 30 Dec 2015 01:54:28 -0500	[thread overview]
Message-ID: <20151230065428.GA11736@jasmine> (raw)
In-Reply-To: <87y4ccmwwy.fsf@netris.org>

On Tue, Dec 29, 2015 at 10:34:53PM -0500, Mark H Weaver wrote:
> Mark H Weaver <mhw@netris.org> writes:
> 
> > Leo Famulari <leo@famulari.name> writes:
> >
> >> * gnu/packages/patches/fuse-CVE-2015-3202.patch: Delete file.
> >> * gnu-system.am (dist_patch_DATA): Remove it.
> >> * gnu/packages/linux.scm (fuse): Update to 2.9.4.
> >>   [source]: Remove patch.
> >
> > This patch broke the build on all platforms, because the source URI
> > returns 404 "Not Found".  See:
> >
> >   http://hydra.gnu.org/build/905375/nixlog/1/tail-reload
> >
> > Starting download of /gnu/store/1yv745ixmy5r5mf5pnlppd31pz0qnqab-fuse-2.9.4.tar.gz
> > From https://github.com/libfuse/libfuse/releases/download/2_9_4/fuse-2.9.4.tar.gz...
> > ERROR: download failed "https://github.com/libfuse/libfuse/releases/download/2_9_4/fuse-2.9.4.tar.gz" 404 "Not Found"
> > failed to download "/gnu/store/1yv745ixmy5r5mf5pnlppd31pz0qnqab-fuse-2.9.4.tar.gz" from "https://github.com/libfuse/libfuse/releases/download/2_9_4/fuse-2.9.4.tar.gz"
> >
> > Can you look into it?

My apologies!

> 
> I went ahead and fixed this myself, after realizing that this problem
> would cause attempts to build systems that use %base-services to fail,
> which I expect is almost all of them.  The reason is that %base-services
> includes 'fuse' here:
> 
>   ;; The LVM2 rules are needed as soon as LVM2 or the device-mapper is
>   ;; used, so enable them by default.  The FUSE and ALSA rules are
>   ;; less critical, but handy.
>   (udev-service #:rules (list lvm2 fuse alsa-utils crda))

Thank you for taking care of it.

> 
> Mistakes in source URIs like this are likely to go undetected for those
> who use "guix download" to download the source, which is why I never do
> that.  I always use "wget" to download the source, and then "guix hash"
> to compute the hash (after checking the signature), and finally "guix
> build -K" to test the updated 'source' field by downloading the source a
> second time before building the package.

I usually just put the URL in the package definition and then get the
hash from the failed build, but this one was so special that I must have
used `guix download` at some point.

Thanks for explaining this pitfall. I'll keep it in mind in the future.

> 
>      Regards,
>        Mark

  reply	other threads:[~2015-12-30  6:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-26  6:44 [PATCH 0/2] Fix URLS for fuse and sshfs-fuse and update fuse Leo Famulari
2015-12-26  6:44 ` [PATCH 1/2] gnu: fuse: Update to 2.9.4 Leo Famulari
2015-12-29 15:07   ` Ludovic Courtès
2015-12-29 19:21     ` Leo Famulari
2015-12-30  2:02   ` Mark H Weaver
2015-12-30  3:34     ` Mark H Weaver
2015-12-30  6:54       ` Leo Famulari [this message]
2015-12-26  6:44 ` [PATCH 2/2] gnu: sshfs-fuse: Update source URL Leo Famulari
2015-12-29 15:08   ` Ludovic Courtès
2015-12-29 19:22     ` Leo Famulari

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=20151230065428.GA11736@jasmine \
    --to=leo@famulari.name \
    --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).