| Summary: | kde-base/pykde4-4.7.1, ImportError: No module named sipconfig | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | webnull <webnull.www> |
| Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | hwoarang |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Are you sure to have sip lib for python 3.2 ? Try python-updater. Actually, the question is "are you sure you've read *and* followed postinst note in sip ebuild ?". Try rebuilding sip and reopen this bug if you still have problems |
It seems that kde-base/pykde4 package is broken. It's checking for additional versions of Python to install modules, but not handling errors, so compilation/configuration fails at checking stage on Python 3 because there is no SIP module. -- Found PythonInterp: /usr/bin/python3.2 -- Found Python executable: /usr/bin/python3.2 -- Found Python version: 3.2 -- Found Python library: /usr/lib/libpython3.2.so Traceback (most recent call last): File "/usr/share/apps/cmake/modules/FindSIP.py", line 8, in <module> import sipconfig ImportError: No module named sipconfig CMake Error at /usr/share/apps/cmake/modules/FindSIP.cmake:56 (MESSAGE): Could not find SIP Call Stack (most recent call first): CMakeLists.txt:28 (FIND_PACKAGE) I think this error should be ignored if it's not default version of Python, and compilation should be moving on. # eselect python list Available Python interpreters: [1] python2.6 [2] python2.7 * [3] python3.1 [4] python3.2 Many packages depends on this version of pykde4, so i can't update my operating system. Reproducible: Always Steps to Reproduce: 1. Merge =kde-base/pykde4-4.7.1 Actual Results: >>> Emerging (5 of 32) kde-base/pykde4-4.7.1 * pykde4-4.7.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking pykde4-4.7.1.tar.bz2 to /var/tmp/portage/kde-base/pykde4-4.7.1/work >>> Source unpacked in /var/tmp/portage/kde-base/pykde4-4.7.1/work >>> Preparing source in /var/tmp/portage/kde-base/pykde4-4.7.1/work/pykde4-4.7.1 ... * Applying pykde4-4.6.3-python-3.2.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/kde-base/pykde4-4.7.1/work/pykde4-4.7.1 ... * Configuration of kde-base/pykde4-4.7.1 with CPython 2.7... >>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/pykde4-4.7.1/work/pykde4-4.7.1_build-2.7" cmake --no-warn-unused-cli -C /var/tmp/portage/kde-base/pykde4-4.7.1/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DKDE4_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DWITH_PolkitQt=OFF -DWITH_QScintilla=OFF -DWITH_Soprano=OFF -DWITH_Nepomuk=OFF -DWITH_KdepimLibs=OFF -DPYTHON_EXECUTABLE=/usr/bin/python2.7 -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/kde-base/pykde4-4.7.1/temp/gentoo_rules.cmake /var/tmp/portage/kde-base/pykde4-4.7.1/work/pykde4-4.7.1 Not searching for unused variables given on the command line. loading initial cache file /var/tmp/portage/kde-base/pykde4-4.7.1/temp/gentoo_common_config.cmake -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/lib/ccache/bin/i686-pc-linux-gnu-gcc -- Check for working C compiler: /usr/lib/ccache/bin/i686-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/lib/ccache/bin/i686-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/lib/ccache/bin/i686-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.7.4 (using /usr/bin/qmake) -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/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/lib/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 -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - found -- Found Automoc4: /usr/bin/automoc4 -- Found Perl: /usr/bin/perl -- Found Phonon: /usr/include -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Failed -- 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 -- Found KDE 4.7 include dir: /usr/include -- Found KDE 4.7 library dir: /usr/lib -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Found automoc4: /usr/bin/automoc4 -- Found PythonInterp: /usr/bin/python2.7 -- Found Python executable: /usr/bin/python2.7 -- Found Python version: 2.7.2 -- Found Python library: /usr/lib/libpython2.7.so -- Found SIP version: 4.12.4 -- Found PyQt4 version: 4.8.4 -- KDE_VERSION: 4.7.1 -- KDE4_INCLUDE_DIR: /usr/include -- KDE4_LIB_DIR: /usr/lib -- PYTHON_SITE_PACKAGES_INSTALL_DIR: /usr/lib/python2.7/site-packages -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -O2 -march=i686 -pipe -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common C++ -O2 -march=i686 -pipe -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden Linker flags: Executable -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed Module -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed Shared -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/kde-base/pykde4-4.7.1/work/pykde4-4.7.1_build-2.7 * Configuration of kde-base/pykde4-4.7.1 with CPython 3.2... >>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/pykde4-4.7.1/work/pykde4-4.7.1_build-3.2" cmake --no-warn-unused-cli -C /var/tmp/portage/kde-base/pykde4-4.7.1/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DKDE4_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DWITH_PolkitQt=OFF -DWITH_QScintilla=OFF -DWITH_Soprano=OFF -DWITH_Nepomuk=OFF -DWITH_KdepimLibs=OFF -DPYTHON_EXECUTABLE=/usr/bin/python3.2 -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/kde-base/pykde4-4.7.1/temp/gentoo_rules.cmake /var/tmp/portage/kde-base/pykde4-4.7.1/work/pykde4-4.7.1 Not searching for unused variables given on the command line. loading initial cache file /var/tmp/portage/kde-base/pykde4-4.7.1/temp/gentoo_common_config.cmake -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/lib/ccache/bin/i686-pc-linux-gnu-gcc -- Check for working C compiler: /usr/lib/ccache/bin/i686-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/lib/ccache/bin/i686-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/lib/ccache/bin/i686-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.7.4 (using /usr/bin/qmake) -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/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/lib/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 -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - found -- Found Automoc4: /usr/bin/automoc4 -- Found Perl: /usr/bin/perl -- Found Phonon: /usr/include -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Failed -- 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 -- Found KDE 4.7 include dir: /usr/include -- Found KDE 4.7 library dir: /usr/lib -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Found automoc4: /usr/bin/automoc4 -- Found PythonInterp: /usr/bin/python3.2 -- Found Python executable: /usr/bin/python3.2 -- Found Python version: 3.2 -- Found Python library: /usr/lib/libpython3.2.so Traceback (most recent call last): File "/usr/share/apps/cmake/modules/FindSIP.py", line 8, in <module> import sipconfig ImportError: No module named sipconfig CMake Error at /usr/share/apps/cmake/modules/FindSIP.cmake:56 (MESSAGE): Could not find SIP Call Stack (most recent call first): CMakeLists.txt:28 (FIND_PACKAGE)