-
-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libalpm.so.14 cannot be found with pacman in [testing] #1239
Comments
A rebuild does not work. ==> Beginne 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 quote v1.0.35
Compiling log v0.4.21
Compiling futures-core v0.3.30
Compiling syn v2.0.52
Compiling itoa v1.0.10
Compiling bytes v1.5.0
Compiling slab v0.4.9
Compiling futures-sink v0.3.30
Compiling getrandom v0.2.12
Compiling vcpkg v0.2.15
Compiling phf_shared v0.10.0
Compiling rand_core v0.6.4
Compiling futures-channel v0.3.30
Compiling rand_chacha v0.3.1
Compiling futures-io v0.3.30
Compiling pin-utils v0.1.0
Compiling futures-task v0.3.30
Compiling alpm-sys v3.0.0 (https://github.com/archlinux/alpm.rs?rev=306342#306342ef)
Compiling equivalent v1.0.1
Compiling rand v0.8.5
Compiling hashbrown v0.14.3
Compiling aho-corasick v1.1.2
Compiling tracing-core v0.1.32
Compiling signal-hook-registry v1.4.1
Compiling num_cpus v1.16.0
Compiling openssl-sys v0.9.101
Compiling mio v0.8.11
Compiling socket2 v0.5.6
Compiling phf_generator v0.10.0
Compiling indexmap v2.2.5
Compiling phf_codegen v0.10.0
Compiling smallvec v1.13.1
Compiling tinyvec_macros v0.1.1
Compiling foreign-types-shared v0.1.1
Compiling syn v1.0.109
Compiling fnv v1.0.7
Compiling crossbeam-utils v0.8.19
Compiling openssl v0.10.64
Compiling adler v1.0.2
Compiling regex-syntax v0.8.2
Compiling miniz_oxide v0.7.2
Compiling http v0.2.12
Compiling foreign-types v0.3.2
Compiling tinyvec v1.6.0
Compiling tracing v0.1.40
Compiling lock_api v0.4.11
Compiling percent-encoding v2.3.1
Compiling parking_lot_core v0.9.9
Compiling new_debug_unreachable v1.0.4
Compiling crc32fast v1.4.0
Compiling httparse v1.8.0
Compiling native-tls v0.2.11
Compiling unicode-normalization v0.1.23
Compiling form_urlencoded v1.2.1
Compiling phf_shared v0.11.2
Compiling unicode-bidi v0.3.15
Compiling thiserror v1.0.58
Compiling scopeguard v1.2.0
Compiling openssl-probe v0.1.5
Compiling try-lock v0.2.5
Compiling want v0.3.1
Compiling phf_generator v0.11.2
Compiling regex-automata v0.4.6
Compiling idna v0.5.0
Compiling http-body v0.4.6
Compiling string_cache_codegen v0.5.2
Compiling encoding_rs v0.8.33
Compiling precomputed-hash v0.1.1
Compiling mac v0.1.1
Compiling httpdate v1.0.3
Compiling tower-service v0.3.2
Compiling ryu v1.0.17
Compiling temp-dir v0.1.12
Compiling lazy_static v1.4.0
Compiling serde_json v1.0.114
Compiling gettext-sys v0.21.3
Compiling markup5ever v0.11.0
Compiling futf v0.1.5
Compiling parking_lot v0.12.1
Compiling url v2.5.0
Compiling flate2 v1.0.28
Compiling alpm v3.0.4 (https://github.com/archlinux/alpm.rs?rev=306342#306342ef)
Compiling serde_derive v1.0.197
Compiling tokio-macros v2.2.0
Compiling futures-macro v0.3.30
Compiling tokio v1.36.0
Compiling openssl-macros v0.1.1
Compiling futures-util v0.3.30
Compiling regex v1.10.3
Compiling thiserror-impl v1.0.58
Compiling phf_macros v0.11.2
Compiling phf v0.10.1
Compiling async-trait v0.1.77
Compiling utf-8 v0.7.6
Compiling unicode-width v0.1.11
Compiling either v1.10.0
Compiling version_check v0.9.4
Compiling rustix v0.38.31
Compiling base64 v0.21.7
Compiling dtoa v1.0.9
Compiling dtoa-short v0.3.4
Compiling rustls-pemfile v1.0.4
Compiling ahash v0.8.11
Compiling tendril v0.4.3
Compiling html5ever v0.26.0
Compiling phf v0.11.2
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: `/home/matheus/Downloads/paru/src/paru-2.0.3/target/release/build/alpm-fe8130be9696cf00/build-script-build` (exit status: 101)
--- stderr
thread 'main' panicked at /home/matheus/.local/share/cargo/git/checkouts/alpm.rs-a0070a235cf20bfa/306342e/alpm/build.rs:25:13:
this version of alpm.rs does not support libalpm v15.0.0 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... |
@Spixmaster |
@samuelcordero |
hi, I found installing |
Don't symlink different SO libraries for something that handles your system files, a package manager is the last thing you want to break on undefined behavior, the SO bump happened for a reason. Build from master as mentioned if you absolutely can't wait for a release. |
Your mentioned solution does not state whether it applies to running the executable or building. |
+1. Just do:
Once this issue is resolved you may go back and install |
This solution patches the executable instead of linking libs that you'll forget to delete (which patchelf >/dev/null 2>/dev/null || sudo pacman -S --asdeps patchelf) && sudo patchelf --replace-needed libalpm.so.14 libalpm.so.15 "$(which paru)" && paru -c && yes | paru -Scc |
@shurizzle your solution has the same issues as the symlink: It ends up using a library it was not explicitly linked against and that intentionally had an soname bump due to incompatibility reasons. |
In general you are totally right but it works to reinstall itself from master. |
Took ages to build rust :^) but a working solution for sure. |
cross-posting my comment from #1240: I re-wrote the
|
Here's a more "proper" version of the same idea that @kj-sh604 posited. It's essentially the original
|
This class of build issues has also happened in the past when pacman has bumped the version of the To avoid this in the future, would it be possible to pin the For example, take the -depends=('git' 'pacman' 'libalpm.so>=15')
+depends=('git' 'pacman' 'libalpm.so=15') |
@frazar I think doing that would prevent you from update pacman at all in the future. If I'm right, paru resolves dependencies of repos packages, install them, and then does the same with AUR ones after, but separate. As in, paru does not resolve dependencies of new AUR packages at the same time as the ones from repos (? - correct me on this). So when there is an update for pacman with I guess it could prevent paru from becoming unusable. You could still update other packages that are not pacman. |
A deeper change would be to update paru to notice this case, and warn the user that it's holding back the pacman update until paru is updated to handle it |
@TheBill2001 You are right. Updates of Consider the case where the
However, I would argue that the same steps are anyway required in the scenario with
And even in this case, fixing the installation requires the same steps mentioned above, with two additional disadvantages:
|
is the paru dev even aware of this? |
Not sure but you can check 90656a9 and archlinux/alpm.rs@65a14f2 |
Hello creator of paru this is probably my first coment ever here on github I just wanted to ask if you are going to eventually merge the current version of paru-git with normal paru to fix the recent problems thank you so much in advance and sorry if I said something dumb I'm a beginner in linux and this things |
I forgot to add I use arch btw xd |
Workaround for Morganamilo/paru#1239
23 dislikes and counting. That's the Linux community for ya. Edit: 23 dislikes and counting on this! I love this community. |
Thanks for the explanation
El mié, 18 sept 2024, 4:32, developomp ***@***.***> escribió:
… I normally don't like it when people create noise on other people's repo
while everyone else is trying to solve a problem, but the bug has been
pretty much solved in this case and there's only going to be Linux drama
from this point onward, so I'll take this opportunity to reiterate an
important distinction inexperienced GH users always seem to forget:
"Github is not a forum".
I'm sorry for adding negativity and potentially adding fuel to the drama,
but I hope this helps more people in the long run.
And for everyone else, please understand that people rarely comment with
the intention to create noise and derail the conversation. Most "dumb"
comments are made by regular people who just lacks the understanding of the
way people collaborate on a project.
We all make mistakes and I'm pretty sure everyone has made a bug report
something along the lines of "This feature doesn't work and I use Windows
10 with 16GB RAM".
The Linux community is notoriously bad at raising new members, but if we
just tune things down a bit and nudge them in the right direction, I think
we'll see more people making meaningful contributions.
Also, hi Brodie!
—
Reply to this email directly, view it on GitHub
<#1239 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AP6FYVX62SG4QNJWY2XMDEDZXDQ35AVCNFSM6AAAAABOATUJR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJXGM3TCNZSGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
It's being disliked because it's not appropriate nor relevant for a technical discussion in a GH issue. I enjoy the joke myself, but I prefer to see those on Reddit or some other places. |
agreed |
Not a fix but a temporary workaround. |
That workaround was already mentioned above:
To which kescherCode replied:
If you use this workaround, it will probably be fine, but it could potentially do something horrible because of an unexpected compatibility issue. The whole reason this build of paru was broken in the first place is because it might not be compatible. "It looks like it works now" is not the same thing as compatible. |
So you recommend to wait for an official fix? |
You could use this git version PKGBUILD, which will upgrade with the normal |
Removed paru - try to reinstall it |
The file |
@Morganamilo Please forgive the ping, but I just want to make sure that you're aware that the paru and paru-bin packages have not been usable since the 14th. There are workarounds, but as seen in this thread, some people are using workarounds that are not correct, such as symlinking the .so file or patching the executable to load the new .so file. Instead of waiting for a new full release, I think it would be best to make a quick fork of 2.0.3 that fixes this issue and nothing else. |
I see that the package has been updated and appears to be working fine for me. Thanks! 🙂 |
This issue should be closed. |
I still have this:
I did |
@Leuchak you're trying to build 2.0.3. https://aur.archlinux.org/packages/paru, and releases on the GitHub repo, clearly shows 2.0.4 being released, which resolves this issue. |
oh, i dont known why git pull didn't upgrade to 2.0.4. |
Git doesn't pull |
After pulling just change the branch by |
I had this issue and did |
Please see this comment on why this is a very bad idea. The proper way to fix this is to first do a full system upgrade with |
None of the above solutions work for me. If I try to
If I change the PKGBUILD to force libalpm=15, I get
|
@brooksvb what pacman version is installed? And have you done |
@BBaoVanC |
Can confirm I am also getting the same error. |
Affected Version
2.0.3-1
Description
paru
is broken with thepacman
version that is currently in testing (7.0.0.r3.g7736133-1
). It bumps thelibalpm
lib version to15.0.0
Output
paru: error while loading shared libraries: libalpm.so.14: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered: