emerge kde-base/pykde4-4.2.3 fails; -- cmake package FindOkular.cmake was not found. The package Okular is needed to compile all part of this program. Reproducible: Always Steps to Reproduce: emerge pykde4 Actual Results: # emerge pykde4 Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) kde-base/pykde4-4.2.3 * kdebindings-4.2.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... * Unpacking parts of kdebindings-4.2.3.tar.bz2 to /var/tmp/portage/kde-base/pykde4-4.2.3/work ... [ ok ] >>> Source unpacked in /var/tmp/portage/kde-base/pykde4-4.2.3/work >>> Preparing source in /var/tmp/portage/kde-base/pykde4-4.2.3/work/pykde4-4.2.3 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/kde-base/pykde4-4.2.3/work/pykde4-4.2.3 ... >>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/pykde4-4.2.3/work/pykde4-4.2.3_build" loading initial cache file /var/tmp/portage/kde-base/pykde4-4.2.3/temp/gentoo_common_config.cmake -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.5.1 (using /usr/bin/qmake) -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib64/libX11.so -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found Automoc4: /usr/bin/automoc4 -- Found Perl: /usr/bin/perl -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Success -- Performing Test HAVE_FPIE_SUPPORT -- Performing Test HAVE_FPIE_SUPPORT - Success -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success -- Performing Test __KDE_HAVE_GCC_VISIBILITY -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success -- Phonon Version: 4.3.0 -- Found Phonon: /usr/lib64/libphonon.so -- Found Phonon Includes: /usr/include/KDE;/usr/include -- Found KDE 4.2 include dir: /usr/include -- Found KDE 4.2 library dir: /usr/lib64 -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Found automoc4: /usr/bin/automoc4 -- Phonon Version: 4.3.0 -- cmake package FindOkular.cmake was not found. The package Okular is needed to compile all part of this program. -- Found PythonInterp: /usr/bin/python -- Found Python executable: /usr/bin/python -- Found Python version: 2.6.2 -- Found Python library: /usr/lib64/libpython2.6.so -- Python Libraries: /usr/lib64/libpython2.6.so -- Python Include Path: /usr/include/python2.6 -- Build Kross Python... yes -- Found SIP version: 4.7.9 Traceback (most recent call last): File "/usr/share/apps/cmake/modules/FindPyQt.py", line 5, in <module> import PyQt4.pyqtconfig ImportError: No module named PyQt4.pyqtconfig -- Build PyKDE4... no -- -- <<< Gentoo configuration >>> Build type: Gentoo Install path: /usr -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/kde-base/pykde4-4.2.3/work/pykde4-4.2.3_build >>> Source configured. >>> Compiling source in /var/tmp/portage/kde-base/pykde4-4.2.3/work/pykde4-4.2.3 ... >>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/pykde4-4.2.3/work/pykde4-4.2.3_build" make -j3 >>> Source compiled. >>> Test phase [not enabled]: kde-base/pykde4-4.2.3 >>> Install pykde4-4.2.3 into /var/tmp/portage/kde-base/pykde4-4.2.3/image/ category kde-base >>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/pykde4-4.2.3/work/pykde4-4.2.3_build" make -j3 install DESTDIR=/var/tmp/portage/kde-base/pykde4-4.2.3/image/ make: *** No rule to make target `install'. Stop. * * ERROR: kde-base/pykde4-4.2.3 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 4052: Called kde4-meta_src_install * environment, line 3091: Called kde4-base_src_install * environment, line 2757: Called cmake-utils_src_install * environment, line 1117: Called die * The specific snippet of code: * emake install DESTDIR="${D}" || die "Make install failed"; * The die message: * Make install failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/kde-base/pykde4-4.2.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/pykde4-4.2.3/temp/environment'. * >>> Failed to emerge kde-base/pykde4-4.2.3, Log file: >>> '/var/tmp/portage/kde-base/pykde4-4.2.3/temp/build.log' * Messages for package kde-base/pykde4-4.2.3: * * ERROR: kde-base/pykde4-4.2.3 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 4052: Called kde4-meta_src_install * environment, line 3091: Called kde4-base_src_install * environment, line 2757: Called cmake-utils_src_install * environment, line 1117: Called die * The specific snippet of code: * emake install DESTDIR="${D}" || die "Make install failed"; * The die message: * Make install failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/kde-base/pykde4-4.2.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/pykde4-4.2.3/temp/environment'. * Expected Results: build, install pykde4 attached
Created attachment 191878 [details] emerge --info
This bug report looks invalid - you doesn't seem to have any PyQt4 installed, yet it's listed in dependencies. Please verify that >=PyQt4-4.4.4 or similar is installed. FindOkular has nothing to do with this bug anyway.
dev-python/PyQt4-4.4.4-r4 was installed, but after reinstalling it, the issue dissapeared.