You are not logged in.
Well I don't know how to phrase this but here goes.
For a while the llvm package is not updated, and since its already flaged there is nothing I can do except compile the latest version my self, which did.
But pacman is not aware of it and wants to install the llvm-20 something which is on the offical repo , is there a way to make pacman think those package are installed.
I tried ignorePkg in conf but rust wants lld installed.
While I could do a makepkg, but I already have compiled llvm and installed using install command , and recompiling will take a very long time
Is there a way to solve this like faking a package or something
All help is appreciated.
Regards Codecraft
Last edited by CodeCraft (2025-10-01 20:23:06)
Offline
You could create a dummy PKGBUILD file that has a Provides=('llvm') line, but which effectively does nothing,. Whether this is actually a sensible idea or not is very much left as an exercise for the reader.
Offline
Well I don't know how to phrase this but here goes.
For a while the llvm package is not updated, and since its already flaged there is nothing I can do except compile the latest version my self, which did.
You could have updated the llvm PLKGBUILD to 21.1.2, likewise for clang plus lld and rebuild system packages that depend on llvm-libs.
I tried ignorePkg in conf but rust wants lld installed.
Why is that an issue?
You could create a dummy PKGBUILD file that has a Provides=('llvm') line, but which effectively does nothing
See the second options under pacman.8 TRANSACTION OPTIONS (APPLY TO -S, -R AND -U) which is not a suggestion Codecraft should use it.
Last edited by loqs (2025-10-01 19:55:48)
Offline
Fair,I will keep an eye on the official repo just incase they update the version and then remove mine
Thanks
Offline
How are you installing LLVM, though? Just `make install` style, directly into your system, untracked? That seems like it'd be a mess to clean up later.
Have you considered packaging your LLVM build as a real LLVM package? Would solve two problems IMO.
--edit oh wow, should hit refresh more often…
Last edited by ayekat (2025-10-01 19:57:07)
Offline
How are you installing LLVM, though? Just `make install` style, directly into your system, untracked? That seems like it'd be a mess to clean up later.
Have you considered packaging your LLVM build as a real LLVM package? Would solve two problems IMO.
--edit oh wow, should hit refresh more often…
True i also did not see other reply except for faking the pkgs , only now did I see them and no they llvm are installed in /opt/llvm and the install_manafest is also tracked.
While yes editing the PKGBUILD should work , i already have built the package and rebuilding it very time consuming.
Offline
If you only need rust as a makedepends for some PKGBUILD you could clean chroot build that package as is it should at most need llvm-libs as a runtime dependency.
Offline
pacman.8 TRANSACTION OPTIONS (APPLY TO -S, -R AND -U) which is not a suggestion Codecraft should use it.
Okay that better i did not know assuming installed depends was possible
Thanks
Last edited by CodeCraft (2025-10-01 20:20:18)
Offline