Bug 504158 - I need to recompile after every reboot of my system
Summary: I need to recompile after every reboot of my system
Status: RESOLVED NOT A BUG
Alias: None
Product: skrooge
Classification: Applications
Component: general (other bugs)
Version First Reported In: Trunk from git
Platform: Other Linux
: NOR normal
Target Milestone: 25.1.0
Assignee: Stephane MANKOWSKI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-13 15:36 UTC by Jesus M Diaz
Modified: 2025-05-16 15:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesus M Diaz 2025-05-13 15:36:46 UTC
SUMMARY

Since flatpak introduction, I see that every time I reboot my system, when I try to run Skrooge I get something similar to:

jesusm@liet:[~]$ skrooge
##WARNING: Another action already registered for identifier edit_copy
##WARNING: Another action already registered for identifier edit_expandall
##WARNING: Another action already registered for identifier edit_collapseall
skrooge: symbol lookup error: /usr/lib64/qt5/plugins/skg_gui/skrooge_search.so: undefined symbol: _ZN15SKGQueryCreatorC1EP7QWidgetb
jesusm@liet:[~]$

When this happens, I simply recompile Skrooge and it works fine again.

STEPS TO REPRODUCE
1.  Reboot Linux host
2.  Run Skrooge
3. 

OBSERVED RESULT

jesusm@liet:[~]$ skrooge
##WARNING: Another action already registered for identifier edit_copy
##WARNING: Another action already registered for identifier edit_expandall
##WARNING: Another action already registered for identifier edit_collapseall
skrooge: symbol lookup error: /usr/lib64/qt5/plugins/skg_gui/skrooge_search.so: undefined symbol: _ZN15SKGQueryCreatorC1EP7QWidgetb
jesusm@liet:[~]$

EXPECTED RESULT

Skrooge running normally

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Slackware 15.0+ (Linux  6.12.28 #1 SMP PREEMPT_DYNAMIC GNU/Linux)
KDE Plasma Version: 5.27.12
KDE Frameworks Version: 5.116.0
Qt Version: 5.15.16

ADDITIONAL INFORMATION
Comment 1 Jesus M Diaz 2025-05-13 15:39:09 UTC
Normal execution output (after recompiling):

jesusm@liet:[~]$ skrooge
##WARNING: Another action already registered for identifier edit_copy
##WARNING: Another action already registered for identifier edit_expandall
##WARNING: Another action already registered for identifier edit_collapseall
##WARNING: Another action already registered for identifier edit_copy
##WARNING: Another action already registered for identifier edit_expandall
##WARNING: Another action already registered for identifier edit_collapseall
jesusm@liet:[~]$
Comment 2 Stephane MANKOWSKI 2025-05-13 20:03:15 UTC
This could be due to old library.

Could you remove all skrooge components by running that and rebuild it ?

sudo find /usr -name "skrooge" -exec rm -Rf {} \;
sudo find /usr -name "skrooge_*" -exec rm -Rf {} \;
sudo find /usr -name "skrooge*.png" -exec rm -Rf {} \;
sudo find /usr/local -name "*skrooge*" -exec rm -Rf {} \;
sudo find /usr -name "skroogeconvert" -exec rm -Rf {} \;
sudo find /usr -name "skroogeakonadiresource.desktop" -exec rm -Rf {} \;
sudo find /usr -name "skg_*" -exec rm -Rf {} \;
sudo find /usr -name "skg*.kcfg" -exec rm -Rf {} \;
sudo find /usr -name "libskg*" -exec rm -Rf {} \;
Comment 3 Jesus M Diaz 2025-05-13 21:38:42 UTC
done.

and this time, after rebooting the PC, it worked fine. Will try again a few more times and update whatever happens.

Thanks!
Comment 4 Jesus M Diaz 2025-05-16 08:44:25 UTC
Few more reboots and all good. So it was not a bug but a non-clean installation.

Maybe the install process should make sure to delete old libraries, just a suggestion.

Thanks in any case!