Bug#773009: Unable to build kde-workspace from source on jessie
Package: kde-workspace
Version: 4:4.11.13-2
Severity: wishlist
Dear Maintainer,
I am trying to build kde-workspace from source on testing,
but I am not able to do so.
If I run these commands:
$ apt-get source kde-workspace
$ sudo apt-get build-dep kde-workspace
$ cd kde-workspace-4.11.13
$ debuild
I get to this error:
(...)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_QT_INCLUDE_DIR
used as include directory in directory /home/ronoaldo/workspace/debian/kde-workspace/kde-workspace-4.11.13/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp
CMake Error: Internal CMake error, TryCompile configure of cmake failed
CMake Error at /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:1316 (message):
Unable to compile a basic Qt application. Qt has not been found correctly.
Call Stack (most recent call first):
/usr/share/cmake-3.0/Modules/FindKDE4.cmake:108 (find_package)
CMakeLists.txt:18 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/ronoaldo/workspace/debian/kde-workspace/kde-workspace-4.11.13/obj-x86_64-linux-gnu/CMakeFiles/CMakeOutput.log".
See also "/home/ronoaldo/workspace/debian/kde-workspace/kde-workspace-4.11.13/obj-x86_64-linux-gnu/CMakeFiles/CMakeError.log".
dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_BUILD_TYPE=Debian -DCMAKE_USE_RELATIVE_PATHS=ON -DKDE4_KDM_PAM_SERVICE=kdm -DKDE4_COMMON_PAM_SERVICE=kdm -DKDE4_BUILD_TESTS=false returned exit code 1
debian/rules:14: recipe for target 'override_dh_auto_configure' failed
make[2]: *** [override_dh_auto_configure] Error 2
make[2]: Leaving directory '/home/ronoaldo/workspace/debian/kde-workspace/kde-workspace-4.11.13'
/usr/share/pkg-kde-tools/qt-kde-team/2/dhmk.mk:97: recipe for target 'pre_configure_dh_auto_configure' failed
make[1]: *** [pre_configure_dh_auto_configure] Error 2
make[1]: Leaving directory '/home/ronoaldo/workspace/debian/kde-workspace/kde-workspace-4.11.13'
/usr/share/pkg-kde-tools/qt-kde-team/2/dhmk.mk:110: recipe for target 'debian/dhmk_configure' failed
make: *** [debian/dhmk_configure] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
What else should I install on my system to build?
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.17.3 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages kde-workspace depends on:
ii freespacenotifier 4:4.11.13-2
ii kde-window-manager 4:4.11.13-2
ii kde-workspace-bin 4:4.11.13-2
ii klipper 4:4.11.13-2
ii ksysguard 4:4.11.13-2
ii systemsettings 4:4.11.13-2
Versions of packages kde-workspace recommends:
ii kdm 4:4.11.13-2
ii kinfocenter 4:4.11.13-2
ii kmenuedit 4:4.11.13-2
kde-workspace suggests no packages.
-- no debconf information
Reply to: