GNU bug report logs - #28987
guix import crate fails on 648c896ad3b198a1742c1ee8f66a1922aa98c1d8

Previous Next

Package: guix;

Reported by: ng0 <ng0 <at> infotropique.org>

Date: Wed, 25 Oct 2017 04:16:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28987 in the body.
You can then email your comments to 28987 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#28987; Package guix. (Wed, 25 Oct 2017 04:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ng0 <ng0 <at> infotropique.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 25 Oct 2017 04:16:02 GMT) Full text and rfc822 format available.

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

From: ng0 <ng0 <at> infotropique.org>
To: bug-guix <at> gnu.org
Subject: guix import crate fails on 648c896ad3b198a1742c1ee8f66a1922aa98c1d8
Date: Wed, 25 Oct 2017 04:15:29 +0000
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#28987; Package guix. (Sat, 06 Jan 2018 18:50:01 GMT) Full text and rfc822 format available.

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

From: Fis Trivial <ybbs.daans <at> hotmail.com>
To: "28987 <at> debbugs.gnu.org" <28987 <at> debbugs.gnu.org>
Subject: Another fail report for `guix import crate`.
Date: Sat, 6 Jan 2018 18:48:58 +0000
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.

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Mon, 08 Jan 2018 10:48:02 GMT) Full text and rfc822 format available.

Notification sent to ng0 <ng0 <at> infotropique.org>:
bug acknowledged by developer. (Mon, 08 Jan 2018 10:48:02 GMT) Full text and rfc822 format available.

Message #13 received at 28987-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Fis Trivial <ybbs.daans <at> hotmail.com>
Cc: "28987 <at> debbugs.gnu.org" <28987-done <at> debbugs.gnu.org>
Subject: Re: bug#28987: Another fail report for `guix import crate`.
Date: Mon, 08 Jan 2018 11:47:35 +0100
Fis Trivial <ybbs.daans <at> 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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 05 Feb 2018 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 80 days ago.

Previous Next


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