Jan 04

Failed to emerge dev-lang/python-2.7.1


[..]
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for --with-cxx-main=... no
configure: error: cannot run /bin/sh ./config.sub

Make sure you have >=autogen-5.11.3
Bug #347095

emerge autogen dev-lang/python
-> works

Share

Apr 10

Failed to emerge kde-base/pykde4-4.2.2

Traceback (most recent call last):
File "/usr/share/apps/cmake/modules/FindSIP.py", line 8, in
import sipconfig
ImportError: No module named sipconfig
-- 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.2/work/pykde4_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/kde-base/pykde4-4.2.2/work/pykde4-4.2.2 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/pykde4-4.2.2/work/pykde4_build"
make -j5
>>> Source compiled.
>>> Test phase [not enabled]: kde-base/pykde4-4.2.2

>>> Install pykde4-4.2.2 into /var/tmp/portage/kde-base/pykde4-4.2.2/image/ category kde-base
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/pykde4-4.2.2/work/pykde4_build"
make -j5 install DESTDIR=/var/tmp/portage/kde-base/pykde4-4.2.2/image/
make: *** No rule to make target `install'. Stop.
*
* ERROR: kde-base/pykde4-4.2.2 failed.
* Call stack:
* ebuild.sh, line 48: Called src_install
* environment, line 4014: Called kde4-meta_src_install
* environment, line 3053: Called kde4-base_src_install
* environment, line 2738: Called cmake-utils_src_install
* environment, line 1099: 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.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/kde-base/pykde4-4.2.2/temp/environment'.
* This ebuild is from an overlay named 'kde': '/usr/local/portage/layman/kde-testing/'
*

a remerge of dev-python/sip and dev-python/PyQt4 solved this issue (at least for me).

Share