Got the same error, your rust toolchain is outdated.
rfonseca
posted the solution.
Search Criteria
Package Details: paru 2.0.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/paru.git (read-only, click to copy) |
---|---|
Package Base: | paru |
Description: | Feature packed AUR helper |
Upstream URL: | https://github.com/morganamilo/paru |
Keywords: | AUR helper pacman rust wrapper yay |
Licenses: | GPL-3.0-or-later |
Submitter: | Morganamilo |
Maintainer: | Morganamilo |
Last Packager: | Morganamilo |
Votes: | 907 |
Popularity: | 22.34 |
First Submitted: | 2020-10-19 00:43 (UTC) |
Last Updated: | 2024-03-26 04:28 (UTC) |
Dependencies (6)
- git (git-gitAUR)
- libalpm.so (pacman-pbAUR, pacman)
- pacman (pacman-pbAUR, pacman-fancy-progress-gitAUR, pacman-gitAUR)
- cargo (rust-nightly-binAUR, cargo-gitAUR, rustup-gitAUR, rust, rustup) (make)
- bat (bat-cat-gitAUR) (optional) – colored pkgbuild printing
- devtools (devtools32-gitAUR, devtools-gitAUR) (optional) – build in chroot and downloading pkgbuilds
Required by (26)
- aconfmgr-git (optional)
- arch-os-manager
- arch-update (optional)
- dec-bin
- dec-git
- fe
- fuzzy-pkg-finder (optional)
- fzpac-git (optional)
- iwant (optional)
- iwant-bin (optional)
- kdeplasma-arch-update-notifier-git (optional)
- kdeplasma5-arch-update-notifier-git (optional)
- lsparu
- meta-package-manager (optional)
- octopi (optional)
- packageprovides (optional)
- pacup-arch-git (optional)
- paru-static
- parui (optional)
- parui-git (optional)
- paruz (optional)
- paruz-git (optional)
- pkg-listn (optional)
- pkg-listn-git (optional)
- ppac-git (optional)
- upgrade
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 22 Next › Last »
huglwutz commented on 2021-11-13 10:04 (UTC)
rfonseca commented on 2021-11-12 19:51 (UTC) (edited on 2021-11-12 19:51 (UTC) by rfonseca)
I was also getting the same compilation error. The problem was that rustc was not updated.
I've installed rustup
instead of the rust
package. So I had to run rustup update
to update rustc
and after that it worked.
Ineu commented on 2021-11-05 13:00 (UTC)
This package does not build after the update:
error: doc alias attribute expects a string: #[doc(alias = "0")]
--> /home/ineu/.cargo/registry/src/github.com-1ecc6299db9ec823/alpm-2.1.3/src/db.rs:13:7
|
13 | #[doc(alias("repo", "repository"))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compiling locale_config v0.3.0
Compiling env_logger v0.9.0
error: aborting due to previous error
error: could not compile `alpm`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
alerque commented on 2021-08-12 07:25 (UTC)
Actually yes, I think doas / su / friends should be listed as optdepends here.
Also this should probably depend on base-devel
. It is assumed for all package building scenarios, and even though it is part of the instructions to install this, right now you can install it (e.g. directly from my unofficial user repository) on a fresh base system without being forewarned that it really needs base-devel
to function as anything beyond a pacman alias.
Alad commented on 2021-08-11 21:32 (UTC) (edited on 2021-08-11 21:33 (UTC) by Alad)
By that logic pacman should (opt)depend on fakeroot and sudo too, because makepkg uses them at runtime. Anyway I guess the issue at hand is that people specifically remove sudo after installing base-devel, because they want to use doas or su or some such. That's going to lead to issues down the road either way, e.g. when using devtools.
dominicegginton commented on 2021-08-10 11:23 (UTC)
@alad, sudo
is included in the base-devel
, however should still be listed as an optdepends=()
. I believe listing sudo
in optdepends=()
makes it clear for PKGBUILD
readers.
alerque commented on 2021-08-10 07:09 (UTC)
@Alad That logic applies to makedepends=()
, not for depends=()
. Anything is base-deve!
is presumed and does not need to be listed as a build time dependency. In this case sudo
is a optional run time dependency, hence it can (and I believe should) be listed as such. It is not part of base
.
Alad commented on 2021-08-09 07:15 (UTC)
sudo is part of base-devel, so no, it should not be listed as a dependency - not a regular one, nor an optional one.
dominicegginton commented on 2021-07-27 08:16 (UTC)
@alergue,I agree, sudo should be listed as an optdepends
.
Pinned Comments
haxie commented on 2023-05-26 17:45 (UTC)
you're better off contacting her via the github, this comments section is 90% "it's out of date" from people who didn't scroll down before posting