Package Details: paru-git 2.1.0.r41.g789bead-1

Git Clone URL: https://aur.archlinux.org/paru-git.git (read-only, click to copy)
Package Base: paru-git
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
Conflicts: paru
Provides: paru
Submitter: Morganamilo
Maintainer: Morganamilo
Last Packager: Morganamilo
Votes: 56
Popularity: 1.76
First Submitted: 2020-10-19 00:48 (UTC)
Last Updated: 2025-12-12 05:02 (UTC)

Dependencies (6)

Required by (63)

Sources (1)

Pinned Comments

alex19EP commented on 2021-12-06 17:29 (UTC)

pleas don't flag if it builds.

Latest Comments

1 2 Next › Last »

voidspawn commented on 2025-12-15 06:20 (UTC) (edited on 2025-12-15 06:22 (UTC) by voidspawn)

this package dont build, there is a dep alpm, it out of date and can't build(while waiting yay repo just works)

error[E0425]: cannot find function `alpm_option_set_disable_sandbox_filesystem` in this scope
    --> /home/vs/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/alpm-4.0.4/src/handle.rs:181:18
     |
 181 |           unsafe { alpm_option_set_disable_sandbox_filesystem(self.as_ptr(), b) };
     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `alpm_option_set_disable_sandbox`
     |
    ::: /home/vs/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/alpm-sys-4.0.4/src/ffi.rs:2385:5
     |
2385 | /     pub fn alpm_option_set_disable_sandbox(
2386 | |         handle: *mut alpm_handle_t,
2387 | |         disable_sandbox: ::std::os::raw::c_ushort,
2388 | |     ) -> ::std::os::raw::c_int;
     | |_______________________________- similarly named function `alpm_option_set_disable_sandbox` defined here

   Compiling anstream v0.6.19
error[E0425]: cannot find function `alpm_option_set_disable_sandbox_syscalls` in this scope
    --> /home/vs/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/alpm-4.0.4/src/handle.rs:182:18
     |
 182 |           unsafe { alpm_option_set_disable_sandbox_syscalls(self.as_ptr(), b) };
     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `alpm_option_set_disable_sandbox`
     |
    ::: /home/vs/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/alpm-sys-4.0.4/src/ffi.rs:2385:5
     |
2385 | /     pub fn alpm_option_set_disable_sandbox(
2386 | |         handle: *mut alpm_handle_t,
2387 | |         disable_sandbox: ::std::os::raw::c_ushort,
2388 | |     ) -> ::std::os::raw::c_int;
     | |_______________________________- similarly named function `alpm_option_set_disable_sandbox` defined here

   Compiling openssl-sys v0.9.109
error[E0061]: this function takes 3 arguments but 4 arguments were supplied
    --> /home/vs/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/alpm-4.0.4/src/sandbox.rs:14:22
     |
  14 |             unsafe { alpm_sandbox_setup_child(self.as_ptr(), user.as_ptr(), path.as_ptr(), false) };
     |                      ^^^^^^^^^^^^^^^^^^^^^^^^                                              ----- unexpected argument #4 of type `bool`
     |
note: function defined here
    --> /home/vs/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/alpm-sys-4.0.4/src/ffi.rs:2817:12
     |
2817 |     pub fn alpm_sandbox_setup_child(
     |            ^^^^^^^^^^^^^^^^^^^^^^^^
help: remove the extra argument
     |
  14 -             unsafe { alpm_sandbox_setup_child(self.as_ptr(), user.as_ptr(), path.as_ptr(), false) };
  14 +             unsafe { alpm_sandbox_setup_child(self.as_ptr(), user.as_ptr(), path.as_ptr()) };

greyltc commented on 2024-09-21 16:01 (UTC)

the following is needed today to build this on on aarch64:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ source=("git+https://github.com/morganamilo/paru")
 backup=("etc/paru.conf")
 arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
 license=('GPL-3.0-or-later')
-makedepends=('cargo')
+makedepends=('cargo' 'clang')
 depends=('git' 'pacman' 'libalpm.so>=14')
 optdepends=('bat: colored pkgbuild printing' 'devtools: build in chroot and downloading pkgbuilds')
 conflicts=('paru')
@@ -36,6 +36,10 @@ build () {
     export CARGO_PROFILE_RELEASE_LTO=off
   fi

+  if [[ $CARCH = aarch64 ]]; then
+    _features+="generate,"
+  fi
+
   PARU_VERSION=$pkgver cargo build --frozen --features "${_features:-}" --release --target-dir target
   ./scripts/mkmo locale/
 }

earlybird commented on 2024-09-05 05:56 (UTC)

We can not build this for now. Can you fix it?

rekman commented on 2024-08-30 22:42 (UTC)

Will fail to build until pacman 7 with alpm 15 is released into mainline repos.

yurzhang commented on 2023-08-22 12:58 (UTC)

I failed to build this package with nightly toolchain, since its dependency proc-macro2 v1.0.50 was enabling the nightly feature that doesn't exist anymore.

It was fixed in proc-macro2 1.0.60+ but paru seemed to depend on an outdated version.

akiirui commented on 2023-08-01 12:52 (UTC)

@MarsSeed You should to know, paru -> pacman -> curl -> openssl

MarsSeed commented on 2023-07-31 16:58 (UTC) (edited on 2023-07-31 17:11 (UTC) by MarsSeed)

Paru can break itself if the paru package does not properly declare its direct dependencies like openssl.

(Actually libcrypto.so and libssl.so would be the best to declare in depends instead of openssl, because that would be the safest and would lead to the least amount of disruption and accidental breakage for users).