Package Details: paru-static 2.2.0-7

Git Clone URL: https://aur.archlinux.org/paru-static.git (read-only, click to copy)
Package Base: paru-static
Description: Feature packed AUR helper
Upstream URL: https://github.com/Morganamilo/paru
Licenses: GPL-3.0-or-later
Submitter: phoepsilonix
Maintainer: phoepsilonix
Last Packager: phoepsilonix
Votes: 3
Popularity: 0.99
First Submitted: 2023-12-27 03:11 (UTC)
Last Updated: 2026-01-31 22:05 (UTC)

Pinned Comments

phoepsilonix commented on 2025-11-07 07:02 (UTC) (edited on 2026-01-10 03:08 (UTC) by phoepsilonix)

I checked the build with the pkgctl build command.
I think it now builds without problems, even in the chroot environment.

The reason pacman-static is built internally is to enable building it both with LTO enabled and disabled.

Latest Comments

phoepsilonix commented on 2026-08-18 14:13 (UTC) (edited on 2026-08-18 14:26 (UTC) by phoepsilonix)

@maggis I cloned the AUR repository again and ran the test here, but the issue did not reoccur.
It is likely that the download has failed.
Please delete attr.patch and download it again. https://cgit.git.savannah.gnu.org/cgit/attr.git/patch/?id=8a80d895dfd779373363c3a4b62ecce5a549efb2

PS I tried changing DLAGENTS to wget, and there were no issues. Neither curl nor wget encountered any problems verifying the checksum. Please try downloading it again.

maggis commented on 2026-08-17 06:31 (UTC)

Build fails for me with invalid checksums:

==> Validating source files with sha256sums...
    paru ... Skipped
    pacman-static ... Skipped
    curl-8.17.0.tar.gz ... Passed
    libunistring-1.4.1.tar.gz ... Passed
    acl-2.3.2.tar.gz ... Passed
    attr-2.5.2.tar.gz ... Passed
    attr.patch ... FAILED
    lz4-1.10.0.tar.gz ... Passed
    libxml2-v2.15.1.tar.gz ... Passed
    libidn2-2.3.8.tar.gz ... Passed
    brotli-1.2.0.tar.gz ... Passed
    libssh2-1.11.1.tar.gz ... Passed
    e2fsprogs-1.47.3.tar.gz ... Passed
    nghttp3-1.13.1.tar.gz ... Passed
    libpsl-0.21.5.tar.gz ... Passed
    1500.patch ... Passed
    rust_2024_edition.patch ... Passed
==> ERROR: One or more files did not pass the validity check!

phoepsilonix commented on 2026-01-10 02:47 (UTC)

@andreas_baumann
The reason pacman-static is built internally is to enable building it both with LTO enabled and disabled.
The pacman-static package in the AUR did not take LTO into account. This meant symbols were sometimes not found in libalpm.a, making linking difficult.

andreas_baumann commented on 2026-01-08 07:02 (UTC)

IMHO there should be just a makedepends=(pacman-static), there is no need to build pacman-static inside build().

phoepsilonix commented on 2025-11-07 07:02 (UTC) (edited on 2026-01-10 03:08 (UTC) by phoepsilonix)

I checked the build with the pkgctl build command.
I think it now builds without problems, even in the chroot environment.

The reason pacman-static is built internally is to enable building it both with LTO enabled and disabled.

phoepsilonix commented on 2024-06-20 08:30 (UTC) (edited on 2024-06-24 05:07 (UTC) by phoepsilonix)

@LukeShortCloud

In order for you to build this package you will need to have all of the following packages installed.

makedepends=('rustup' 'musl' 'meson' 'kernel-headers-musl' 'lld' 'binutils')
depends=('git' 'pacman' 'paru')

please install lld etc.

yay -S rustup musl meson kernel-headers-musl lld binutils git pacman paru --needed

or

paru -S rustup musl meson kernel-headers-musl lld binutils git pacman --needed

If you still can't build it, please provide the following information.

uname -a
echo $LD
echo $CC
cat ~/.cargo/config*

LukeShortCloud commented on 2024-06-04 01:46 (UTC)

Thanks @phoepsilonix ! The build gets a little further for me now.

I now get the error /home/user/.cache/yay/paru-static/PKGBUILD: line 47: rustup: command not found because the dependency is not installed yet. It looks like that line of code should go in the prepare() and/or build() function.

After installing rustup and running the build again, I get the following error during the Compiling paru step: error: couldn't extract file stem from specified linker.

phoepsilonix commented on 2024-05-20 10:37 (UTC) (edited on 2024-05-20 14:52 (UTC) by phoepsilonix)

@LukeShortCloud

Enabled git features by default.

LukeShortCloud commented on 2024-05-10 07:23 (UTC)

This package fails to build for me. Here is a snippet of the error.

$ yay -S paru-static
          /usr/sbin/ld: (.text+0x1b15): undefined reference to `archive_error_string'
          collect2: error: ld returned 1 exit status

  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)

   Compiling dtoa-short v0.3.4
error: could not compile `alpm` (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: paru-static-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
paru-static - exit status 4