This might be a duplicate but if so it's not clear. Basically, I can't emerge icewm-tools, which has a dependency on PyQt, which can't find SIP; this despite my already having it (and I re-emerged sip just to be sure). Reproducible: Always Steps to Reproduce: 1. emerge sip 2. emerge PyQt 3. Actual Results: # emerge PyQt Calculating dependencies ...done! >>> emerge (1 of 1) dev-python/PyQt-3.8.1 to / >>> md5 src_uri ;-) PyQt-x11-gpl-3.8.1.tar.gz >>> Unpacking source... >>> Unpacking PyQt-x11-gpl-3.8.1.tar.gz to /var/tmp/portage/PyQt-3.8.1/work * Applying license-3.8.1.diff... [ ok ] >>> Source unpacked. ****************************************************************************** Building the GPL version of PyQt 3.8.1 for Python 2.3.3 on linux2. ****************************************************************************** ****************************************************************************** /var/tmp/portage/PyQt-3.8.1/image//usr/lib/python2.3/site-packages is the PyQt installation directory. ****************************************************************************** ****************************************************************************** /usr/include/python2.3 contains Python.h. ****************************************************************************** ****************************************************************************** Error: The SIP code generator could not be found. Use the -p argument to set the correct program. ****************************************************************************** make: *** No targets specified and no makefile found. Stop. !!! ERROR: dev-python/PyQt-3.8.1 failed. !!! Function src_compile, Line 48, Exitcode 2 !!! (no error message) Expected Results: I would have expected a successful emerge. Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25) ================================================================= System uname: 2.4.25 i686 AMD Athlon(TM) XP 1600+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=athlon-xp -march=i686 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=athlon-xp -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi acpi4linux alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gnome gnomedb gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcltk tcpd tetex truetype video_cards_rage128 x86 xml2 xmms xv zlib"
This is fixed with sip-3.8-r1.