Bug 349465 - error when try to build kdepimlibs-git with akonadi-git commit 4b969f2 and 62db91e
Summary: error when try to build kdepimlibs-git with akonadi-git commit 4b969f2 and 62...
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: GIT (master)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-21 15:58 UTC by desaparecido
Modified: 2015-06-21 16:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description desaparecido 2015-06-21 15:58:53 UTC
after update to latest commit of akonadi, when I try to build kdepimlibs I have this error:

==> Retrieving sources...
  -> Updating kdepimlibs git repo...
Fetching origin
==> Validating source files with md5sums...
    kdepimlibs ... Skipped
==> Extracting sources...
  -> Creating working copy of kdepimlibs git repo...
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Starting prepare()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
CMake Error at /usr/lib64/cmake/KF5AkonadiServer/KF5AkonadiServerConfig.cmake:24 (message):
  File or directory include/KF5 referenced by variable AKONADI_INCLUDE_DIR
  does not exist !
Call Stack (most recent call first):
  /usr/lib64/cmake/KF5AkonadiServer/KF5AkonadiServerConfig.cmake:90 (set_and_check)
  akonadi/CMakeLists.txt:58 (find_package)


-- Configuring incomplete, errors occurred!
See also "/tmp/makepkg/kdepimlibs-git/src/build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
    Aborting...

The latest commit of akonadi that produce a successfully build of kdepimlibs is 1f7709d

Reproducible: Always

Steps to Reproduce:
1.desintall all kdepim packages
2.build all packages with their latest commit
3.the error message
4.downgrade to commit 1f7709d kdepimlibs builds fine

Actual Results:  
the error message when build:

==> Retrieving sources...
  -> Updating kdepimlibs git repo...
Fetching origin
==> Validating source files with md5sums...
    kdepimlibs ... Skipped
==> Extracting sources...
  -> Creating working copy of kdepimlibs git repo...
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Starting prepare()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
CMake Error at /usr/lib64/cmake/KF5AkonadiServer/KF5AkonadiServerConfig.cmake:24 (message):
  File or directory include/KF5 referenced by variable AKONADI_INCLUDE_DIR
  does not exist !
Call Stack (most recent call first):
  /usr/lib64/cmake/KF5AkonadiServer/KF5AkonadiServerConfig.cmake:90 (set_and_check)
  akonadi/CMakeLists.txt:58 (find_package)


-- Configuring incomplete, errors occurred!
See also "/tmp/makepkg/kdepimlibs-git/src/build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
    Aborting...


Expected Results:  
build kdepimlibs without problem

Archlinux with [testing] repo enable, KF5 and plasma from git
Comment 1 Daniel Vrátil 2015-06-21 16:24:11 UTC
commit 88e8e1cf3d6c6cb2cfe4ed5a765b0f4fd337b0ec
Author: Dan Vrátil <dvratil@redhat.com>
Date:   Sun Jun 21 18:21:58 2015 +0200

    Handle relative paths in KDE_INSTALL_INCLUDEDIR_KF5