Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291799 - dev-util/eric-4.3.8 fails to install - "the sip module implements API v6.0 but the PyQt4.Qsci module requires API v4.0"
Summary: dev-util/eric-4.3.8 fails to install - "the sip module implements API v6.0 bu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 304215 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-04 02:30 UTC by Alec Meyers
Modified: 2010-02-10 11:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Meyers 2009-11-04 02:30:00 UTC
dev-util/eric-4.3.8 fails to install

Reproducible: Always

Steps to Reproduce:
1. emerge eric

Actual Results:  
>>> Install eric-4.3.8 into /var/tmp/portage/dev-util/eric-4.3.8/image/ category dev-util
 * Installation of dev-util/eric-4.3.8 with Python 2.6...                                
An internal error occured.  Please report all the output of the program,                 
including the following traceback, to eric4-bugs@die-offenbachs.de.                      

Traceback (most recent call last):
  File "install.py", line 754, in <module>
    main(sys.argv)
  File "install.py", line 694, in main
    doDependancyChecks()
  File "install.py", line 507, in doDependancyChecks
    from PyQt4 import Qsci
RuntimeError: the sip module implements API v6.0 but the PyQt4.Qsci module requires API v4.0
 * ERROR: dev-util/eric-4.3.8 failed:
 *   Installation failed with Python 2.6 in installation() function
 *
 * Call stack:
 *     ebuild.sh, line   49:  Called src_install
 *   environment, line 3021:  Called python_execute_function 'installation'
 *   environment, line 2676:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";


# emerge --info                                  
Portage 2.2_rc48 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31.5 i686)
=================================================================                                                                                                                
System uname: Linux-2.6.31.5-i686-Intel-R-_Core-TM-2_CPU_T5300_@_1.73GHz-with-gentoo-2.0.1                                                                                       
Timestamp of tree: Tue, 03 Nov 2009 22:20:01 +0000                                                                                                                               
app-shells/bash:     4.0_p35                                                                                                                                                     
dev-java/java-config: 2.1.9-r1                                                                                                                                                   
dev-lang/python:     2.6.4                                                                                                                                                       
dev-util/cmake:      2.6.4-r3                                                                                                                                                    
sys-apps/baselayout: 2.0.1                                                                                                                                                       
sys-apps/openrc:     0.5.2-r1                                                                                                                                                    
sys-apps/sandbox:    2.2                                                                                                                                                         
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS=" -O2 -march=native -pipe -fomit-frame-pointer -fno-ident -ggdb -floop-interchange -floop-strip-mine -floop-block"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS=" -O2 -march=native -pipe -fomit-frame-pointer -fno-ident -ggdb -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests candy distlocks fixpackages metadata-transfer news preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans"
GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.netnitco.net http://gentoo.chem.wisc.edu/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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/tree/official"
PORTDIR_OVERLAY="/usr/portage/tree/layman/Spring /usr/portage/tree/local"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aio alsa audiofile avahi avi bash-completion berkdb bitmap-fonts branding bzip2 cairo cdparanoia cdr chm cli cracklib crypt css cups curl custom-optimization daap dbus dell dirac dri dts dvd dvdr dvdread emboss encode evo exif expat fam fame ffmpeg firefox flac foomaticdb gdbm gif gmp gpm gtk iconv icu imagemagick imlib inotify java5 java6 jpeg kde kdeenablefinal kdehiddenvisibility laptop latex lcms logrotate lqr lzma lzo mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap musepack ncurses npp nptl nptlonly nsplugin nvidia ogg opengl openmp pam pch pcre pdf perl plasma png ppds pppd python qt qt3support qt4 quicktime rar rdesktop readline reflection resolvconf samba schroedinger sdl session slang sndfile speex spell spl sqlite sqlite3 srt sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads thunar tiff truetype unicode usb userlocales v4l v4l2 vcd videos vorbis webkit wifi win32codecs wmf x264 x86 xcb xcomposite xml xorg xscreensaver xulrunner xv xvid xvmc xz zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" QEMU_SOFTMMU_TARGETS="arm ppc x86_64" QEMU_USER_TARGETS="arm x86_64" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Dror Levin (RETIRED) gentoo-dev 2009-11-08 22:32:06 UTC
Please report your installed versions of dev-python/sip, dev-python/PyQt4 and dev-python/qscintilla-python, and try to re-emerge them and see if that fixes the problem.
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2009-11-08 23:03:00 UTC
Alec, you must re-emerge qscintilla-python.

Qt herd, with sip breaking API at every minor release, we will continue to see (invalid) reports like this one over and over again... time to put an ewarn somewhere? (note that this issue affects pykde4 too)
Comment 3 Alec Meyers 2009-11-08 23:44:29 UTC
(In reply to comment #2)
> Alec, you must re-emerge qscintilla-python.

Thanks!
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2009-11-08 23:45:50 UTC
(In reply to comment #2)
> Qt herd, with sip breaking API at every minor release, we will continue to see
> (invalid) reports like this one over and over again... time to put an ewarn
> somewhere? 

Agreed, which package do you think is best to put this in? sip itself?
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2009-11-08 23:55:32 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > Qt herd, with sip breaking API at every minor release, we will continue to see
> > (invalid) reports like this one over and over again... time to put an ewarn
> > somewhere? 
> 
> Agreed, which package do you think is best to put this in? sip itself?
> 

I suggest dev-python/sip, since it's sip upgrade that breaks things :)
Comment 6 DaggyStyle 2009-11-10 05:33:44 UTC
same issue with 4.3.9, the output is RuntimeError: the sip module implements API v6.0 but the PyQt4.Qsci module requires API v5.0
Comment 7 Ben de Groot (RETIRED) gentoo-dev 2009-11-10 17:36:52 UTC
I've added a warning to >=sip-4.8.2-r1
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-02-10 11:49:54 UTC
*** Bug 304215 has been marked as a duplicate of this bug. ***