unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#28987: guix import crate fails on 648c896ad3b198a1742c1ee8f66a1922aa98c1d8
@ 2017-10-25  4:15 ng0
  2018-01-06 18:48 ` bug#28987: Another fail report for `guix import crate` Fis Trivial
  0 siblings, 1 reply; 3+ messages in thread
From: ng0 @ 2017-10-25  4:15 UTC (permalink / raw)
  To: 28987

[-- Attachment #1: Type: text/plain, Size: 852 bytes --]

My Guix checkout on commit 648c896ad3b198a1742c1ee8f66a1922aa98c1d8
gives me for 'guix import crate x25519-dalek':

Backtrace:
           5 (primitive-load "/gnu/store/17w867lpc1grxs4aykzj5039fms…")
In guix/ui.scm:
  1384: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
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://dist.ng0.infotropique.org/dist/keys/
https://www.infotropique.org https://ng0.infotropique.org

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#28987: Another fail report for `guix import crate`.
  2017-10-25  4:15 bug#28987: guix import crate fails on 648c896ad3b198a1742c1ee8f66a1922aa98c1d8 ng0
@ 2018-01-06 18:48 ` Fis Trivial
  2018-01-08 10:47   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Fis Trivial @ 2018-01-06 18:48 UTC (permalink / raw)
  To: 28987@debbugs.gnu.org

Version :5ae8c77adec6b64a53ed10c3505263380205321d

$ guix import crate racer

--8<---------------cut here---------------start------------->8---
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
-8<---------------cut here---------------end--------------->8---

It seems not many people would try to use guix with rust. :(
If I could get geiser working in next few weeks, I might be able to help finding some clues.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#28987: Another fail report for `guix import crate`.
  2018-01-06 18:48 ` bug#28987: Another fail report for `guix import crate` Fis Trivial
@ 2018-01-08 10:47   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2018-01-08 10:47 UTC (permalink / raw)
  To: Fis Trivial; +Cc: 28987@debbugs.gnu.org

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’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-08 10:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).