pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cargo-c build failure - rust version?



On Wed, Feb 14, 2024 at 08:02:40AM -0800, Hisashi T Fujinaka wrote:
> On Wed, 14 Feb 2024, Thomas Klausner wrote:
> 
> > On Wed, Feb 14, 2024 at 09:46:54AM -0500, Greg Troxel wrote:
> > > ===> Creating toolchain wrappers for cargo-c-0.9.30
> > > ===> Configuring for cargo-c-0.9.30
> > > => Checking for portability problems in extracted files
> > > ===> Building for cargo-c-0.9.30
> > > error: package `clap_derive v4.5.0` cannot be built because it requires rustc 1.74 or newer, while the currently active rustc version is 1.73.0
> > > Either upgrade to rustc 1.74 or newer, or use
> > > cargo update -p clap_derive@4.5.0 --precise ver
> > > where `ver` is the latest version of `clap_derive` supporting rustc 1.73.0
> > > *** Error code 101
> > > 
> > > 
> > > But lang/rust-bin is at 1.73.0.
> > 
> > lang/rust is at 1.74.1 - just update rust-bin?
> 
> distinfo says 1.73.0 for rust-bin. rust says 1.73.0 too.
> 
> Am I missing something?

You must be on a a branch - head has as lang/rust/Makefile:

# $NetBSD: Makefile,v 1.302 2024/01/15 15:15:01 jperkin Exp $

DISTNAME=       rustc-1.74.1-src

 Thomas


Home | Main Index | Thread Index | Old Index