* Starting to merge (6/23) dev-python/PyQt-3.8.1 .. 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.2 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. ****************************************************************************** ****************************************************************************** /usr/bin/sip will be used as the SIP code generator. ****************************************************************************** ****************************************************************************** Error: sip.h could not be found in /usr/include/python2.3. Use the -e argument to set the correct directory. ****************************************************************************** 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) * Failed merging dev-python/PyQt-3.8.1 (6/23)! * Starting to merge (7/23) dev-python/pygame-1.5.6 .. Calculating dependencies ...done! >>> emerge (1 of 1) dev-python/pygame-1.5.6 to / >>> md5 src_uri ;-) pygame-1.5.6.tar.gz >>> Unpacking source... >>> Unpacking pygame-1.5.6.tar.gz to /var/tmp/portage/pygame-1.5.6/work >>> Source unpacked. WARNING, No "Setup" File Exists, Running "config.py" Using UNIX configuration... Hunting dependencies... SDL : found 1.2.6 FONT : found IMAGE : found MIXER : found SMPEG : found 0.4.4 NUMERIC : not found Warning, some of the pygame dependencies were not found. Pygame can still compile and install, but games that require on those missing dependencies will not run. Would you like to continue the configuration? [Y/n]: [at this point in time i have to CTRL+C since it is trying to get user input] root@vapier 0 root # find /usr/include/ -name sip.h /usr/include/python2.2/sip.h root@vapier 0 root # emerge info Portage 2.0.49-r12 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.6.0-test6) ================================================================= System uname: 2.6.0-test6 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.4.3.10p1 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-pipe -march=pentium4 -O2 -frename-registers -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2 -fdelete-null-pointer-checks -funroll-loops -ffast-math -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /opt/glftpd/etc /usr/share/config /var/qmail/control /var/qmail/alias" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-pipe -march=pentium4 -O2 -frename-registers -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2 -fdelete-null-pointer-checks -funroll-loops -ffast-math -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache noauto" GENTOO_MIRRORS="http://www.ibiblio.org/gentoo" MAKEOPTS="-j2" PKGDIR="/mnt/space/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rux0r/gentoo-portage" USE="x86 foomaticdb mad offensive moznomail moznoirc moznocompose apache2 emu10k1 -joystick dedicated nptl cdr -scanner -3dfx -3dnow aalib acl -afs alsa acpi -apm -arts -atlas avi -berkdb -bonobo -canna -cjk crypt cups dga directfb -doc dvd encode esd -evo -fbcon flash -freewnn -gb gd gd-external gdbm ggi -ggz gif -gnome -gnome-libs -gphoto2 gpm gtk gtk2 -gtkhtml -guile -icc -icc-pgo imap imlib -innodb ipv6 -java jpeg kde -kerberos -lcms -ldap -libg++ -libgda libwww -matrox maildir -mbox mikmod mmx -motif mozilla mpeg -mule mysql nas ncurses -nls nocardbus -oci8 -odbc oggvorbis opengl oss pam -pcmcia -pda pdflib perl pic plotutils png pnp -postgres python qt qtmt quicktime readline -ruby samba sasl sdl -slang slp snmp socks5 spell sse ssl -static svga tcltk tcpd -tetex tiff truetype -trusted -voodoo3 wavelan X -xface xml xml2 xmms xv -zeo zlib video_cards_nvidia"
err, i'm a tool ... sip is from a diff package ... but this brings up a bug in the updater script and/or DEPEND of packages: Adding to list: dev-python/PyQt-3.8.1 Adding to list: dev-python/pygame-1.5.6 Adding to list: dev-python/sip-3.8 that is the order it tries to update in ... however, sip needs to be before those packages ...
yeah, i actually knew about this problem but i hadn't thought of way to fix it. but now i have, but i'm not sure if it is totally fool proof. basically, i've written a python script that looks at a list of pacakges, and then uses some simple algorithm to reorder the deps because portage doesn't do it if you just use --pretend. can you try it out and see if it works? i'm trying to find another victim machine i can test because my devel machine is all python2.3 now ..
I had the same problem as SPanKY, same packages. The new script (depreorder.py in ${FILES}) worked for me when I ran python-updater again.
I spoke too soon. After it emerged everything it hangs at: * ************************************************************ * * Packages that still need to be manually emerged : * * ************************************************************ * Masked Packages: * ---------------- * Unmask the following packages (at your own risk) and * emerge them using this command after removing the '-p' * parameter.
actually, there was a typo that didn't have any effect on the ordering :P (grr.. fixed now) at least i've got a chroot up to speed so i can do some real testing. that is a curious place to hang, especially since all it is doing is print "ewarns" and pre calculated variables. can you have a look at /tmp/python-updater.log and see what it last try to do?
The reason it hung for me is in bug #16466 Upgrading baselayout fixed it for me. Empty ewarns will make it hang i.e.: ewarn ""
i've made the ewarns to have at least one character to print .. not particularly keen on adding baselayout to the python deps. i'm closing this tentatively, feel free to reopen if it seem they are still not merged in the correct order after my fixes.