Closed revsuine closed 6 months ago
I don't believe this has anything to do with this plugin's code. It's an ABI error and so a rebuild should fix it. Are you sure you rebuilt it correctly?
I've been using makepkg -si
on the rofi-lbonn-wayland
AUR package to rebuild it, and have reinstalled rofi-calc
from the official Arch repos. Is there something else I should be doing?
You also need to rebuild rofi-calc using makepkg against your rofi. If you install it from Arch repos, you will just get a version that is compiled against the official rofi.
Thank you, that fixed it
Thank you, that fixed it
so, how did u manage to fix it?
@untainsYD clone https://gitlab.archlinux.org/archlinux/packaging/packages/rofi-calc, cd into it, makepkg -si
(if on Arch, if you're on another distro rebuild rofi-calc
for that distro)
@untainsYD clone https://gitlab.archlinux.org/archlinux/packaging/packages/rofi-calc, cd into it,
makepkg -si
(if on Arch, if you're on another distro rebuild
rofi-calc
for that distro)
thanks
Just gonna add here for anyone else stumbling upon this issue, I added rofi-calc-git to the AUR so you should just be able to install that as it will clone the repo and build it from source.
If anyone has experience with writing PKGBUILD
, I'd appreciate any feedback, as it installs just fine for me but maybe I missed something.
@Rolv-Apneseth jsyk, the extra
package also builds from source already, however it does so for a tagged release rather than the latest git commit (which yours builds). e.g. I used the extra/rofi-calc
package to rebuild and fix this issue, pacman just didn't do it for me (I assume as I already had the build files cached somewhere and the version number hadn't changed), I had to clone the PKGBUILD
and run makepkg -si
for it to happen. (Not saying you should take the package down or anything, it still offers an option for people wanting to install the latest git commit rather than the latest tagged commit, but just that the existing makepkg also builds from source, just not the latest commit)
Btw, you should add libqualculate
as a dependency. Otherwise, LGTM
Ah I didn't know that, thanks. So I assume clearing cache / using paru
with --rebuild
should do it then.
And thanks I'll add that dependency.
Edit: So I tried installing with paru -S rofi-calc --rebuild
and that didn't seem to work. How I assumed it worked, before you said it builds it, was that the rofi-calc
package is already built / compiled against regular rofi
. However, we need it compiled against a rofi
with the ABI changes like rofi-lbonn-wayland
for it to work, so any method of fully re-building while that fork is installed fixes it. Is that incorrect?
Hi there,
I updated
rofi-lbonn-wayland
to1.7.5+wayland3-1
, which causes the following error to appear whenever you either run rofi withcalc
mode added to myconfig.rasi
, or run withrofi -show calc -modi calc -no-show-match -no-sort
:This is the same issue as #107, however this only started happening for me after the latest
rofi-lbonn-wayland
update.I have tried rebuilding both
rofi-lbonn-wayland
(again after the update) androfi-calc
, both to no avail.