unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Fis Trivial <ybbs.daans@hotmail.com>
Cc: "28987@debbugs.gnu.org" <28987-done@debbugs.gnu.org>
Subject: bug#28987: Another fail report for `guix import crate`.
Date: Mon, 08 Jan 2018 11:47:35 +0100	[thread overview]
Message-ID: <87lgh8hbjs.fsf@gnu.org> (raw)
In-Reply-To: <MWHPR16MB006345542418382E93700683921D0@MWHPR16MB0063.namprd16.prod.outlook.com> (Fis Trivial's message of "Sat, 6 Jan 2018 18:48:58 +0000")

Fis Trivial <ybbs.daans@hotmail.com> skribis:

> Version :5ae8c77adec6b64a53ed10c3505263380205321d
>
> $ guix import crate racer
>
> Backtrace:
>            5 (primitive-load "/gnu/store/nxdxbad50ydp1nhmgzvlwbk0jkk…")
> In guix/ui.scm:
>   1474:12  4 (run-guix-command _ . _)
> In guix/scripts/import.scm:
>    114:11  3 (guix-import . _)
> In guix/scripts/import/crate.scm:
>     86:19  2 (guix-import-crate . _)
> In guix/import/crate.scm:
>     49:30  1 (crate-fetch _ #<procedure make-crate-sexp (#:key name …>)
> In unknown file:
>            0 (string-split #f #\/)
>
> ERROR: In procedure string-split:
> ERROR: In procedure string-split: Wrong type argument in position 1 (expecting string): #f

Fixed in 1e63ecee0b5e1d7e4894af5a51cceeba0092693c:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix import crate racer
following redirection to `https://d19xqa3lc3clo8.cloudfront.net/crates/racer/racer-2.0.12.crate'...
(package
  (name "rust-racer")
  (version "2.0.12")
  (source
    (origin
      (method url-fetch)
      (uri (crate-uri "racer" version))
      (file-name
        (string-append name "-" version ".tar.gz"))
      (sha256
        (base32
          "1d0n7fzgf03ank7g93z0hj08c59kq1km91wn1sk4072q512iqkq3"))))
  (build-system cargo-build-system)
  (native-inputs
    `(("rust-lazy-static" ,rust-lazy-static "src")
      ("rust-rand" ,rust-rand "src")))
  (inputs
    `(("rust-clap" ,rust-clap "src")
      ("rust-clippy" ,rust-clippy "src")
      ("rust-env-logger" ,rust-env-logger "src")
      ("rust-lazy-static" ,rust-lazy-static "src")
      ("rust-log" ,rust-log "src")
      ("rust-syntex-errors" ,rust-syntex-errors "src")
      ("rust-syntex-syntax" ,rust-syntex-syntax "src")
      ("rust-toml" ,rust-toml "src")))
  (home-page "https://github.com/racer-rust/racer")
  (synopsis "Code completion for Rust")
  (description "Code completion for Rust")
  (license #f))
--8<---------------cut here---------------end--------------->8---

Thanks,
Ludo’.

      reply	other threads:[~2018-01-08 10:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-25  4:15 bug#28987: guix import crate fails on 648c896ad3b198a1742c1ee8f66a1922aa98c1d8 ng0
2018-01-06 18:48 ` bug#28987: Another fail report for `guix import crate` Fis Trivial
2018-01-08 10:47   ` Ludovic Courtès [this message]

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=87lgh8hbjs.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=28987-done@debbugs.gnu.org \
    --cc=ybbs.daans@hotmail.com \
    /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).