GNU bug report logs - #36457
Guix does not match point-versions correctly

Previous Next

Package: guix;

Reported by: swedebugia <swedebugia <at> riseup.net>

Date: Mon, 1 Jul 2019 09:12:01 UTC

Severity: normal

Tags: notabug

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

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 36457 in the body.
You can then email your comments to 36457 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#36457; Package guix. (Mon, 01 Jul 2019 09:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to swedebugia <swedebugia <at> riseup.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 01 Jul 2019 09:12:02 GMT) Full text and rfc822 format available.

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

From: swedebugia <swedebugia <at> riseup.net>
To: Report new Guix bug <bug-guix <at> gnu.org>
Subject: Guix does not match point-versions correctly
Date: Mon, 1 Jul 2019 11:11:45 +0200
Hi

I'm doing the crate-adventure and stumbled on this:

starting phase `build'
error: failed to select a version for the requirement `clippy = "^0.0.41"`
  candidate versions found which didn't match: 0.0.302
  location searched: directory source 
`/tmp/guix-build-rust-blake2-rfc-0.2.18.drv-0/blake2-rfc-0.2.18/guix-vendor` 
(which is replacing registry `https://github.com/rust-lang/crates.io-index`)
required by package `blake2-rfc v0.2.18 
(/tmp/guix-build-rust-blake2-rfc-0.2.18.drv-0/blake2-rfc-0.2.18)`

But the version we got is way above .41.
0.0.302 > 0.0.41!

WDYT?

-- 
Cheers Swedebugia




Information forwarded to bug-guix <at> gnu.org:
bug#36457; Package guix. (Mon, 01 Jul 2019 09:31:01 GMT) Full text and rfc822 format available.

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

From: swedebugia <swedebugia <at> riseup.net>
To: bug-guix <at> gnu.org
Subject: Re: bug#36457: Guix does not match point-versions correctly
Date: Mon, 1 Jul 2019 11:30:36 +0200
On 2019-07-01 11:11, swedebugia wrote:
> Hi
> 
> I'm doing the crate-adventure and stumbled on this:
> 
> starting phase `build'
> error: failed to select a version for the requirement `clippy = "^0.0.41"`
>    candidate versions found which didn't match: 0.0.302
>    location searched: directory source 
> `/tmp/guix-build-rust-blake2-rfc-0.2.18.drv-0/blake2-rfc-0.2.18/guix-vendor` 
> (which is replacing registry 
> `https://github.com/rust-lang/crates.io-index`)
> required by package `blake2-rfc v0.2.18 
> (/tmp/guix-build-rust-blake2-rfc-0.2.18.drv-0/blake2-rfc-0.2.18)`
> 
> But the version we got is way above .41.
> 0.0.302 > 0.0.41!
> 
> WDYT?
> 

Oops maybe this output is from cargo.

According to https://semver.npmjs.com/ the ^ (hat) means: include 
everything greater than a particular version in the same major range. 
cargo should thus accept up to 0.0.999 in this case as valid but does not.

Should I relax the version requirement? To what?

-- 
Cheers Swedebugia




Information forwarded to bug-guix <at> gnu.org:
bug#36457; Package guix. (Mon, 01 Jul 2019 09:59:01 GMT) Full text and rfc822 format available.

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

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: swedebugia <swedebugia <at> riseup.net>
Cc: 36457 <at> debbugs.gnu.org
Subject: Re: bug#36457: Guix does not match point-versions correctly
Date: Mon, 1 Jul 2019 11:58:12 +0200
[Message part 1 (text/plain, inline)]
On Mon, 1 Jul 2019 11:11:45 +0200
swedebugia <swedebugia <at> riseup.net> wrote:

> I'm doing the crate-adventure and stumbled on this:
> 
> starting phase `build'
> error: failed to select a version for the requirement `clippy = "^0.0.41"`
>    candidate versions found which didn't match: 0.0.302
>    location searched: directory source 
> `/tmp/guix-build-rust-blake2-rfc-0.2.18.drv-0/blake2-rfc-0.2.18/guix-vendor` 
> (which is replacing registry `https://github.com/rust-lang/crates.io-index`)
> required by package `blake2-rfc v0.2.18 
> (/tmp/guix-build-rust-blake2-rfc-0.2.18.drv-0/blake2-rfc-0.2.18)`
> 
> But the version we got is way above .41.
> 0.0.302 > 0.0.41!

https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html says:

> The version 0.0.x is not considered compatible with any other version.
[Message part 2 (application/pgp-signature, inline)]

Added tag(s) notabug. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 05 Jul 2019 21:37:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 36457 <at> debbugs.gnu.org and swedebugia <swedebugia <at> riseup.net> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 05 Jul 2019 21:37:01 GMT) Full text and rfc822 format available.

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

This bug report was last modified 4 years and 267 days ago.

Previous Next


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