Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 235960

Summary: net-p2p/qtorrent-0.9.6.1-r2 - ImportError: No module named qt
Product: Gentoo Linux Reporter: Pierre <pierre42d>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pierre 2008-08-27 21:21:08 UTC
# LC_ALL=C emerge -u qtorrent
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) net-p2p/qtorrent-0.9.6.1-r2 to /
 * qtorrent-0.9.6.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                      [ ok ]
 * qtorrent-0.9.6.1-sizetype.patch RMD160 SHA1 SHA256 size ;-) ...                                                                                               [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                             [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                            [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                           [ ok ]
 * checking qtorrent-0.9.6.1.tar.bz2 ;-) ...                                                                                                                     [ ok ]
 * checking qtorrent-0.9.6.1-sizetype.patch ;-) ...                                                                                                              [ ok ]
>>> Unpacking source...
>>> Unpacking qtorrent-0.9.6.1.tar.bz2 to /var/tmp/portage/net-p2p/qtorrent-0.9.6.1-r2/work
>>> Unpacking qtorrent-0.9.6.1-sizetype.patch to /var/tmp/portage/net-p2p/qtorrent-0.9.6.1-r2/work
unpack qtorrent-0.9.6.1-sizetype.patch: file format not recognized. Ignoring.
 * Applying qtorrent-0.9.6.1-sizetype.patch ...                                                                                                                  [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-p2p/qtorrent-0.9.6.1-r2/work/qtorrent-0.9.6.1 ...
Traceback (most recent call last):
  File "setup.py", line 20, in <module>
    from pyqtorrent.torrentmain import VERSION
  File "/var/tmp/portage/net-p2p/qtorrent-0.9.6.1-r2/work/qtorrent-0.9.6.1/pyqtorrent/torrentmain.py", line 4, in <module>
    from qt import *
ImportError: No module named qt
 * 
 * ERROR: net-p2p/qtorrent-0.9.6.1-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2412:  Called distutils_src_compile
 *             environment, line  691:  Called die
 * The specific snippet of code:
 *       ${python} setup.py build "$@" || die "compilation failed"
 *  The die message:
 *   compilation 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/net-p2p/qtorrent-0.9.6.1-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/qtorrent-0.9.6.1-r2/temp/environment'.
 * 

 * Messages for package net-p2p/qtorrent-0.9.6.1-r2:

 * 
 * ERROR: net-p2p/qtorrent-0.9.6.1-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2412:  Called distutils_src_compile
 *             environment, line  691:  Called die
 * The specific snippet of code:
 *       ${python} setup.py build "$@" || die "compilation failed"
 *  The die message:
 *   compilation 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/net-p2p/qtorrent-0.9.6.1-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/qtorrent-0.9.6.1-r2/temp/environment'.
 *
Comment 1 Pierre 2008-08-27 21:21:51 UTC
# LC_ALL=C emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
Timestamp of tree: Wed, 27 Aug 2008 20:22:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ "
LANG="fr_FR.UTF-8"
LC_ALL="C"
LINGUAS="fr en de nl"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 ao apache2 apm arts audiofile bash-completion berkdb bzip2 cairo cdparanoia cdr cjk cli cracklib crypt cups curl dbus dga directfb doc dri dvd dvdr dvdread emacs encode esd exif ffmpeg firefox flac foomaticdb fortran ftp gb gcj gd gdbm ggi gif gmp gnome gnutls gpm gstreamer gtk hal iconv icq idn imagemagick imap imlib ipv6 isdnlog jabber jack javascript jpeg jpeg2k kde ladspa lash lcms ldap leim lesstif libcaca libnotify libsamplerate libwww lm_sensors mad maildir matroska mbox mcal midi mikmod mime mmx mng mozilla mp3 mpeg mplayer msn mudflap musepack musicbrainz mysql mysqli nas ncurses nls nntp nptl nptlonly nsplugin ogg openal opengl openmp osc oscar pam pcmcia pcre pdf perl php png posix pppd python qt3 qt4 quicktime readline reflection samba sdl session sndfile sox speex spell spl sqlite sse sse2 ssl startup-notification svg symlink tcl tcpd tetex theora threads tidy tiff tk truetype unicode usb vhosts vorbis wifi wmf wxwindows xcomposite xine xml xorg xpm xprint xscreensaver xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en de nl" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-28 07:27:05 UTC
Did you run python-updater yet to rebuild anything that was originally compiled and built against dev-lang/python-2.4 but should now be rebuilt against dev-lang/python2.5?
Comment 3 Pierre 2008-08-29 00:34:37 UTC
Yes in my memory I launched it after the last python update
I can try to do it once again if you want to see if that changes anything.
Comment 4 Wormo (RETIRED) gentoo-dev 2008-08-29 05:39:29 UTC
Yes, please do
Comment 5 Pierre 2008-09-01 20:07:59 UTC
# python-updater 
 * Starting Python Updater from 2.4 to 2.5 :
 *   Adding to list: =dev-python/PyQt-3.17.4
[...]
 *   Adding to list: =dev-python/PyQt4-4.3.3
[...]

ok it seems that this packages have to be re-emerged
Comment 6 Santiago M. Mola (RETIRED) gentoo-dev 2008-09-02 10:13:57 UTC
So this is just PyQt missing for current python. Reopen if the problem persists after reinstalling PyQt successfully. Thanks.
Comment 7 Pierre 2008-09-03 20:41:59 UTC
ok after the re-emerging the package doesn't make any error anymore