You are not logged in.

#1 2025-12-13 20:54:24

korimitsu
Member
Registered: 2016-08-14
Posts: 191

paru and paru-git fail to build

Can't compile any version of paru

$ yay -S paru
AUR Explicit (1): paru-2.1.0-2
:: PKGBUILD up to date, skipping download: paru
  1 paru                                     (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [i]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
  1 paru                                     (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [i]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
==> Making package: paru 2.1.0-2 (Sat 13 Dec 2025 09:50:35 PM IST)
==> Retrieving sources...
  -> Found paru-2.1.0.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    paru-2.1.0.tar.gz ... Passed
:: (1/1) Parsing SRCINFO: paru
==> Making package: paru 2.1.0-2 (Sat 13 Dec 2025 09:50:37 PM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found paru-2.1.0.tar.gz
==> Validating source files with sha256sums...
    paru-2.1.0.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting paru-2.1.0.tar.gz with bsdtar
==> Starting prepare()...
    Updating crates.io index
     Locking 2 packages to latest compatible versions
    Updating alpm v4.0.3 -> v4.0.4 (available: v5.0.0)
    Updating alpm-sys v4.0.3 -> v4.0.4
note: pass `--verbose` to see 127 unchanged dependencies behind latest
==> Sources are ready.
==> Making package: paru 2.1.0-2 (Sat 13 Dec 2025 09:50:48 PM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
   Compiling proc-macro2 v1.0.95
   Compiling unicode-ident v1.0.18
   Compiling libc v0.2.174
   Compiling memchr v2.7.5
   Compiling cfg-if v1.0.1
   Compiling pkg-config v0.3.32
   Compiling stable_deref_trait v1.2.0
   Compiling shlex v1.3.0
   Compiling pin-project-lite v0.2.16
   Compiling smallvec v1.15.1
   Compiling serde v1.0.219
   Compiling siphasher v1.0.1
   Compiling bitflags v2.9.1
   Compiling rand_core v0.6.4
   Compiling once_cell v1.21.3
   Compiling log v0.4.27
   Compiling bytes v1.10.1
   Compiling itoa v1.0.15
   Compiling futures-core v0.3.31
   Compiling autocfg v1.5.0
   Compiling futures-sink v0.3.31
   Compiling vcpkg v0.2.15
   Compiling litemap v0.8.0
   Compiling writeable v0.6.1
   Compiling futures-task v0.3.31
   Compiling pin-utils v0.1.0
   Compiling futures-io v0.3.31
   Compiling icu_normalizer_data v2.0.0
   Compiling icu_properties_data v2.0.1
   Compiling slab v0.4.10
   Compiling hashbrown v0.15.4
   Compiling equivalent v1.0.2
   Compiling adler2 v2.0.1
   Compiling fnv v1.0.7
   Compiling openssl v0.10.73
   Compiling crossbeam-utils v0.8.21
   Compiling foreign-types-shared v0.1.1
   Compiling regex-syntax v0.8.5
   Compiling futures-channel v0.3.31
   Compiling miniz_oxide v0.8.9
   Compiling cc v1.2.29
   Compiling foreign-types v0.3.2
   Compiling phf_shared v0.11.3
   Compiling rand v0.8.5
   Compiling new_debug_unreachable v1.0.6
   Compiling percent-encoding v2.3.1
   Compiling parking_lot_core v0.9.11
   Compiling httparse v1.10.1
   Compiling native-tls v0.2.14
   Compiling utf8_iter v1.0.4
   Compiling try-lock v0.2.5
   Compiling scopeguard v1.2.0
   Compiling openssl-probe v0.1.6
   Compiling tracing-core v0.1.34
   Compiling thiserror v1.0.69
   Compiling crc32fast v1.4.2
   Compiling encoding_rs v0.8.35
   Compiling form_urlencoded v1.2.1
   Compiling want v0.3.1
   Compiling precomputed-hash v0.1.1
   Compiling tower-service v0.3.3
   Compiling serde_json v1.0.140
   Compiling temp-dir v0.1.16
   Compiling ryu v1.0.20
   Compiling httpdate v1.0.3
   Compiling mac v0.1.1
   Compiling dtoa v1.0.10
   Compiling unicode-width v0.2.1
   Compiling utf-8 v0.7.6
   Compiling futf v0.1.5
   Compiling rustix v1.0.7
   Compiling object v0.36.7
   Compiling either v1.15.0
   Compiling base64 v0.21.7
   Compiling utf8parse v0.2.2
   Compiling cini v1.0.0
   Compiling dtoa-short v0.3.5
   Compiling lazy_static v1.5.0
   Compiling linux-raw-sys v0.9.4
   Compiling lock_api v0.4.13
   Compiling num-traits v0.2.19
   Compiling tendril v0.4.3
   Compiling sync_wrapper v0.1.2
   Compiling gimli v0.31.1
   Compiling ipnet v2.11.0
   Compiling byteorder v1.5.0
   Compiling mime v0.3.17
   Compiling cfg_aliases v0.2.1
   Compiling portable-atomic v1.11.1
   Compiling getrandom v0.3.3
   Compiling nix v0.30.1
   Compiling anstyle-parse v0.2.7
   Compiling aho-corasick v1.1.3
   Compiling alpm-sys v4.0.4
   Compiling pacmanconf v3.0.0
   Compiling tracing v0.1.41
   Compiling flate2 v1.1.2
   Compiling rustls-pemfile v1.0.4
   Compiling quote v1.0.40
   Compiling crossbeam-epoch v0.9.18
   Compiling phf_generator v0.11.3
   Compiling http v0.2.12
   Compiling crossbeam-queue v0.3.12
   Compiling crossbeam-channel v0.5.15
   Compiling fxhash v0.2.1
   Compiling servo_arc v0.4.1
   Compiling is_terminal_polyfill v1.70.1
   Compiling indexmap v2.10.0
   Compiling syn v2.0.104
   Compiling phf_codegen v0.11.3
   Compiling string_cache_codegen v0.5.4
   Compiling anstyle v1.0.11
   Compiling anyhow v1.0.98
   Compiling option-ext v0.2.0
   Compiling winnow v0.7.11
   Compiling rustc-demangle v0.1.25
   Compiling colorchoice v1.0.4
   Compiling alpm v4.0.4
   Compiling toml_write v0.1.2
   Compiling selectors v0.26.0
   Compiling signal-hook v0.3.18
   Compiling anstyle-query v1.1.3
   Compiling crossbeam-deque v0.8.6
   Compiling bstr v1.12.0
   Compiling getopts v0.2.23
   Compiling iana-time-zone v0.1.63
   Compiling fastrand v2.3.0
   Compiling anstream v0.6.19
   Compiling srcinfo v1.3.1
   Compiling unit-prefix v0.5.1
   Compiling jiff v0.2.15
   Compiling ego-tree v0.10.0
   Compiling htmlescape v0.3.1
   Compiling ansiterm v0.12.2
   Compiling crossbeam v0.8.4
   Compiling markup5ever v0.14.1
   Compiling openssl-sys v0.9.109
   Compiling gettext-sys v0.22.5
error[E0425]: cannot find function `alpm_option_set_disable_sandbox_filesystem` in this scope
    --> /home/korimitsu/.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/korimitsu/.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

error[E0425]: cannot find function `alpm_option_set_disable_sandbox_syscalls` in this scope
    --> /home/korimitsu/.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/korimitsu/.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

error[E0061]: this function takes 3 arguments but 4 arguments were supplied
    --> /home/korimitsu/.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/korimitsu/.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()) };
     |

   Compiling quick-xml v0.37.5
   Compiling chrono v0.4.41
   Compiling http-body v0.4.6
Some errors have detailed explanations: E0061, E0425.
For more information about an error, try `rustc --explain E0061`.
error: could not compile `alpm` (lib) due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: paru-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
paru - exit status 4

Offline

#2 2025-12-13 21:09:14

anjanaya
Member
Registered: 2009-05-13
Posts: 9

Re: paru and paru-git fail to build

I have the same issue and just wanted to mention that even updating rust still did not work

rustup upgrade
rustup check                                                                                                                                                                                                                                      22:01 
stable-x86_64-unknown-linux-gnu - Update available : 1.91.0 (f8297e351 2025-10-28) -> 1.92.0 (ded5c06cf 2025-12-08)
rustup - Up to date : 1.28.2
? ~ ❯ rustup upgrade                                                                                                                                                                                                                                    22:01 
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2025-12-11, rust version 1.92.0 (ded5c06cf 2025-12-08)
info: downloading component 'rust-src'
info: downloading component 'cargo'
 10.3 MiB /  10.3 MiB (100 %)   6.4 MiB/s in  1s         
info: downloading component 'clippy'
info: downloading component 'rust-docs'
 20.5 MiB /  20.5 MiB (100 %)   3.5 MiB/s in  5s         
info: downloading component 'rust-std'
 28.0 MiB /  28.0 MiB (100 %)   3.8 MiB/s in  6s         
info: downloading component 'rustc'
 74.3 MiB /  74.3 MiB (100 %)   3.8 MiB/s in 19s         
info: downloading component 'rustfmt'
info: removing previous version of component 'rust-src'
info: removing previous version of component 'cargo'
info: removing previous version of component 'clippy'
info: removing previous version of component 'rust-docs'
info: removing previous version of component 'rust-std'
info: removing previous version of component 'rustc'
info: removing previous version of component 'rustfmt'
info: installing component 'rust-src'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
 20.5 MiB /  20.5 MiB (100 %)   7.0 MiB/s in  2s         
info: installing component 'rust-std'
 28.0 MiB /  28.0 MiB (100 %)  21.8 MiB/s in  1s         
info: installing component 'rustc'
 74.3 MiB /  74.3 MiB (100 %)  24.3 MiB/s in  3s         
info: installing component 'rustfmt'
info: checking for self-update

  stable-x86_64-unknown-linux-gnu updated - rustc 1.92.0 (ded5c06cf 2025-12-08) (from rustc 1.91.0 (f8297e351 2025-10-28))

Last edited by anjanaya (2025-12-13 21:48:37)

Offline

#3 2025-12-13 21:09:38

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,473

Offline

#4 2025-12-13 21:47:33

anjanaya
Member
Registered: 2009-05-13
Posts: 9

Re: paru and paru-git fail to build

Thanks! I failed to see the PKGBUILD there and after using it I was able to build and run paru again, as the comment mentioned, to be careful, I will try to use the official git version in a few days to see if that works again.

Last edited by anjanaya (2025-12-13 21:48:06)

Offline

#5 2025-12-13 22:13:27

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,473

Re: paru and paru-git fail to build

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#6 2025-12-13 22:27:50

korimitsu
Member
Registered: 2016-08-14
Posts: 191

Re: paru and paru-git fail to build

I'll wait until it's fixed which has not been yet.

Offline

#7 2025-12-14 11:41:14

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 704

Re: paru and paru-git fail to build

korimitsu wrote:

I'll wait until it's fixed which has not been yet.

Just use yay which always gets updated quickly when libalpm updates occur, unlike paru.

Offline

#8 2025-12-14 13:55:27

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 756

Re: paru and paru-git fail to build

On Paru's git page there is a post with working PKGBUILD. As far as I understand, they're just waiting on some cargo slowdown or something like that.

Offline

Board footer

Powered by FluxBB