You are not logged in.

#1 2021-05-29 13:17:36

Kobrakai
Member
Registered: 2021-05-22
Posts: 11

[SOLVED] Unable to build paru

Hi, I'm trying to install paru from the AUR but I'm getting the following error:

 adam  ~  paru  makepkg -si                                                                                            master  
==> Making package: paru 1.6.1-1 (Sat 29 May 2021 14:00:55 BST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found paru-1.6.1.tar.gz
==> Validating source files with sha256sums...
    paru-1.6.1.tar.gz ... Passed
==> Extracting sources...
  -> Extracting paru-1.6.1.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
   Compiling paru v1.6.1 (/home/adam/paru/src/paru-1.6.1)
error: could not compile `paru`

Caused by:
  process didn't exit successfully: `rustc --crate-name paru --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto -C codegen-units=1 -C metadata=b873230a9acd0796 -C extra-filename=-b873230a9acd0796 --out-dir /home/adam/paru/src/paru-1.6.1/target/release/deps -L dependency=/home/adam/paru/src/paru-1.6.1/target/release/deps --extern alpm=/home/adam/paru/src/paru-1.6.1/target/release/deps/libalpm-6e9127ee725e27ed.rlib --extern alpm_utils=/home/adam/paru/src/paru-1.6.1/target/release/deps/libalpm_utils-3e4a0d065cb587fd.rlib --extern ansi_term=/home/adam/paru/src/paru-1.6.1/target/release/deps/libansi_term-8144afbb7da99d3c.rlib --extern anyhow=/home/adam/paru/src/paru-1.6.1/target/release/deps/libanyhow-efea79dd29d87386.rlib --extern atty=/home/adam/paru/src/paru-1.6.1/target/release/deps/libatty-38eedc34ac964e5a.rlib --extern aur_depends=/home/adam/paru/src/paru-1.6.1/target/release/deps/libaur_depends-3ab5799381cc4a76.rlib --extern aur_fetch=/home/adam/paru/src/paru-1.6.1/target/release/deps/libaur_fetch-278c3b0cdcdba1a3.rlib --extern chrono=/home/adam/paru/src/paru-1.6.1/target/release/deps/libchrono-26458ea57dee9760.rlib --extern cini=/home/adam/paru/src/paru-1.6.1/target/release/deps/libcini-3fa8d6e655b6660d.rlib --extern dirs=/home/adam/paru/src/paru-1.6.1/target/release/deps/libdirs-f0c41a4f918cc513.rlib --extern env_logger=/home/adam/paru/src/paru-1.6.1/target/release/deps/libenv_logger-7144f8295087898b.rlib --extern futures=/home/adam/paru/src/paru-1.6.1/target/release/deps/libfutures-df37ffe46c5ebfa6.rlib --extern globset=/home/adam/paru/src/paru-1.6.1/target/release/deps/libglobset-a401303f552493a8.rlib --extern htmlescape=/home/adam/paru/src/paru-1.6.1/target/release/deps/libhtmlescape-66638eeb5225d9da.rlib --extern indicatif=/home/adam/paru/src/paru-1.6.1/target/release/deps/libindicatif-b59bd4ab6e8a2e4a.rlib --extern kuchiki=/home/adam/paru/src/paru-1.6.1/target/release/deps/libkuchiki-5e0e640d8ca092f4.rlib --extern nix=/home/adam/paru/src/paru-1.6.1/target/release/deps/libnix-80abab6623899896.rlib --extern once_cell=/home/adam/paru/src/paru-1.6.1/target/release/deps/libonce_cell-e33c9996a7c4e723.rlib --extern pacmanconf=/home/adam/paru/src/paru-1.6.1/target/release/deps/libpacmanconf-75a22025eba7b254.rlib --extern raur=/home/adam/paru/src/paru-1.6.1/target/release/deps/libraur-b7d49c82afe1df56.rlib --extern reqwest=/home/adam/paru/src/paru-1.6.1/target/release/deps/libreqwest-e05fc1b732cb77ba.rlib --extern rss=/home/adam/paru/src/paru-1.6.1/target/release/deps/librss-4ced92cc36eca451.rlib --extern serde=/home/adam/paru/src/paru-1.6.1/target/release/deps/libserde-c7a146c94b11758f.rlib --extern serde_json=/home/adam/paru/src/paru-1.6.1/target/release/deps/libserde_json-7736a6248d391ede.rlib --extern smart_default=/home/adam/paru/src/paru-1.6.1/target/release/deps/libsmart_default-a2a7b0a9c471da4f.so --extern srcinfo=/home/adam/paru/src/paru-1.6.1/target/release/deps/libsrcinfo-a95b7aef78023954.rlib --extern tempfile=/home/adam/paru/src/paru-1.6.1/target/release/deps/libtempfile-635e9466e91e1025.rlib --extern term_size=/home/adam/paru/src/paru-1.6.1/target/release/deps/libterm_size-6ecd4c147040d9db.rlib --extern tokio=/home/adam/paru/src/paru-1.6.1/target/release/deps/libtokio-14960bd57fdb57c5.rlib --extern url=/home/adam/paru/src/paru-1.6.1/target/release/deps/liburl-2d64cb16d936f345.rlib` (signal: 9, SIGKILL: kill)
==> ERROR: A failure occurred in build().
    Aborting...

Any idea what could be wrong? I've tried searching but I didn't find anything.

Last edited by Kobrakai (2021-05-29 18:23:57)

Offline

#2 2021-05-29 14:03:30

icar
Member
From: Catalunya
Registered: 2020-07-31
Posts: 202

Re: [SOLVED] Unable to build paru

Do you have Rust installed, how?

Offline

#3 2021-05-29 14:07:42

Kobrakai
Member
Registered: 2021-05-22
Posts: 11

Re: [SOLVED] Unable to build paru

icar wrote:

Do you have Rust installed, how?

Yes, I installed it with:

sudo pacman -S rust

Offline

#4 2021-05-29 16:12:36

loqs
Member
Registered: 2014-03-06
Posts: 13,862

Re: [SOLVED] Unable to build paru

(signal: 9, SIGKILL: kill)

Check the journal to see if rustc was killed due to OOM.

Offline

#5 2021-05-29 18:23:16

Kobrakai
Member
Registered: 2021-05-22
Posts: 11

Re: [SOLVED] Unable to build paru

loqs wrote:
(signal: 9, SIGKILL: kill)

Check the journal to see if rustc was killed due to OOM.

This was the problem, I just gave it more memory and it worked. Thanks!

Offline

Board footer

Powered by FluxBB