https://bugs.kde.org/show_bug.cgi?id=367607

            Bug ID: 367607
           Summary: Compiled trojita asserts on startup when trojita has
                    been installed with package manager
           Product: trojita
           Version: git
          Platform: Compiled Sources
                OS: OpenBSD
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Other
          Assignee: trojita-b...@kde.org
          Reporter: cas...@schutijser.com

I installed trojita 0.7 with the package manager of the Operating System (which
installs to /usr/local) but I also compiled trojita from source in
/home/caspar/src/trojita.

When I run /usr/local/bin/trojita, it starts fine. However, when I start the
compile-from-source trojita from /home/caspar/src/trojita/_build, it asserts on
startup because it loads the plugins from both /home/caspar/src/trojita/_build
and /usr/local/lib/trojita, which is not allowed. Output (compiled with
PLUGIN_DEBUG enabled):

$ ./_build/trojita 
Number of static linked plugins: 2
Searching for plugins in: ("/home/caspar/src/trojita/_build",
"/usr/local/lib/trojita")
Opening file
"/home/caspar/src/trojita/_build/trojita_plugin_QtKeychainPasswordPlugin.so"
Found password plugin "qtkeychainpassword" : "Secure storage via QtKeychain"
Opening file
"/usr/local/lib/trojita/trojita_plugin_QtKeychainPasswordPlugin.so"
ASSERT: "!m_availablePasswordPlugins.contains(name)" in file
/home/caspar/src/trojita/src/Plugins/PluginManager.cpp, line 129
Abort trap (core dumped)

Reproducible: Always

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to