[Akonadi] [Bug 418265] New: Akonadi misbehaves if installed with -DCONFIG_INSTALL_DIR=/somewhere

Bernhard Rosenkränzer bugzilla_noreply at kde.org
Thu Feb 27 19:50:38 GMT 2020


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

            Bug ID: 418265
           Summary: Akonadi misbehaves if installed with
                    -DCONFIG_INSTALL_DIR=/somewhere
           Product: Akonadi
           Version: unspecified
          Platform: OpenMandriva RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: server
          Assignee: kdepim-bugs at kde.org
          Reporter: bero at lindev.ch
  Target Milestone: ---

SUMMARY
If akonadi is configured with -DCONFIG_INSTALL_DIR=/somewhere, all of its
config files (including mysql-global.conf) get installed to /somewhere -- but
akonadiserver tries to load some of the files (including mysql-global.conf)
with StandardDirs::locateResourceFile -- which isn't aware of
-DCONFIG_INSTALL_DIR and looks in the default places.

STEPS TO REPRODUCE
1. On a box without previous akonadi configs, build and install akonadi with
e.g. -DCONFIG_INSTALL_DIR=/etc
2. Try to start akonadiserver

OBSERVED RESULT
akonadiserver crashes on startup saying it can't find mysql-global.conf

EXPECTED RESULT
akonadiserver finds mysql-global.conf where it was installed (or alternatively,
make install ignores CONFIG_INSTALL_DIR and installs mysql-global.conf where it
can be found).

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list