GNU bug report logs - #26175
guix download fails if filename contains "@"

Previous Next

Package: guix;

Reported by: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Date: Sun, 19 Mar 2017 18:07:01 UTC

Severity: normal

Done: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 26175 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
Cc: 26175 <at> debbugs.gnu.org
Subject: Re: bug#26175: guix download fails if filename contains "@"
Date: Mon, 20 Mar 2017 23:22:40 +0100
Hello,

Hartmut Goebel <h.goebel <at> crazy-compilers.com> skribis:

> guix download fails if filename contains "@":invalid character `@' in name
>
>
> $ guix download
> mirror://kde/stable/applications/16.12.3/src/kde-l10n/kde-l10n-ca <at> valencia-16.12.3.tar.xz
> [...]
> Starting download of /tmp/guix-file.oVF3qZ
> From
> http://mirror.karneval.cz/pub/kde/stable/applications/16.12.3/src/kde-l10n/kde-l10n-ca <at> valencia-16.12.3.tar.xz...
>  ...cia-16.12.3.tar.xz  2.0MiB            1.4MiB/s 00:01
> [####################] 100.0%
> guix download: error: build failed: invalid character `@' in name
> `kde-l10n-ca <at> valencia-16.12.3.tar.xz'

To address this we’d need an extra command-line option in ‘guix
download’ to specify the name to use in the store (similar to the
‘file-name’ field in <origin>.)

So one would type:

  guix download --name=foo.tar.xz mirror://…/kde-l10n-ca <at> valencia-16.12.3.tar.xz

In the meantime, you can work around it by doing something like:

  guix download -o foo.tar.xz mirror://…/kde-l10n-ca <at> valencia-16.12.3.tar.xz
  guix hash foo.tar.xz

Thanks,
Ludo’.




This bug report was last modified 5 years and 333 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.