Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639032 - media-gfx/digikam - /usr/bin/cleanup_digikamdb: line 61: kreadconfig: command not found
Summary: media-gfx/digikam - /usr/bin/cleanup_digikamdb: line 61: kreadconfig: command...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL: https://phabricator.kde.org/D9235
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-28 06:33 UTC by Vit Pelcak
Modified: 2017-12-06 22:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vit Pelcak 2017-11-28 06:33:21 UTC
On digikam 5.7.0:

$ cleanup_digikamdb --help
/usr/bin/cleanup_digikamdb: line 61: kreadconfig: command not found
/usr/bin/cleanup_digikamdb: wrong switch – -
Usage: cleanup_digikamdb <options>

options:
  -t            Include thumbnail databases
  -T            Only cleanup thumbnail databases
  -p <path>     Specify a different database path.
                If the specified path is invalid, the entry from the configuration file will be used.
  -h            Show this help.

Attempting to run cleanup_digikamdb ends up with the same error.

Reproducible: Always
Comment 1 Andreas Sturmlechner gentoo-dev 2017-12-02 21:40:35 UTC
What fun. Seems upstream still relies on a binary from kreadconfig:4 from long obsolete kde-runtime. The correct binary name would be kreadconfig5, found in kconfig:5.
Comment 2 Andreas Sturmlechner gentoo-dev 2017-12-02 21:42:36 UTC
Please check if it works with a manually created link to kreadconfig5.
Comment 3 Andreas Sturmlechner gentoo-dev 2017-12-06 21:11:09 UTC
Answer to myself: That works.
Comment 4 Larry the Git Cow gentoo-dev 2017-12-06 22:08:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12401247632313d3494f864cf75d38916ed2aad4

commit 12401247632313d3494f864cf75d38916ed2aad4
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2017-12-06 21:46:09 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2017-12-06 22:08:00 +0000

    media-gfx/digikam: Fix cleanup_digikamdb, DB w/ >=mariadb-10.2
    
    Closes: https://bugs.gentoo.org/639032
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 media-gfx/digikam/digikam-5.7.0-r2.ebuild          | 174 +++++++++++++++++++++
 .../digikam/files/digikam-5.7.0-kreadconfig5.patch |  28 ++++
 .../files/digikam-5.7.0-mariadb-10.2-1.patch       |  58 +++++++
 .../files/digikam-5.7.0-mariadb-10.2-2.patch       | 117 ++++++++++++++
 4 files changed, 377 insertions(+)