GNU bug report logs - #40858
Cargo in Guix

Previous Next

Package: guix;

Reported by: Jan Ole Zabel <jan.zabel <at> posteo.de>

Date: Sat, 25 Apr 2020 23:41:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

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 40858 in the body.
You can then email your comments to 40858 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#40858; Package guix. (Sat, 25 Apr 2020 23:41:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jan Ole Zabel <jan.zabel <at> posteo.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 25 Apr 2020 23:41:02 GMT) Full text and rfc822 format available.

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

From: Jan Ole Zabel <jan.zabel <at> posteo.de>
To: bug-guix <at> gnu.org
Subject: Cargo in Guix
Date: Sun, 26 Apr 2020 00:17:16 +0200
Hi,

I just installed the rust package on guix-system and realized I have no
idea of how to use `cargo` to build something. First, cargo is not in my
search path after installing `rust`, because there is no link in
`.guix-profile`. There is no dedicated package either. Second, the
cargo binary installed in `/gnu/store/` throws the following:

	$ /gnu/store/*-rust-1.39.0-cargo/bin/cargo install ripgrep
	error: failed to download from
`https://crates.io/api/ripgrep/12.0.1/download`
	
	Caused by:
	  [60] SSL peer certificate or SSH remote key not found (server
certificate verification failed. CAfile: none CRLFile: none)

A `curl https://crates.io` works normally, so it's not an issue with the
system certificates.

Am I doing something wrong? Is this even the right place to report or ask?




Information forwarded to bug-guix <at> gnu.org:
bug#40858; Package guix. (Sun, 26 Apr 2020 13:41:01 GMT) Full text and rfc822 format available.

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

From: Julien Lepiller <julien <at> lepiller.eu>
To: Jan Ole Zabel <jan.zabel <at> posteo.de>,40858 <at> debbugs.gnu.org
Subject: Re: bug#40858: Cargo in Guix
Date: Sun, 26 Apr 2020 09:39:53 -0400
Le 25 avril 2020 18:17:16 GMT-04:00, Jan Ole Zabel <jan.zabel <at> posteo.de> a écrit :
>Hi,
>
>I just installed the rust package on guix-system and realized I have no
>idea of how to use `cargo` to build something. First, cargo is not in
>my
>search path after installing `rust`, because there is no link in
>`.guix-profile`. There is no dedicated package either. 

The rust package has multiple outputs. Its default output doesn't contain cargo, but it has a cargo output which you found in the store. You can install it with:

guix install rust:cargo

>Second, the
>cargo binary installed in `/gnu/store/` throws the following:
>
>	$ /gnu/store/*-rust-1.39.0-cargo/bin/cargo install ripgrep
>	error: failed to download from
>`https://crates.io/api/ripgrep/12.0.1/download`
>	
>	Caused by:
>	  [60] SSL peer certificate or SSH remote key not found (server
>certificate verification failed. CAfile: none CRLFile: none)
>
>A `curl https://crates.io` works normally, so it's not an issue with
>the
>system certificates.

My guess is that curl comes from your foreign system? Guix packages don't read the global location. Have you performed these additional steps after installing guix?

http://guix.gnu.org/manual/en/html_node/X_002e509-Certificates.html#X_002e509-Certificates

>
>Am I doing something wrong? Is this even the right place to report or
>ask?

guix-help would have been a better place for this one I think.

I hope this helped a bit :)

Hi,




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Sun, 08 Aug 2021 04:21:02 GMT) Full text and rfc822 format available.

Notification sent to Jan Ole Zabel <jan.zabel <at> posteo.de>:
bug acknowledged by developer. (Sun, 08 Aug 2021 04:21:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Julien Lepiller <julien <at> lepiller.eu>
Cc: Jan Ole Zabel <jan.zabel <at> posteo.de>, 40858-done <at> debbugs.gnu.org
Subject: Re: bug#40858: Cargo in Guix
Date: Sun, 08 Aug 2021 00:20:47 -0400
Hello,

Julien Lepiller <julien <at> lepiller.eu> writes:

> Le 25 avril 2020 18:17:16 GMT-04:00, Jan Ole Zabel <jan.zabel <at> posteo.de> a écrit :
>>Hi,
>>
>>I just installed the rust package on guix-system and realized I have no
>>idea of how to use `cargo` to build something. First, cargo is not in
>>my
>>search path after installing `rust`, because there is no link in
>>`.guix-profile`. There is no dedicated package either. 
>
> The rust package has multiple outputs. Its default output doesn't
> contain cargo, but it has a cargo output which you found in the
> store. You can install it with:
>
> guix install rust:cargo
>
>>Second, the
>>cargo binary installed in `/gnu/store/` throws the following:
>>
>>	$ /gnu/store/*-rust-1.39.0-cargo/bin/cargo install ripgrep
>>	error: failed to download from
>>`https://crates.io/api/ripgrep/12.0.1/download`
>>	
>>	Caused by:
>>	  [60] SSL peer certificate or SSH remote key not found (server
>>certificate verification failed. CAfile: none CRLFile: none)
>>
>>A `curl https://crates.io` works normally, so it's not an issue with
>>the
>>system certificates.
>
> My guess is that curl comes from your foreign system? Guix packages
> don't read the global location. Have you performed these additional
> steps after installing guix?
>
> http://guix.gnu.org/manual/en/html_node/X_002e509-Certificates.html#X_002e509-Certificates
>
>>
>>Am I doing something wrong? Is this even the right place to report or
>>ask?
>
> guix-help would have been a better place for this one I think.
>
> I hope this helped a bit :)

Thanks to Julien for the assistance.

Closing this forgotten issue.

Maxim




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

This bug report was last modified 2 years and 230 days ago.

Previous Next


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