Morganamilo / paru

Feature packed AUR helper
GNU General Public License v3.0
6.21k stars 239 forks source link

Paru does not work with libalpm 14 #1149

Closed JohnyEZ closed 7 months ago

JohnyEZ commented 7 months ago

Affected Version

paru v2.0.1

Description

Pacman v6.1.0 provides libalpm.so.14, conflicting with paru's requirement

Output

paru: error while loading shared libraries: libalpm.so.13: cannot open shared object file: No such file or directory

makepkg -si ==> Making package: paru 2.0.1-1 (Wed 13 Mar 2024 01:28:44 PM EDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found paru-2.0.1.tar.gz ==> Validating source files with sha256sums... paru-2.0.1.tar.gz ... Passed ==> Extracting sources... -> Extracting paru-2.0.1.tar.gz with bsdtar ==> Starting prepare()... ==> Removing existing $pkgdir/ directory... ==> Starting build()... Compiling serde_derive v1.0.193 Compiling tokio-macros v2.2.0 Compiling futures-macro v0.3.29 Compiling openssl-macros v0.1.1 Compiling thiserror-impl v1.0.49 Compiling phf_macros v0.11.2 Compiling regex v1.10.2 Compiling crossbeam-epoch v0.9.15 Compiling crossbeam-queue v0.3.8 Compiling alpm v2.2.2 (https://github.com/archlinux/alpm.rs?rev=8da396#8da39602) Compiling ahash v0.8.3 Compiling selectors v0.25.0 Compiling html5ever v0.26.0 Compiling backtrace v0.3.69 Compiling cssparser-macros v0.6.1 Compiling num-traits v0.2.17 Compiling ipnet v2.8.0 error: failed to run custom build command for alpm v2.2.2 (https://github.com/archlinux/alpm.rs?rev=8da396#8da39602)

Caused by: process didn't exit successfully: /home/johnyez/paru/src/paru-2.0.1/target/release/build/alpm-66f804f119040d76/build-script-build (exit status: 101) --- stderr thread 'main' panicked at /home/johnyez/.cargo/git/checkouts/alpm.rs-a0070a235cf20bfa/8da3960/alpm/build.rs:25:13: this version of alpm.rs does not support libalpm v14.0.0 only v13.x.x is supported note: run with RUST_BACKTRACE=1 environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... ==> ERROR: A failure occurred in build(). Aborting..

GreyXor commented 7 months ago

https://github.com/Morganamilo/paru/tree/alpm-v3 will soon be working again For now you can try https://aur.archlinux.org/packages/paru-alpm-v3-git

JohnyEZ commented 7 months ago

https://github.com/Morganamilo/paru/tree/alpm-v3 For now you can build https://aur.archlinux.org/packages/paru-alpm-v3-git

That works thank you

Crylia commented 7 months ago

https://github.com/Morganamilo/paru/tree/alpm-v3 For now you can build https://aur.archlinux.org/packages/paru-alpm-v3-git

It also fails for me, but for another reason

$ makepkg -si        
==> Erstelle Paket: paru-alpm-v3-git 2.0.1.r25.g2a8e257-2 (Fr 15 Mär 2024 01:43:30 CET)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> Empfange Quellen...
  -> Aktualisiere das paru git Repo...
==> Überprüfe source Dateien mit sha256sums...
    paru ... Übersprungen
==> Entpacke Quellen...
  -> Erstelle Arbeitskopie des paru git Repos...
Setze Branch 'makepkg' neu
==> Beginne prepare()...
    Updating crates.io index
==> Beginne pkgver()...
==> Entferne existierendes $pkgdir/ Verzeichnis...
==> Beginne build()...
    Updating crates.io index
error: failed to get `dirs-sys` as a dependency of package `dirs v5.0.1`
    ... which satisfies dependency `dirs = "^5.0.1"` (locked to 5.0.1) of package `paru v2.0.1 (/home/crylia/Dokumente/git/paru-alpm-v3-git/src/paru)`

Caused by:
  failed to query replaced source registry `crates-io`

Caused by:
  attempting to make an HTTP request, but --frozen was specified
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...
Morganamilo commented 7 months ago

Try paru-git. Not the package the other person made.

Crylia commented 7 months ago

Try paru-git. Not the package the other person made.

I did, but I got the same error as OP. Hence why I tried the other above package

Gin-no-kami commented 7 months ago

This issue (with paru-git) occurs when building in a paru chroot.

Build Log ``` ┌[gin@Monogatari] [~] └[命令]> paru -Sua :: Looking for devel upgrades... :: Resolving dependencies... :: Calculating conflicts... :: Calculating inner conflicts... :: marked out of date: lib32-gperftools Aur (1) paru-git-latest-commit :: Proceed to review? [Y/n]: Y :: Downloading PKGBUILDs... PKGBUILDs up to date :: Accept changes? [Y/n]: Y fetching devel info... [sudo] password for gin: :: Synchronizing package databases... core is up to date extra is up to date multilib is up to date aur is up to date :: Starting full system upgrade... there is nothing to do ==> Synchronizing chroot copy [/var/lib/aurbuild/x86_64/root] -> [gin]...done :: Synchronizing package databases... core is up to date extra is up to date multilib is up to date aur is up to date :: Starting full system upgrade... there is nothing to do ==> Making package: paru-git 2.0.1.r1.g584fb75-1 (Fri Mar 15 07:13:52 2024) ==> Retrieving sources... -> Updating paru git repo... ==> Validating source files with sha256sums... paru ... Skipped ==> Making package: paru-git 2.0.1.r1.g584fb75-1 (Fri Mar 15 07:13:56 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (4) perl-error-0.17029-5 perl-mailtools-2.21-7 perl-timedate-2.33-5 git-2.44.0-1 Total Installed Size: 26.57 MiB :: Proceed with installation? [Y/n] (4/4) checking keys in keyring [###############################################################################################] 100% (4/4) checking package integrity [###############################################################################################] 100% (4/4) loading package files [###############################################################################################] 100% (4/4) checking for file conflicts [###############################################################################################] 100% (4/4) checking available disk space [###############################################################################################] 100% :: Processing package changes... (1/4) installing perl-error [###############################################################################################] 100% (2/4) installing perl-timedate [###############################################################################################] 100% (3/4) installing perl-mailtools [###############################################################################################] 100% (4/4) installing git [###############################################################################################] 100% Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] :: Running post-transaction hooks... (1/1) Warn about old perl modules ==> Checking buildtime dependencies... ==> Installing missing dependencies... :: There are 2 providers available for cargo: :: Repository extra 1) rust 2) rustup Enter a number (default=1): resolving dependencies... looking for conflicting packages... Packages (3) libedit-20230828_3.1-1 llvm-libs-17.0.6-2 rust-1:1.76.0-2 Total Installed Size: 389.32 MiB :: Proceed with installation? [Y/n] (3/3) checking keys in keyring [###############################################################################################] 100% (3/3) checking package integrity [###############################################################################################] 100% (3/3) loading package files [###############################################################################################] 100% (3/3) checking for file conflicts [###############################################################################################] 100% (3/3) checking available disk space [###############################################################################################] 100% :: Processing package changes... (1/3) installing libedit [###############################################################################################] 100% (2/3) installing llvm-libs [###############################################################################################] 100% (3/3) installing rust [###############################################################################################] 100% Optional dependencies for rust gdb: rust-gdb script lldb: rust-lldb script ==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of paru git repo... Cloning into 'paru'... done. ==> Starting prepare()... Updating git repository `https://github.com/archlinux/alpm.rs` Updating git repository `https://github.com/Morganamilo/aur-depends` Updating crates.io index Downloading crates ... Downloaded percent-encoding v2.3.1 Downloaded tinyvec_macros v0.1.1 Downloaded url v2.5.0 Downloaded tr v0.1.7 Downloaded temp-dir v0.1.12 Downloaded futures-core v0.3.30 Downloaded equivalent v1.0.1 Downloaded lazy_static v1.4.0 Downloaded phf_codegen v0.10.0 Downloaded mac v0.1.1 Downloaded phf v0.10.1 Downloaded fxhash v0.2.1 Downloaded phf_shared v0.10.0 Downloaded precomputed-hash v0.1.1 Downloaded itoa v1.0.10 Downloaded new_debug_unreachable v1.0.4 Downloaded phf_macros v0.11.2 Downloaded unicode-width v0.1.11 Downloaded locale_config v0.3.0 Downloaded toml_datetime v0.6.5 Downloaded gettext-rs v0.7.0 Downloaded serde_spanned v0.6.5 Downloaded signal-hook-registry v1.4.1 Downloaded form_urlencoded v1.2.1 Downloaded siphasher v0.3.11 Downloaded smart-default v0.7.1 Downloaded tower-service v0.3.2 Downloaded string_cache v0.8.7 Downloaded rand_chacha v0.3.1 Downloaded alpm-utils v3.0.2 Downloaded string_cache_codegen v0.5.2 Downloaded phf_generator v0.11.2 Downloaded libloading v0.8.3 Downloaded tokio-macros v2.2.0 Downloaded crossbeam-deque v0.8.5 Downloaded markup5ever v0.11.0 Downloaded getrandom v0.2.12 Downloaded glob v0.3.1 Downloaded tinyvec v1.6.0 Downloaded rss v2.0.7 Downloaded want v0.3.1 Downloaded shlex v1.3.0 Downloaded peeking_take_while v0.1.2 Downloaded foreign-types-shared v0.1.1 Downloaded openssl-macros v0.1.1 Downloaded openssl-probe v0.1.5 Downloaded crossbeam-epoch v0.9.18 Downloaded try-lock v0.2.5 Downloaded html5ever v0.26.0 Downloaded serde v1.0.197 Downloaded rand v0.8.5 Downloaded cexpr v0.6.0 Downloaded toml_edit v0.22.7 Downloaded memchr v2.7.1 Downloaded cc v1.0.90 Downloaded cssparser v0.31.2 Downloaded indexmap v2.2.5 Downloaded mio v0.8.11 Downloaded rustc-hash v1.1.0 Downloaded clang-sys v1.7.0 Downloaded bindgen v0.66.1 Downloaded rustix v0.38.31 Downloaded regex-syntax v0.8.2 Downloaded crossbeam-queue v0.3.11 Downloaded aur-fetch v0.11.2 Downloaded libc v0.2.153 Downloaded tokio v1.36.0 Downloaded lazycell v1.3.0 Downloaded iana-time-zone v0.1.60 Downloaded anstyle-parse v0.2.3 Downloaded anstream v0.6.13 Downloaded env_logger v0.11.3 Downloaded globset v0.4.14 Downloaded console v0.15.8 Downloaded async-trait v0.1.77 Downloaded crc32fast v1.4.0 Downloaded tracing-core v0.1.32 Downloaded futures-channel v0.3.30 Downloaded ahash v0.8.11 Downloaded addr2line v0.21.0 Downloaded futures v0.3.30 Downloaded anyhow v1.0.81 Downloaded crossbeam-utils v0.8.19 Downloaded miniz_oxide v0.7.2 Downloaded linux-raw-sys v0.4.13 Downloaded openssl-sys v0.9.101 Downloaded base64 v0.21.7 Downloaded tracing v0.1.40 Downloaded backtrace v0.3.69 Downloaded httparse v1.8.0 Downloaded ipnet v2.9.0 Downloaded native-tls v0.2.11 Downloaded tokio-native-tls v0.3.1 Downloaded version_check v0.9.4 Downloaded crossbeam v0.8.4 Downloaded option-ext v0.2.0 Downloaded dirs-sys v0.4.1 Downloaded dirs v5.0.1 Downloaded anstyle-query v1.0.2 Downloaded colorchoice v1.0.0 Downloaded flate2 v1.0.28 Downloaded utf8parse v0.2.1 Downloaded num-traits v0.2.18 Downloaded anstyle v1.0.6 Downloaded env_filter v0.1.0 Downloaded humantime v2.1.0 Downloaded futures-executor v0.3.30 Downloaded number_prefix v0.4.0 Downloaded cfg_aliases v0.1.1 Downloaded cini v1.0.0 Downloaded http v0.2.12 Downloaded pacmanconf v2.1.0 Downloaded raur v7.0.0 Downloaded adler v1.0.2 Downloaded fnv v1.0.7 Downloaded http-body v0.4.6 Downloaded async-compression v0.4.6 Downloaded indicatif v0.17.8 Downloaded httpdate v1.0.3 Downloaded hyper-tls v0.5.0 Downloaded tokio-util v0.7.10 Downloaded mime v0.3.17 Downloaded futures-util v0.3.30 Downloaded rustls-pemfile v1.0.4 Downloaded serde_urlencoded v0.7.1 Downloaded sync_wrapper v0.1.2 Downloaded pkg-config v0.3.30 Downloaded either v1.10.0 Downloaded futures-macro v0.3.30 Downloaded futures-task v0.3.30 Downloaded pin-utils v0.1.0 Downloaded slab v0.4.9 Downloaded thiserror-impl v1.0.58 Downloaded portable-atomic v1.6.0 Downloaded thiserror v1.0.58 Downloaded tokio-socks v0.5.1 Downloaded zerocopy v0.7.32 Downloaded quick-xml v0.30.0 Downloaded futures-sink v0.3.30 Downloaded h2 v0.3.24 Downloaded ego-tree v0.6.2 Downloaded getopts v0.2.21 Downloaded autocfg v1.1.0 Downloaded ansi_term v0.12.1 Downloaded scopeguard v1.2.0 Downloaded regex-automata v0.4.6 Downloaded nom v7.1.3 Downloaded reqwest v0.11.26 Downloaded hyper v0.14.28 Downloaded crossbeam-channel v0.5.12 Downloaded syn v1.0.109 Downloaded serde_json v1.0.114 Downloaded chrono v0.4.35 Downloaded vcpkg v0.2.15 Downloaded openssl v0.10.64 Downloaded bstr v1.9.1 Downloaded htmlescape v0.3.1 Downloaded nix v0.28.0 Downloaded gimli v0.28.1 Downloaded object v0.32.2 Downloaded hashbrown v0.14.3 Downloaded syn v2.0.52 Downloaded winnow v0.6.5 Downloaded aho-corasick v1.1.2 Downloaded regex v1.10.3 Downloaded unicode-normalization v0.1.23 Downloaded idna v0.5.0 Downloaded minimal-lexical v0.2.1 Downloaded encoding_rs v0.8.33 Downloaded bytes v1.5.0 Downloaded futures-io v0.3.30 Downloaded parking_lot v0.12.1 Downloaded once_cell v1.19.0 Downloaded derive_more v0.99.17 Downloaded log v0.4.21 Downloaded unicode-bidi v0.3.15 Downloaded foreign-types v0.3.2 Downloaded selectors v0.25.0 Downloaded signal-hook v0.3.17 Downloaded bitflags v2.4.2 Downloaded socket2 v0.5.6 Downloaded proc-macro2 v1.0.79 Downloaded unicode-ident v1.0.12 Downloaded serde_derive v1.0.197 Downloaded toml v0.8.11 Downloaded rustc-demangle v0.1.23 Downloaded lock_api v0.4.11 Downloaded ryu v1.0.17 Downloaded dtoa v1.0.9 Downloaded ppv-lite86 v0.2.17 Downloaded smallvec v1.13.1 Downloaded tendril v0.4.3 Downloaded scraper v0.19.0 Downloaded tempfile v3.10.1 Downloaded parking_lot_core v0.9.9 Downloaded pin-project-lite v0.2.13 Downloaded quote v1.0.35 Downloaded phf v0.11.2 Downloaded utf-8 v0.7.6 Downloaded dtoa-short v0.3.4 Downloaded phf_shared v0.11.2 Downloaded rand_core v0.6.4 Downloaded stable_deref_trait v1.2.0 Downloaded servo_arc v0.3.0 Downloaded futf v0.1.5 Downloaded errno v0.3.8 Downloaded cssparser-macros v0.6.1 Downloaded byteorder v1.5.0 Downloaded phf_generator v0.10.0 Downloaded srcinfo v1.1.0 Downloaded cfg-if v1.0.0 Downloaded fastrand v2.0.1 Downloaded terminal_size v0.3.0 Downloaded num_cpus v1.16.0 Downloaded gettext-sys v0.21.3 ==> Starting pkgver()... ==> Updated version: paru-git 2.0.3.r0.g130a7c6-1 ==> Sources are ready. paru-git-2.0.1.r1.g584fb75-1: parsing pkg list... ==> Making package: paru-git 2.0.3.r0.g130a7c6-1 (Fri Mar 15 07:14:08 2024) ==> Retrieving sources... ==> Validating source files with sha256sums... paru ... Skipped ==> Making package: paru-git 2.0.3.r0.g130a7c6-1 (Fri Mar 15 07:14:12 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> WARNING: Using existing $srcdir/ tree ==> Starting pkgver()... ==> Starting build()... Compiling proc-macro2 v1.0.79 Compiling unicode-ident v1.0.12 Compiling libc v0.2.153 Compiling memchr v2.7.1 Compiling cfg-if v1.0.0 Compiling autocfg v1.1.0 Compiling pkg-config v0.3.30 Compiling cc v1.0.90 Compiling once_cell v1.19.0 Compiling ppv-lite86 v0.2.17 Compiling siphasher v0.3.11 Compiling pin-project-lite v0.2.13 Compiling bitflags v2.4.2 Compiling serde v1.0.197 Compiling log v0.4.21 Compiling itoa v1.0.10 Compiling bytes v1.5.0 Compiling futures-core v0.3.30 Compiling futures-sink v0.3.30 Compiling vcpkg v0.2.15 Compiling futures-io v0.3.30 Compiling pin-utils v0.1.0 Compiling futures-task v0.3.30 Compiling equivalent v1.0.1 Compiling hashbrown v0.14.3 Compiling adler v1.0.2 Compiling regex-syntax v0.8.2 Compiling syn v1.0.109 Compiling foreign-types-shared v0.1.1 Compiling openssl v0.10.64 Compiling tinyvec_macros v0.1.1 Compiling smallvec v1.13.1 Compiling crossbeam-utils v0.8.19 Compiling fnv v1.0.7 Compiling futures-channel v0.3.30 Compiling miniz_oxide v0.7.2 Compiling tinyvec v1.6.0 Compiling foreign-types v0.3.2 Compiling parking_lot_core v0.9.9 Compiling new_debug_unreachable v1.0.4 Compiling percent-encoding v2.3.1 Compiling httparse v1.8.0 Compiling crc32fast v1.4.0 Compiling phf_shared v0.10.0 Compiling tracing-core v0.1.32 Compiling native-tls v0.2.11 Compiling phf_shared v0.11.2 Compiling scopeguard v1.2.0 Compiling form_urlencoded v1.2.1 Compiling try-lock v0.2.5 Compiling openssl-probe v0.1.5 Compiling thiserror v1.0.58 Compiling unicode-bidi v0.3.15 Compiling want v0.3.1 Compiling encoding_rs v0.8.33 Compiling ryu v1.0.17 Compiling serde_json v1.0.114 Compiling mac v0.1.1 Compiling tower-service v0.3.2 Compiling temp-dir v0.1.12 Compiling httpdate v1.0.3 Compiling lazy_static v1.4.0 Compiling precomputed-hash v0.1.1 Compiling futf v0.1.5 Compiling phf v0.10.1 Compiling async-trait v0.1.77 Compiling either v1.10.0 Compiling base64 v0.21.7 Compiling http v0.2.12 Compiling rustix v0.38.31 Compiling unicode-width v0.1.11 Compiling aho-corasick v1.1.2 Compiling tracing v0.1.40 Compiling version_check v0.9.4 Compiling dtoa v1.0.9 Compiling utf-8 v0.7.6 Compiling byteorder v1.5.0 Compiling mime v0.3.17 Compiling flate2 v1.0.28 Compiling dtoa-short v0.3.4 Compiling indexmap v2.2.5 Compiling tendril v0.4.3 Compiling rustls-pemfile v1.0.4 Compiling cfg_aliases v0.1.1 Compiling stable_deref_trait v1.2.0 Compiling cini v1.0.0 Compiling utf8parse v0.2.1 Compiling gimli v0.28.1 Compiling sync_wrapper v0.1.2 Compiling unicode-normalization v0.1.23 Compiling ipnet v2.9.0 Compiling linux-raw-sys v0.4.13 Compiling portable-atomic v1.6.0 Compiling anstyle-parse v0.2.3 Compiling pacmanconf v2.1.0 Compiling fxhash v0.2.1 Compiling servo_arc v0.3.0 Compiling quote v1.0.35 Compiling crossbeam-epoch v0.9.18 Compiling crossbeam-queue v0.3.11 Compiling crossbeam-channel v0.5.12 Compiling nix v0.28.0 Compiling object v0.32.2 Compiling colorchoice v1.0.0 Compiling syn v2.0.52 Compiling anstyle v1.0.6 Compiling idna v0.5.0 Compiling crossbeam-deque v0.8.5 Compiling zerocopy v0.7.32 Compiling http-body v0.4.6 Compiling option-ext v0.2.0 Compiling winnow v0.6.5 Compiling signal-hook v0.3.17 Compiling anyhow v1.0.81 Compiling rustc-demangle v0.1.23 Compiling anstyle-query v1.0.2 Compiling anstream v0.6.13 Compiling quick-xml v0.30.0 Compiling crossbeam v0.8.4 Compiling getopts v0.2.21 Compiling bstr v1.9.1 Compiling number_prefix v0.4.0 Compiling url v2.5.0 Compiling slab v0.4.9 Compiling getrandom v0.2.12 Compiling lock_api v0.4.11 Compiling num-traits v0.2.18 Compiling rand_core v0.6.4 Compiling regex-automata v0.4.6 Compiling srcinfo v1.1.0 Compiling rand_chacha v0.3.1 Compiling ahash v0.8.11 Compiling iana-time-zone v0.1.60 Compiling humantime v2.1.0 Compiling rand v0.8.5 Compiling ego-tree v0.6.2 Compiling fastrand v2.0.1 Compiling signal-hook-registry v1.4.1 Compiling socket2 v0.5.6 Compiling num_cpus v1.16.0 Compiling mio v0.8.11 Compiling console v0.15.8 Compiling dirs-sys v0.4.1 Compiling parking_lot v0.12.1 Compiling dirs v5.0.1 Compiling aur-fetch v0.11.2 Compiling rss v2.0.7 Compiling ansi_term v0.12.1 Compiling htmlescape v0.3.1 Compiling phf_generator v0.10.0 Compiling phf_generator v0.11.2 Compiling indicatif v0.17.8 Compiling phf_codegen v0.10.0 Compiling string_cache_codegen v0.5.2 Compiling addr2line v0.21.0 Compiling alpm-sys v3.0.0 (https://github.com/archlinux/alpm.rs?rev=306342#306342ef) Compiling selectors v0.25.0 Compiling chrono v0.4.35 Compiling alpm v3.0.4 (https://github.com/archlinux/alpm.rs?rev=306342#306342ef) Compiling tempfile v3.10.1 Compiling terminal_size v0.3.0 error: failed to run custom build command for `alpm v3.0.4 (https://github.com/archlinux/alpm.rs?rev=306342#306342ef)` Caused by: process didn't exit successfully: `/build/paru-git/src/paru/target/release/build/alpm-9229fc482a7dba18/build-script-build` (exit status: 101) --- stderr thread 'main' panicked at /build/.cargo/git/checkouts/alpm.rs-a0070a235cf20bfa/306342e/alpm/build.rs:25:13: this version of alpm.rs does not support libalpm v13.0.2 only v14.x.x is supported note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/gin/build error: failed to build 'paru-git-2.0.1.r1.g584fb75-1': failed to run: makechrootpkg -r /var/lib/aurbuild/x86_64 -D /var/lib/repo/aur -d /var/lib/repo/aur -- -feA --noconfirm --noprepare --holdver: error: packages failed to build: paru-git-2.0.1.r1.g584fb75-1 ```
Morganamilo commented 7 months ago

You need to have pacman 6.1.0 in your chroot for paru to build against.

Elixity1 commented 7 months ago

https://github.com/Morganamilo/paru/tree/alpm-v3 For now you can build https://aur.archlinux.org/packages/paru-alpm-v3-git

That works thank you

Worked for me too, thanks

aaronliu0130 commented 7 months ago

pacman 6.1 is now in core. A new release should probably be made.

Morganamilo commented 7 months ago

Release was made days ago. Pkgbuillds need to be updated. You can do this yourself in the meantime if you wish.

aaronliu0130 commented 7 months ago

Ah, I thought it wasn't released as it wasn't in the changelog.

bioxz commented 7 months ago

This issue leaves paru in an unusable state, you either have to downgrade pacman again or install the new version of paru by hand. Would it be possible to avoid such situation in the future by depending on a maximum version of pacman, so you, in this example, cannot go to pacman 6.1 without upgrading paru as well?

aaronliu0130 commented 7 months ago

Pacman's version does not report the libalpm version.

mmonsen commented 7 months ago

I apologize if I'm missing something, I'm still new to Arch Linux, pacman, and paru.

The front page (README.md) says to use these steps to install paru:

sudo pacman -S --needed base-devel
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si

The master branch in the repository at https://aur.archlinux.org/paru.git doesn't have any commits after v2.0.1 on December 1 2023. This version won't compile against the current version of pacman (from what I've gathered from previous comments on this issue.)

Should I be using the repository here on Github instead of the repository in AUR?

Morganamilo commented 7 months ago

This issue leaves paru in an unusable state, you either have to downgrade pacman again or install the new version of paru by hand. Would it be possible to avoid such situation in the future by depending on a maximum version of pacman, so you, in this example, cannot go to pacman 6.1 without upgrading paru as well?

With standard linking you can't do this. Binary repos solve this by building everything against the new alpm version and pushing all the updates as one atomic action. As the aur is source based it's on the user to do this.

Lulonaut commented 7 months ago

I apologize if I'm missing something, I'm still new to Arch Linux, pacman, and paru.

The front page (README.md) says to use these steps to install paru:

sudo pacman -S --needed base-devel
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si

The master branch in the repository at https://aur.archlinux.org/paru.git doesn't have any commits after v2.0.1 on December 1 2023. This version won't compile against the current version of pacman (from what I've gathered from previous comments on this issue.)

Should I be using the repository here on Github instead of the repository in AUR?

You can use paru-git instead, so git clone https://aur.archlinux.org/paru-git.git This works fine for me (I just compiled it)

Morganamilo commented 7 months ago

I apologize if I'm missing something, I'm still new to Arch Linux, pacman, and paru. The front page (README.md) says to use these steps to install paru:

sudo pacman -S --needed base-devel
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si

The master branch in the repository at https://aur.archlinux.org/paru.git doesn't have any commits after v2.0.1 on December 1 2023. This version won't compile against the current version of pacman (from what I've gathered from previous comments on this issue.) Should I be using the repository here on Github instead of the repository in AUR?

You can use paru-git instead, so git clone https://aur.archlinux.org/paru-git.git This works fine for me (I just compiled it)

The current release of paru works with the new pacman. The aur package still points to the previous release because current release won't work with old pacman.

The options are use paru-git. Bump the paru pkgbuild yourself, or wait for me to finish walking home.

LRitzdorf commented 7 months ago

@mmonsen In case it helps, here's an attempt to clarify how the AUR system (typically) works:

So, when you install from the AUR, you'll get v2.0.1, even though v2.0.3 is released on GitHub. To "fix" this situation, we just need the AUR maintainer (Morganamilo in this case, though the AUR maintaner need not be the main dev) to make the pkgbuild point to the new source tarball.

hth!

DarkXero-dev commented 7 months ago

@mmonsen In case it helps, here's an attempt to clarify how the AUR system (typically) works:

  • An AUR pkgbuild specifies a URL to the relevant source tarball(s) (in this and many other cases, these are downloaded from GitHub)
  • That source tarball is available for multiple different versions of paru
  • In this case, the pkgbuild still points to the 2.0.1 version of the source tarball

So, when you install from the AUR, you'll get v2.0.1, even though v2.0.3 is released on GitHub. To "fix" this situation, we just need the AUR maintainer (Morganamilo in this case, though the AUR maintaner need not be the main dev) to make the pkgbuild point to the new source tarball.

hth!

I did that locally still does not work doesn't have the alpm-v3 stuff.. I will replace -bin with -git on my repo make latter replace the former.. with replaces=(paru-bin)

Paru-bin (2.0.3) from AUR error

aru: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
LRitzdorf commented 7 months ago

@DarkXero-dev I haven't messed around with the -bin or -git versions, personally — my notes above were for the source-based paru package.

At this point, the easiest option is probably just to give Morganamilo a few moments to update the pkgbuilds, do a git pull in your clone of the AUR repo (to get that new pkgbuild), and makepkg -si to install. I wouldn't expect them to take very long :)

Morganamilo commented 7 months ago

The aur packages are updated as of now.

DarkXero-dev commented 7 months ago

@Morganamilo

The aur packages are updated as of now.

Error in 2.0.3 on AUR built now

aru: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
Morganamilo commented 7 months ago

@DarkXero-dev :

install openssl-1.1 to fix that.

What distro and architecture are you on? Binaries may have targeted the wrong ssl version.

DarkXero-dev commented 7 months ago

@Morganamilo

I am on Vanilla Arch with Plasma 6. Why not add it as dependency in PKGBUILD ?

Morganamilo commented 7 months ago

I have for now. Will build a new binary that links against the correct openssl.

DarkXero-dev commented 7 months ago

@Morganamilo

Thanks bud .. Will have to tell my users to replace Yay with Paru for now as it still hasn't been updated lol..

Morganamilo commented 7 months ago

I'm pretty sure yay is also updated for what it's worth. You can use either.

aaronliu0130 commented 7 months ago

Yay will install correctly as long as you rebuild it after upgrading pacman.

DarkXero-dev commented 7 months ago

@Morganamilo @aaronliu0130 I compile -bin usually from AUR and host on my repos I sorta avoid -git..

aaronliu0130 commented 7 months ago

Well, it's either build it or install it from the EndeavourOS repos, bud

DarkXero-dev commented 7 months ago

@aaronliu0130 I am and I do not care for custom repos besides my own and AUR..

I am now getting weird error when I try to rebuild my repo DB

error: read package paru-bin-2.0.3-2-x86_64.pkg.tar.zst: unknown field 'xdata' in .PKGINFO.
Morganamilo commented 7 months ago

Does the server you build the db on have an old version of pacman?

DarkXero-dev commented 7 months ago

@aaronliu0130 Nope it's the same PC that just got new pacman

Morganamilo commented 7 months ago

I don't see that error string anywhere in pacman. So I don't know what tool you're running to get that.

DarkXero-dev commented 7 months ago

@aaronliu0130 I use repoctl to update db I have my own repo .. Been using it for years never had that issue before

Morganamilo commented 7 months ago

repoctl isn't an arch tool. Pacman added a new field and it seems repoctl errors on it instead of just throwing a warning. Throw an issue their way.

aaronliu0130 commented 7 months ago

Please stop pinging me.

b02860de585071a2 commented 7 months ago

The aur packages are updated as of now.

Working perfectly after a makepkg --install with the new package, thank you for the quick fix!

liluzibird commented 7 months ago

What worked for me was just installing paru from the aur again

git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
raman08 commented 7 months ago

What worked for me was just installing paru from the aur again

git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si

Got ==> ERROR: Cannot find the debugedit binary required for including source files in debug packages. doing same

raman08 commented 7 months ago

When use sudo ln -s /usr/lib/libalpm.so.14.0.0 /usr/lib/libalpm.so.13 it works.

Morganamilo commented 7 months ago

No that will break things. Don't do that.

devrajneupane commented 7 months ago

What worked for me was just installing paru from the aur again

git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si

Got ==> ERROR: Cannot find the debugedit binary required for including source files in debug packages. doing same

Consider installing the base-devel package, which includes debugedit. Alternatively, standalone debugedit package can be installed.

Morganamilo commented 7 months ago

Anyway paru is updated to match the new pacman. If paru (or anything else depending on pacman via libalpm) is broken you need to rebuild the package.

Davidster commented 7 months ago

paru is still unable to build without upgrading to an unreleased version of pacman. could someone provide instructions for how to upgrade to pacman 6.1 so that we can compile paru?

Morganamilo commented 7 months ago

Wait for your distro to update to the new pacman.