Package Details: paru-static 2.0.3-4

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: 0
Popularity: 0.000000
First Submitted: 2023-12-27 03:11 (UTC)
Last Updated: 2024-06-20 11:19 (UTC)

Dependencies (11)

Required by (0)

Sources (2)

Latest Comments

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