Package Details: starship 0.47.0-1

Git Clone URL: https://aur.archlinux.org/starship.git (read-only, click to copy)
Package Base: starship
Description: The cross-shell prompt for astronauts
Upstream URL: https://starship.rs/
Licenses: ISC
Provides: starship
Submitter: chipbuster
Maintainer: chipbuster (starship-bot)
Last Packager: starship-bot
Votes: 35
Popularity: 2.62
First Submitted: 2019-08-11 01:14
Last Updated: 2020-11-15 17:41

Latest Comments

1 2 3 4 5 6 ... Next › Last »

chipbuster commented on 2020-11-26 10:19

@WhyNotHugo The requirement is to have a working rust toolchain including a rustc and cargo. The rust package should provide this (my clean-chroot test builds are against rust, not rustup), but I was shooting at some weird packaging issues.

Of course, now that I'm thinking, the correct move would have been to ask for a list of installed packages and the compilation output...

@Hubro would you mind posting the output of pacman -Qs rust and the errors you get when trying to build?

WhyNotHugo commented on 2020-11-26 09:26

@chipbuster If the requirement is to have rustup, rather than rust, then dependencies should probably list the former, not the latter.

chipbuster commented on 2020-11-26 00:51

@Hubro Do you have rust or rustup installed? If rust, you might want to uninstall that, install rustup, and then run rustup update to get the latest version of rust.

You can also install starship-bin if you're having issues getting the toolchain to work.

joelpet commented on 2020-11-20 14:39

@Hubro My guess is that @silverben (like me) has the rust dependency of this package satisfied through rustup. You might have it satisfied through one of the other providers, e.g. rust-bin, which does not contain the rustup binary. One option for you could be to replace that with rustup and run rustup update, after which you should be able to install/upgrade this package.

It could be of interest to the maintainer of this AUR package which version of which rust provider you're currently using, since the error indicates a dependency problem.

Hubro commented on 2020-11-19 15:16

I am unable to update this package, and my current install got broken by the latest system update (libgit2.so.1.0: cannot open shared object file).

When I build this package, the compilation succeeds, the tests succeed, but when it gets to "Doc-tests", it crashes horribly with lots of errors. Any advise?

Hubro commented on 2020-11-19 15:14

@silverben10 I have the same issue. What do you mean "rustup update" fixed the issue? Where do you run it? I don't have that command available.

hvksmr1996 commented on 2020-11-01 04:27

The check function fails

schrieveslaach commented on 2020-10-18 10:32

Hey @chipbuster, could you enable the feature notify-rust for the package?

silverben10 commented on 2020-10-14 08:54

Edit: Fixed this issue with rustup update.


I haven't been able to update this package for a while, due to the following error. Is this a problem with my machine, instead of the package?

error[E0658]: use of unstable library feature 'str_strip': newly added
   --> src/modules/directory.rs:131:27
    |
131 |                         x.strip_prefix(r"Microsoft.PowerShell.Core\FileSystem::")
    |                           ^^^^^^^^^^^^
    |
    = note: see issue #67302 <https://github.com/rust-lang/rust/issues/67302> for more information

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.
error: could not compile `starship`.

chipbuster commented on 2020-10-12 22:58

Hey @IceS2, I think this is an upstream issue. There's currently a PR open to fix it at https://github.com/starship/starship/pull/1775

In the meantime, you can either modify the PKGBUILD to disable tests or install starship-bin.