Bug 408450 - digikam git r43105 cannot build without map view support
Summary: digikam git r43105 cannot build without map view support
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 6.2.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-08 10:11 UTC by maderios
Modified: 2024-12-12 03:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description maderios 2019-06-08 10:11:17 UTC
Digikam git r43105 cannot build without marble anymore.
I tried two times with different digikam versions, I get same error
[ 51%] [32mBuilding CXX object core/app/CMakeFiles/digikamgui_src.dir/main/digikamapp_solid.cpp.o[0m
/usr/bin/ld: ../libs/dplugins/CMakeFiles/dpluginsinterface_src.dir/iface/dmetainfoiface.cpp.o: in function `Digikam::DMetaInfoIface::currentGPSItems() const':
dmetainfoiface.cpp:(.text+0x429): undefined reference to `Digikam::GPSItemContainer::GPSItemContainer(QUrl const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [core/app/CMakeFiles/digikamcore.dir/build.make:1299: core/app/libdigikamcore.so.6.2.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:6749: core/app/CMakeFiles/digikamcore.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Full build here
https://pastebin.com/fcbdX5D0
Build works after installing marble-common.
Comment 1 caulier.gilles 2019-06-08 11:10:50 UTC
Certainly a wrong cmake rules with Marble dependency have been introduced while kipi-plugins integration for 6.1.0 release.

Gilles Caulier
Comment 2 maderios 2019-06-08 11:47:42 UTC
But 6.1.0 compiles successfully without marble...
Comment 3 Maik Qualmann 2019-06-08 11:49:40 UTC
Yes, I caused the problem while fixing a bug in digiKam-6.2.0... I'll fix it right away...

Maik
Comment 4 Maik Qualmann 2019-06-08 12:15:00 UTC
Git commit 4bad9053ad13c516a4bc619f3f5881359d4d5c2c by Maik Qualmann.
Committed on 08/06/2019 at 12:13.
Pushed by mqualmann into branch 'master'.

this should fix compiling without Marble
FIXED-IN: 6.2.0

M  +2    -1    NEWS
M  +6    -0    core/libs/database/utils/ifaces/dbinfoiface.cpp
M  +2    -1    core/libs/database/utils/ifaces/dbinfoiface.h
M  +2    -0    core/libs/dplugins/iface/dinfointerface.cpp
M  +8    -1    core/libs/dplugins/iface/dinfointerface.h
M  +2    -0    core/libs/dplugins/iface/dmetainfoiface.cpp
M  +2    -0    core/libs/dplugins/iface/dmetainfoiface.h

https://invent.kde.org/kde/digikam/commit/4bad9053ad13c516a4bc619f3f5881359d4d5c2c
Comment 5 maderios 2019-06-08 16:00:51 UTC
Solved. Build works now.