Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641594 - media-gfx/digikam-5.7.0-r2 broken after kde-apps/kcalcore upgrade to 17.12.0: symbol lookup error: /usr/lib64/libdigikamcore.so.5.7.0: undefined symbol: _ZNK8KCalCore10Recurrence15getNextDateTimeERK9KDateTime
Summary: media-gfx/digikam-5.7.0-r2 broken after kde-apps/kcalcore upgrade to 17.12.0:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-18 17:32 UTC by Jaak Ristioja
Modified: 2017-12-18 18:48 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 Jaak Ristioja 2017-12-18 17:32:42 UTC
$ digikam 
digikam: symbol lookup error: /usr/lib64/libdigikamcore.so.5.7.0: undefined symbol: _ZNK8KCalCore10Recurrence15getNextDateTimeERK9KDateTime
$ c++filt _ZNK8KCalCore10Recurrence15getNextDateTimeERK9KDateTime
KCalCore::Recurrence::getNextDateTime(KDateTime const&) const
$ eix kcalcore
[I] kde-apps/kcalcore
     Available versions:  (5) 17.08.3^t (~)17.12.0^t
       {debug test}
     Installed versions:  17.12.0(5)^t(10:54:38 15.12.2017)(-debug -test)
     Homepage:            https://www.kde.org/
     Description:         Library for handling calendar data

$ eix -e digikam
[I] media-gfx/digikam
     Available versions:  (5) 5.7.0-r1^t (~)5.7.0-r2^t
       {X addressbook calendar debug gphoto2 +handbook jpeg2k +kipi +lensfun marble mediaplayer mysql opengl openmp +panorama scanner semantic-desktop test}
     Installed versions:  5.7.0-r2(5)^t(00:26:25 08.12.2017)(X calendar gphoto2 handbook kipi lensfun marble opengl panorama scanner -addressbook -debug -jpeg2k -mediaplayer -mysql -openmp -semantic-desktop -test)
     Homepage:            https://www.digikam.org/
     Description:         Digital photo management application

Rebuilding digiKam fails due to bug #641378.
Comment 1 Andreas Sturmlechner gentoo-dev 2017-12-18 18:06:20 UTC
Please use the search function before opening a new bug.

*** This bug has been marked as a duplicate of bug 641378 ***
Comment 2 Jaak Ristioja 2017-12-18 18:15:06 UTC
I did, and if it were a duplicate I wouldn't have opened the bug (and referenced bug #641378 in the comment #0).

Regardless of whether the final solution or fix would be identical, it's not the same bug per se. Bug #641378 is about digikam failing to build against kcalcore, whereas this is about upgrading kcalcore to 17.12.0 silently breaking the digikam installation by causing a run-time linking error.
Comment 3 Jaak Ristioja 2017-12-18 18:20:33 UTC
Shouldn't revdep-rebuild or @preserved-rebuild have caused a rebuild digiKam in this case?
Comment 4 Andreas Sturmlechner gentoo-dev 2017-12-18 18:35:13 UTC
In theory yes, since there is a soname change with every kcalcore point release, but I haven't checked linking yet (I hadn't set up digikam with USE=calendar).
Comment 5 Andreas Sturmlechner gentoo-dev 2017-12-18 18:47:19 UTC
Yeah, just links against libKF5CalendarCore.so.5.
Comment 6 Larry the Git Cow gentoo-dev 2017-12-18 18:48:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68dc4f7818a96861e2962f3e5e3212aac7e9f074

commit 68dc4f7818a96861e2962f3e5e3212aac7e9f074
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2017-12-18 18:37:38 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2017-12-18 18:48:18 +0000

    media-gfx/digikam: Fix build/runtime w/ >=kde-apps/kcalcore-17.12.0
    
    Closes: https://bugs.gentoo.org/641594
    Closes: https://bugs.gentoo.org/641378
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-gfx/digikam/digikam-5.7.0-r3.ebuild          | 175 +++++++++++++++++++++
 .../digikam/files/digikam-5.7.0-kcalcore-1.patch   |  44 ++++++
 .../digikam/files/digikam-5.7.0-kcalcore-2.patch   |  79 ++++++++++
 3 files changed, 298 insertions(+)