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

            Bug ID: 501747
           Summary: Collection unavailable if Debian package
                    "mariadb-server" is not installed
    Classification: Applications
           Product: amarok
           Version: 3.2.2
          Platform: Debian testing
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Collections/Local
          Assignee: amarok-bugs-d...@kde.org
          Reporter: ivansanc...@escomposlinux.org
                CC: ralf-eng...@gmx.de
  Target Milestone: kf5

SUMMARY

I recently uninstalled `mariadb-server` on my system, and that made Amarok
display an error dialog on startup (related to MySQL-embedded); besides the
collection shows empty.

I am **not** using an external MySQL/mariadb connection. 


STEPS TO REPRODUCE
1. Use a Debian/testing or Debian/unstable system
2. Install the `amarok` debian package
3. Ensure the `mariadb-server` debian package is uninstalled
4. Run amarok

OBSERVED RESULT

During startup, the following error message is displayed on a dialog and on a
terminal when running `amarok --debug`:

```
amarok:         [ERROR__] [MySqlStorage] "MySQLe something failed! on library
initialization failed, return code 1"
```

EXPECTED RESULT

No error messages during startup.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.12.17-amd64 (64-bit)

ADDITIONAL INFORMATION

I guess that MySQL-embedded *should* work even when there's no MySQL/MariaDB
server installed on the system, but somehow that is not the case. All I know is
that installing the whole MariaDB-server-10.5 makes MySQLe work.

An easy approach to this problem would be to add `mariadb-server` as a
recommended package in the `debian.rules` file (which is the basis to build the
amarok debian package) - but at first sight, the Amarok git repo doesn't hold
that file, and I don't know who handles distro packaging.

I do not know if this is reproducible on other distros as well.

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

Reply via email to