[Slackbuilds-users] rustup-1.26.0

John alleytrotter at gmail.com
Sun Aug 13 11:48:18 UTC 2023


Yes Eric
I discovered that, even though I had the shims installed my $PATH was not
set properly. Barry's response got me thinking about that and enabled me to
find my error and correct it. The $PATH had been properly set in the past.
I must have changed it for some reason.
Thank You
John

On Sat, Aug 12, 2023 at 10:55 PM Erich Ritz via SlackBuilds-users <
slackbuilds-users at slackbuilds.org> wrote:

> ------- Original Message -------
> On Saturday, August 12th, 2023 at 2:00 PM, Barry J. Grundy <
> bgrundy at linuxleo.com> wrote:
>
>
> >
> >
> > On 23/08/12 12:35PM, John wrote:
> >
> > > Greetings List
> > > Rustup-1.26.0 fails to build for me with the following errors:
> > >
> > > --error: failed to get `anyhow` as a dependency of package `download
> v1.26.0 (/tmp/SBo/rustup-1.26.0/download)`
> > > Caused by:
> > > failed to load source for dependency `anyhow`
> > > Caused by:
> > > Unable to update registry `crates-io`
> > > Caused by:
> > > failed to update replaced source registry `crates-io`
> > > Caused by:
> > > failed to parse manifest at
> > > `/tmp/SBo/rustup-1.26.0/vendor/fs_at-0.1.3/Cargo.toml`
> > > Caused by:
> > > namespaced features with the `dep:` prefix are only allowed on the
> nightly
> > > channel and requires the `-Z namespaced-features` flag on the
> command-line
> > >
> > > Any help is greatly appreciated for my System76 also needs
> System76-power
> > > which requires rustup
> > > Thanks
> > > john
> >
> >
> > Interesting. Rustup installed fine for me, and after following the
> > README instructions, I tried to install system76-power and recieved a
> > very similar error to yours above:
> >
> > error: failed to get `clap` as a dependency of package `system76-power
> v1.1.25 (/tmp/SBo/system76-power-fc8eb49fae5222da56dcfa414ef2b190e9f870c7)`
> >
> > Caused by:
> > failed to load source for dependency `clap`
> >
> > Caused by:
> > Unable to update registry `crates-io`
> >
> > Caused by:
> > failed to update replaced source registry `crates-io`
> >
> > Caused by:
> > failed to parse manifest at
> `/tmp/SBo/system76-power-fc8eb49fae5222da56dcfa414ef2b190e9f870c7/vendor/anstream-0.3.2/Cargo.toml`
> >
> > Caused by:
> > namespaced features with the `dep:` prefix are only allowed on the
> nightly channel and requires the `-Z namespaced-features` flag on the
> command-line
> > make: *** [Makefile:62: target/release/system76-power] Error 101
> > Failures:
> > system76-power: system76-power.SlackBuild return non-zero
> >
>
> I think you didn't configure your system to prefer rustup over system
> rust.  See this user with the same error:
>
>
> https://lists.slackbuilds.org/pipermail/slackbuilds-users/2023-January/027714.html
>
> >
> > But again, rustup installed fine.
> >
> > Barry
> > _______________________________________________
> > SlackBuilds-users mailing list
> > SlackBuilds-users at slackbuilds.org
> > https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> > Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> > FAQ - https://slackbuilds.org/faq/
>
> Erich
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>

-- 
Life expectancy in a firefight
Radio Man 3 seconds
Medic 7 seconds
Officer whenever they get around to it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20230813/979cfd43/attachment-0001.htm>


More information about the SlackBuilds-users mailing list