paru build error
[yang@Thinkpad paru]$ makepkg -si
==> 正在创建软件包:paru 2.1.0-2 (2025年12月14日 星期日 00时54分51秒)
==> 正在检查运行时依赖关系...
==> 正在检查编译时依赖关系
==> 获取源代码...
-> 正在下载 paru-2.1.0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 8082k 100 8082k 0 0 2216k 0 0:00:03 0:00:03 --:--:-- 3178k
==> 正在验证 source 文件,使用sha256sums...
paru-2.1.0.tar.gz ... 通过
==> 正在释放源码...
-> 正在解压缩 paru-2.1.0.tar.gz,使用 bsdtar
==> 正在开始 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
==> 正在开始 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 smallvec v1.15.1
Compiling pin-project-lite v0.2.16
Compiling rand_core v0.6.4
Compiling bitflags v2.9.1
Compiling cc v1.2.29
Compiling serde v1.0.219
Compiling siphasher v1.0.1
Compiling rand v0.8.5
Compiling phf_shared v0.11.3
Compiling log v0.4.27
Compiling once_cell v1.21.3
Compiling futures-core v0.3.31
Compiling quote v1.0.40
Compiling itoa v1.0.15
Compiling bytes v1.10.1
Compiling autocfg v1.5.0
Compiling syn v2.0.104
Compiling phf_generator v0.11.3
Compiling vcpkg v0.2.15
Compiling futures-sink v0.3.31
Compiling writeable v0.6.1
Compiling litemap v0.8.0
Compiling futures-channel v0.3.31
Compiling slab v0.4.10
Compiling icu_properties_data v2.0.1
Compiling futures-task v0.3.31
Compiling icu_normalizer_data v2.0.0
Compiling futures-io v0.3.31
Compiling pin-utils v0.1.0
Compiling alpm-sys v4.0.4
Compiling hashbrown v0.15.4
Compiling equivalent v1.0.2
Compiling phf_codegen v0.11.3
Compiling aho-corasick v1.1.3
Compiling fnv v1.0.7
Compiling foreign-types-shared v0.1.1
Compiling crossbeam-utils v0.8.21
Compiling adler2 v2.0.1
Compiling openssl v0.10.73
Compiling regex-syntax v0.8.5
Compiling miniz_oxide v0.8.9
Compiling indexmap v2.10.0
Compiling signal-hook-registry v1.4.5
Compiling openssl-sys v0.9.109
Compiling socket2 v0.5.10
Compiling mio v1.0.4
Compiling foreign-types v0.3.2
Compiling http v0.2.12
Compiling lock_api v0.4.13
Compiling tracing-core v0.1.34
Compiling httparse v1.10.1
Compiling percent-encoding v2.3.1
Compiling new_debug_unreachable v1.0.6
Compiling parking_lot_core v0.9.11
Compiling native-tls v0.2.14
Compiling tracing v0.1.41
Compiling form_urlencoded v1.2.1
Compiling regex-automata v0.4.9
Compiling utf8_iter v1.0.4
Compiling thiserror v1.0.69
Compiling scopeguard v1.2.0
Compiling try-lock v0.2.5
Compiling openssl-probe v0.1.6
Compiling want v0.3.1
Compiling http-body v0.4.6
Compiling synstructure v0.13.2
Compiling string_cache_codegen v0.5.4
Compiling crc32fast v1.4.2
Compiling encoding_rs v0.8.35
Compiling mac v0.1.1
Compiling serde_json v1.0.140
Compiling precomputed-hash v0.1.1
Compiling temp-dir v0.1.16
Compiling httpdate v1.0.3
Compiling tower-service v0.3.3
Compiling ryu v1.0.20
Compiling markup5ever v0.14.1
Compiling gettext-sys v0.22.5
Compiling futf v0.1.5
Compiling flate2 v1.1.2
Compiling parking_lot v0.12.4
Compiling alpm v4.0.4
Compiling rustix v1.0.7
Compiling base64 v0.21.7
Compiling object v0.36.7
Compiling regex v1.11.1
Compiling dtoa v1.0.10
Compiling unicode-width v0.2.1
Compiling utf-8 v0.7.6
Compiling either v1.15.0
Compiling tendril v0.4.3
Compiling dtoa-short v0.3.5
Compiling rustls-pemfile v1.0.4
Compiling crossbeam-epoch v0.9.18
Compiling selectors v0.26.0
Compiling num-traits v0.2.19
Compiling cfg_aliases v0.2.1
Compiling lazy_static v1.5.0
Compiling utf8parse v0.2.2
Compiling cini v1.0.0
Compiling mime v0.3.17
Compiling getrandom v0.3.3
Compiling sync_wrapper v0.1.2
Compiling portable-atomic v1.11.1
Compiling ipnet v2.11.0
Compiling gimli v0.31.1
Compiling linux-raw-sys v0.9.4
Compiling byteorder v1.5.0
Compiling fxhash v0.2.1
Compiling pacmanconf v3.0.0
Compiling crossbeam-deque v0.8.6
Compiling zerofrom-derive v0.1.6
Compiling yoke-derive v0.8.0
Compiling zerovec-derive v0.11.1
Compiling serde_derive v1.0.219
Compiling displaydoc v0.2.5
Compiling tokio-macros v2.5.0
Compiling futures-macro v0.3.31
Compiling openssl-macros v0.1.1
Compiling tokio v1.46.1
Compiling phf_macros v0.11.3
Compiling zerofrom v0.1.6
Compiling futures-util v0.3.31
Compiling yoke v0.8.0
Compiling zerovec v0.11.2
Compiling zerotrie v0.2.2
Compiling phf v0.11.3
Compiling thiserror-impl v1.0.69
Compiling cssparser-macros v0.6.1
Compiling cssparser v0.34.0
Compiling tinystr v0.8.1
Compiling icu_locale_core v2.0.0
Compiling potential_utf v0.1.2
Compiling icu_collections v2.0.0
Compiling icu_provider v2.0.0
Compiling addr2line v0.24.2
Compiling icu_normalizer v2.0.0
Compiling icu_properties v2.0.1
Compiling derive_more v0.99.20
Compiling tokio-util v0.7.15
Compiling tokio-native-tls v0.3.1
Compiling async-compression v0.4.25
Compiling idna_adapter v1.2.1
Compiling idna v1.0.3
Compiling h2 v0.3.26
Compiling tokio-socks v0.5.2
Compiling match_token v0.1.0
Compiling url v2.5.4
Compiling async-trait v0.1.88
Compiling anstyle-parse v0.2.7
Compiling locale_config v0.3.0
Compiling string_cache v0.8.9
Compiling serde_urlencoded v0.7.1
Compiling serde_spanned v0.6.9
Compiling toml_datetime v0.6.11
Compiling nix v0.30.1
Compiling crossbeam-queue v0.3.12
error[E0425]: cannot find function alpm_option_set_disable_sandbox_filesystem in this scope
--> /home/yang/.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/yang/.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/yang/.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/yang/.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 crossbeam-channel v0.5.15
error[E0061]: this function takes 3 arguments but 4 arguments were supplied
--> /home/yang/.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/yang/.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 servo_arc v0.4.1
Compiling option-ext v0.2.0
Compiling toml_write v0.1.2
Compiling hyper v0.14.32
Compiling anstyle v1.0.11
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...
==> 错误: 在 build() 中发生一个错误。
正在放弃...
[yang@Thinkpad paru]$
I have the same issue
I just got the same error. This is the error message it gives when I try to update again:
❯ paru -Syu
paru: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directory
~ ❯ ✘ 127
After manually downloading and installing the package paru-2.1.0-4-x86_64.pkg.tar.zst from archlinux.cn, the following error occurred:
[yang@Thinkpad paru]$ paru -Scc
paru: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directory
[yang@Thinkpad paru]$ paru -Syyu
paru: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directory
The file libalpm.so.15 is missing.
Duplicate: #1454 Close this
Try this if you want a working paru asap paru.zip
when will this get solved.
when will this get solved.
When the maintainer, who his kind enough to develop this software for free, fixes it. Or when you open a PR to fix it.
i have this same error, it just wasted 3 hours of my time. I hope it gets fixed soon all my scritpts to intall packages are based on paru. like 69 scripts.
when will this get solved.
When the maintainer, who his kind enough to develop this software for free, fixes it. Or when you open a PR to fix it.
a PR is already open
https://github.com/Morganamilo/paru/pull/1458
Just experienced what I believe to be the same issue when attempting to use paru.
Please see attached.
ethan@elitebook: ~ [1] $ paru
paru: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directory
ethan@elitebook: ~ [1] $ sudo pacman -Syu
:: Synchronising package databases...
core is up to date
extra 8.1 MiB 16.6 MiB/s 00:00 [####################################################] 100%
:: Starting full system upgrade...
there is nothing to do
ethan@elitebook: ~ [1] $ paru
paru: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directory
ethan@elitebook: ~ [1] $ paru --version
paru: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directory
ethan@elitebook: ~ [1] $ sudo pacman -S --needed base-devel
warning: base-devel-1-2 is up to date -- skipping
there is nothing to do
ethan@elitebook: ~ [1] $ git clone https://aur.archlinux.org/paru.git
Cloning into 'paru'...
remote: Enumerating objects: 196, done.
remote: Counting objects: 100% (196/196), done.
remote: Compressing objects: 100% (140/140), done.
remote: Total 196 (delta 70), reused 179 (delta 56), pack-reused 0 (from 0)
Receiving objects: 100% (196/196), 59.30 KiB | 1.74 MiB/s, done.
Resolving deltas: 100% (70/70), done.
ethan@elitebook: ~ [1] $ cd paru
ethan@elitebook: ~/paru [master =] [1] $ makepkg -si
==> Making package: paru 2.1.0-2 (Sat 13 Dec 2025 18:59:41 GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading paru-2.1.0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 8082k 100 8082k 0 0 8820k 0 --:--:-- --:--:-- --:--:-- 30241k
==> Validating source files with sha256sums...
paru-2.1.0.tar.gz ... Passed
==> 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
==> 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 siphasher v1.0.1
Compiling bitflags v2.9.1
Compiling cc v1.2.29
Compiling serde v1.0.219
Compiling rand_core v0.6.4
Compiling rand v0.8.5
Compiling phf_shared v0.11.3
Compiling log v0.4.27
Compiling once_cell v1.21.3
Compiling futures-core v0.3.31
Compiling itoa v1.0.15
Compiling bytes v1.10.1
Compiling quote v1.0.40
Compiling autocfg v1.5.0
Compiling syn v2.0.104
Compiling phf_generator v0.11.3
Compiling vcpkg v0.2.15
Compiling futures-sink v0.3.31
Compiling writeable v0.6.1
Compiling litemap v0.8.0
Compiling futures-channel v0.3.31
Compiling futures-io v0.3.31
Compiling icu_properties_data v2.0.1
Compiling futures-task v0.3.31
Compiling pin-utils v0.1.0
Compiling slab v0.4.10
Compiling icu_normalizer_data v2.0.0
Compiling alpm-sys v4.0.4
Compiling hashbrown v0.15.4
Compiling equivalent v1.0.2
Compiling phf_codegen v0.11.3
Compiling aho-corasick v1.1.3
Compiling crossbeam-utils v0.8.21
Compiling adler2 v2.0.1
Compiling openssl v0.10.73
Compiling regex-syntax v0.8.5
Compiling signal-hook-registry v1.4.5
Compiling mio v1.0.4
Compiling socket2 v0.5.10
Compiling indexmap v2.10.0
Compiling openssl-sys v0.9.109
Compiling fnv v1.0.7
Compiling foreign-types-shared v0.1.1
Compiling foreign-types v0.3.2
Compiling http v0.2.12
Compiling miniz_oxide v0.8.9
Compiling lock_api v0.4.13
Compiling tracing-core v0.1.34
Compiling native-tls v0.2.14
Compiling httparse v1.10.1
Compiling percent-encoding v2.3.1
Compiling parking_lot_core v0.9.11
Compiling new_debug_unreachable v1.0.6
Compiling form_urlencoded v1.2.1
Compiling regex-automata v0.4.9
Compiling tracing v0.1.41
Compiling thiserror v1.0.69
Compiling utf8_iter v1.0.4
Compiling openssl-probe v0.1.6
Compiling try-lock v0.2.5
Compiling scopeguard v1.2.0
Compiling want v0.3.1
Compiling synstructure v0.13.2
Compiling http-body v0.4.6
Compiling string_cache_codegen v0.5.4
Compiling encoding_rs v0.8.35
Compiling crc32fast v1.4.2
Compiling temp-dir v0.1.16
Compiling serde_json v1.0.140
Compiling mac v0.1.1
Compiling tower-service v0.3.3
Compiling precomputed-hash v0.1.1
Compiling httpdate v1.0.3
Compiling ryu v1.0.20
Compiling markup5ever v0.14.1
Compiling futf v0.1.5
Compiling gettext-sys v0.22.5
Compiling flate2 v1.1.2
Compiling parking_lot v0.12.4
Compiling alpm v4.0.4
Compiling object v0.36.7
Compiling rustix v1.0.7
Compiling base64 v0.21.7
Compiling dtoa v1.0.10
Compiling utf-8 v0.7.6
Compiling unicode-width v0.2.1
Compiling regex v1.11.1
Compiling either v1.15.0
Compiling tendril v0.4.3
Compiling dtoa-short v0.3.5
Compiling rustls-pemfile v1.0.4
Compiling crossbeam-epoch v0.9.18
Compiling selectors v0.26.0
Compiling num-traits v0.2.19
Compiling linux-raw-sys v0.9.4
Compiling byteorder v1.5.0
Compiling utf8parse v0.2.2
Compiling mime v0.3.17
Compiling portable-atomic v1.11.1
Compiling gimli v0.31.1
Compiling cini v1.0.0
Compiling getrandom v0.3.3
Compiling zerofrom-derive v0.1.6
Compiling yoke-derive v0.8.0
Compiling zerovec-derive v0.11.1
Compiling displaydoc v0.2.5
Compiling serde_derive v1.0.219
Compiling tokio-macros v2.5.0
Compiling futures-macro v0.3.31
Compiling openssl-macros v0.1.1
Compiling phf_macros v0.11.3
Compiling tokio v1.46.1
Compiling zerofrom v0.1.6
Compiling yoke v0.8.0
Compiling zerovec v0.11.2
Compiling zerotrie v0.2.2
Compiling futures-util v0.3.31
Compiling phf v0.11.3
Compiling thiserror-impl v1.0.69
Compiling cssparser-macros v0.6.1
Compiling sync_wrapper v0.1.2
Compiling cfg_aliases v0.2.1
Compiling ipnet v2.11.0
Compiling tinystr v0.8.1
Compiling icu_locale_core v2.0.0
Compiling potential_utf v0.1.2
Compiling icu_collections v2.0.0
Compiling icu_provider v2.0.0
Compiling icu_properties v2.0.1
Compiling icu_normalizer v2.0.0
Compiling lazy_static v1.5.0
Compiling locale_config v0.3.0
Compiling nix v0.30.1
Compiling cssparser v0.34.0
Compiling idna_adapter v1.2.1
Compiling idna v1.0.3
Compiling tokio-util v0.7.15
Compiling tokio-native-tls v0.3.1
Compiling tokio-socks v0.5.2
Compiling async-compression v0.4.25
Compiling h2 v0.3.26
Compiling url v2.5.4
Compiling addr2line v0.24.2
Compiling derive_more v0.99.20
Compiling match_token v0.1.0
Compiling serde_urlencoded v0.7.1
Compiling string_cache v0.8.9
Compiling serde_spanned v0.6.9
Compiling toml_datetime v0.6.11
Compiling async-trait v0.1.88
Compiling pacmanconf v3.0.0
Compiling fxhash v0.2.1
Compiling anstyle-parse v0.2.7
Compiling crossbeam-deque v0.8.6
Compiling crossbeam-queue v0.3.12
Compiling crossbeam-channel v0.5.15
Compiling servo_arc v0.4.1
error[E0425]: cannot find function `alpm_option_set_disable_sandbox_filesystem` in this scope
--> /home/ethan/.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/ethan/.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/ethan/.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/ethan/.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/ethan/.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/ethan/.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 anstyle-query v1.1.3
Compiling rustc-demangle v0.1.25
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...
ethan@elitebook: ~/paru [master %=] [1] $ pacman
Uh... just throwing this out there... the git version works fine. yay -Rns paru yay -S paru-git
Uh... just throwing this out there... the git version works fine. yay -Rns paru yay -S paru-git
this is not true. does not work for me, same error as the others
Uh... just throwing this out there... the git version works fine. yay -Rns paru yay -S paru-git
this is not true. does not work for me, same error as the others
Clear your cache and rebuild, also make sure you did a pacman -Syu first. Idk, it worked for me.
This one is related to #1454. We need to wait for patches to apply.
这玩意儿 不太活跃 上了贼船似的 更新一点都不激进 还是换回yy吧 Compiling anyhow v1.0.98
error[E0425]: cannot find function alpm_option_set_disable_sandbox_filesystem in this scope
--> /home/bo/.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/bo/.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/bo/.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/bo/.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 colorchoice v1.0.4
Compiling quick-xml v0.37.5
error[E0061]: this function takes 3 arguments but 4 arguments were supplied
--> /home/bo/.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/bo/.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 anstream v0.6.19
Compiling getopts v0.2.23
Compiling bstr v1.12.0
Compiling crossbeam v0.8.4
Compiling iana-time-zone v0.1.63
Compiling fastrand v2.3.0
Compiling srcinfo v1.3.1
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...
Uh... just throwing this out there... the git version works fine. yay -Rns paru yay -S paru-git
yes, it works.. thank you
Uh... just throwing this out there... the git version works fine. yay -Rns paru yay -S paru-git
this is not true. does not work for me, same error as the others
but it does for me..
Uh... just throwing this out there... the git version works fine. yay -Rns paru yay -S paru-git
this is not true. does not work for me, same error as the others
but it does for me..
Same here, it's not working:
Some errors have detailed explanations: E0061, E0425. For more information about an error, try rustc --explain E0061. Compiling thiserror v1.0.69 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... :: Unable to build paru-git - makepkg exited with code: 4
It's telling you that you need to have rust installed to build it.
-------- Original Message -------- On 12/14/25 7:14 AM, mozo78 wrote:
mozo78 left a comment (Morganamilo/paru#1457)
Uh... just throwing this out there... the git version works fine. yay -Rns paru yay -S paru-git
this is not true. does not work for me, same error as the others
but it does for me.. Image
Same here, it's not working: Some errors have detailed explanations: E0061, E0425. For more information about an error, try rustc --explain E0061. Compiling thiserror v1.0.69 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... :: Unable to build paru-git - makepkg exited with code: 4
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
Uh... just throwing this out there... the git version works fine. yay -Rns paru yay -S paru-git
this is not true. does not work for me, same error as the others
but it does for me..
Same here, it's not working:
Some errors have detailed explanations: E0061, E0425. For more information about an error, tryrustc --explain E0061. Compiling thiserror v1.0.69 error: could not compilealpm(lib) due to 3 previous errors warning: build failed, waiting for other jobs to finish... ==> ERROR: A failure occurred in build(). Aborting... :: Unable to build paru-git - makepkg exited with code: 4
try linking libalpm.so.15 first and rebuild paru-git..
i think it'll work for you..
sudo ln -s /usr/lib/libalpm.so.{16, 15}```
It's telling you that you need to have rust installed to build it. …
rust is installed: `sudo pacman -S rust warning: rust-1:1.91.1-2 is up to date -- reinstalling resolving dependencies... looking for conflicting packages...
Packages (1) rust-1:1.91.1-2
Total Installed Size: 269.21 MiB Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] (1/1) checking keys in keyring [#################] 100% (1/1) checking package integrity [#################] 100% (1/1) loading package files [#################] 100% (1/1) checking for file conflicts [#################] 100% :: Processing package changes... (1/1) reinstalling rust [#################] 100% :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate...`
Uh... just throwing this out there... the git version works fine. yay -Rns paru yay -S paru-git
this is not true. does not work for me, same error as the others
but it does for me..
Same here, it's not working:
Some errors have detailed explanations: E0061, E0425. For more information about an error, tryrustc --explain E0061. Compiling thiserror v1.0.69 error: could not compilealpm(lib) due to 3 previous errors warning: build failed, waiting for other jobs to finish... ==> ERROR: A failure occurred in build(). Aborting... :: Unable to build paru-git - makepkg exited with code: 4try linking
libalpm.so.15first and rebuildparu-git.. i think it'll work for you..sudo ln -s /usr/lib/libalpm.so.{16, 15}```
Thanks! Tried it and it gives the same error.
Same issue on both the git and non-git version. I would need to ask whoever is maintaining the non-git version of the package. But I'm guessing they didn't test whether it built before updating. That or it must be set up to update automatically. The whole reason people tend to not use the git version, is they assume whoever is maintaining it will at least check if it builds before updating.
anyway that's irrelivant. Is there a patch available people can apply manually? I installed pikaur a while back when paru broke due to the chnages, before it failed to build. But I prefer using paru when possible.
Thanks! Tried it and it gives the same error.
I'm not glad to hear that. 😂
There's a working patch for paru-git here: https://github.com/Morganamilo/paru/issues/1454#issuecomment-3649834073
@blankyblank it has nothing to do with paru being updated and breaking the build. An upstream project (libalpm - a dependency) was updated and a fix hasn't been added to paru yet.
Try this if you want a working paru asap paru.zip
Cheers, works a treat. ALso brings 'paruz' the fzf search for paru, back to life.
~ Linux-lts
Try this if you want a working paru asap paru.zip
Cheers, works a treat. ALso brings 'paruz' the fzf search for paru, back to life.
~ Linux-lts
Do not use random binary software from any GitHub issue.
Try this if you want a working paru asap paru.zip
Zero trust gonna wait for maintainers to push the fix
https://github.com/Yfengqiu/Software-package-repository Available paru
https://github.com/Yfengqiu/Software-package-repository Available paru
Another random binary, yeah, that's gonna be a no from me dog.
If anyone wants to compile themselves from source however, just use this patch. It uses aur-depends from this PR: https://github.com/Morganamilo/aur-depends/pull/19
diff --git a/Cargo.toml b/Cargo.toml
index 26063f7..f3d53f3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,9 +15,9 @@ rust-version = "1.80"
[dependencies]
-alpm = "4.0.3"
-alpm-utils = "4.0.1"
-aur-depends = "4.0.5"
+alpm = "5.0"
+alpm-utils = "5.0"
+aur-depends = { git = "https://github.com/ewanm89/aur-depends.git", version = "5.0.0" }
aur-fetch = "0.11.3"
cini = "1.0.0"
pacmanconf = "3.0.0"
