From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 26175@debbugs.gnu.org
Subject: bug#26175: [bug#36976] [PATCH 1/1] download: Map file-name characters not allowed in store.
Date: Tue, 3 Sep 2019 16:39:35 +0200 [thread overview]
Message-ID: <af79fc5d-d162-02bd-1d5f-165dec4cc879@crazy-compilers.com> (raw)
In-Reply-To: <87woerajr8.fsf@gnu.org>
Hi Ludo,
while http://issues.guix.gnu.org/issue/36976 is going to solve the issue
for "guix download", I found that there are other cases where invalid
characters in store names appear. Thus we need a more elaborate solution
- or several solutions.
Any suggestions which cases to check and how to fix them?
E.g. "@" and "%" are not allowed in package source base names: When
building the package below, which used the "offending URL, yields an error:
guix build: error: invalid character `@' in name
`kde-l10n-ca@valencia-14.11.80.tar.xz.drv'
Same when trying to work around this be using "…%40…".
(use-modules (guix packages) (guix download) (guix build-system gnu))
(package
(name "kde-l10n-ca-valencia")
(version "14.11.80")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kde//Attic/applications/"
version "/src/kde-l10n/"
"kde-l10n-ca@valencia-" version ".tar.xz"))
(sha256 (base32
"1mqadassxcm0m9r1l02m5vr4bbandn48xz8gifvxmb4wiz8i8d0w"))))
(build-system gnu-build-system)
(synopsis "") (description "") (license "") (home-page ""))
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
next prev parent reply other threads:[~2019-09-03 14:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-08 14:44 [bug#36976] [PATCH 1/1] download: Map file-name characters not allowed in store Hartmut Goebel
2019-08-23 21:08 ` Ludovic Courtès
2019-08-27 7:53 ` Hartmut Goebel
2019-09-01 19:39 ` Ludovic Courtès
2019-09-03 14:39 ` Hartmut Goebel [this message]
2019-09-04 10:32 ` bug#26175: " Ludovic Courtès
2019-09-08 18:50 ` Hartmut Goebel
2019-09-08 20:07 ` Ludovic Courtès
2019-09-26 15:53 ` Hartmut Goebel
2019-09-26 15:50 ` bug#36976: " Hartmut Goebel
2019-09-03 16:20 ` [bug#36976] [Patch v2] guix download: Ensure destination file-name is valid in the store Hartmut Goebel
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=af79fc5d-d162-02bd-1d5f-165dec4cc879@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=26175@debbugs.gnu.org \
--cc=ludo@gnu.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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.