[Kde-pim] Akonadi Contact library: Targets not properly exported

Ben Cooksley bcooksley at kde.org
Wed Mar 30 07:19:29 UTC 2016


On Tue, Mar 29, 2016 at 10:46 PM, Sandro Knauß <sknauss at kde.org> wrote:
> Hi,

Hi Sandro,

>
> for me it looks okay. :
> kdepimlibs/akonadi-contac/src/CmakeFile.txt shows:
> ecm_generate_headers (AkonadiContact_CamelCase_HEADERS
> HEADERS
> [...]
> ContactSearchJob
> [...]
>     REQUIRED_HEADERS AkonadiContact_HEADERS
>     PREFIX Akonadi/Contact
>     )
>
>
> install( FILES
>     ${AkonadiContact_CamelCase_HEADERS}
>     DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/Akonadi/Contact COMPONENT Devel
>     )
>
> install( FILES
>     ${AkonadiContact_HEADERS}
>     ${CMAKE_CURRENT_BINARY_DIR}/akonadi-contact_export.h
>     editor/im/improtocols.h
>     DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/akonadi/contact COMPONENT Devel
>     )
>
> also the build of kdepimlibs shows that it is installed:
> 05:01:45 -- Installing: /home/jenkins/sources/kdepimlibs/stable-kf5-qt5/local-
> inst/srv/jenkins/install/ubuntu/x86_64/g++/stable-kf5-qt5/kde/kdepimlibs/inst/
> usr/include/KF5/Akonadi/Contact/ContactSearchJob

Those are the header generation and installation routines - which do
indeed look.
What is missing in this case is the include path specification for the
KF5::AkonadiContact target which CMake provides.

>
> Regards,
>
> sandro

Cheers,
Ben

>
> Am Dienstag, 29. März 2016, 14:48:38 CEST schrieb Ben Cooksley:
>> Hi PIM developers,
>>
>> It would appear the Akonadi Contact library does not properly export
>> it's targets, or does so in a manner in which valid include paths for
>> Akonadi libraries are not included in this.
>>
>> Could someone please take a look?
>>
>> This causes Digikam to fail to build on the CI system, please see
>> https://build.kde.org/view/FAILED/job/digikam%20master%20kf5-qt5/6/PLATFORM=
>> Linux,compiler=gcc/console
>>
>> Thanks,
>> Ben
>> _______________________________________________
>> KDE PIM mailing list kde-pim at kde.org
>> https://mail.kde.org/mailman/listinfo/kde-pim
>> KDE PIM home page at http://pim.kde.org/
>
>


More information about the Kde-buildsystem mailing list