Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341457 - eric-5.0.2 fails on sip module API mismatch
Summary: eric-5.0.2 fails on sip module API mismatch
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-17 14:09 UTC by Guy
Modified: 2011-02-12 12:15 UTC (History)
0 users

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 Guy 2010-10-17 14:09:10 UTC
As per instructions in error log, I also emailed the indicated address in the log.

emerge eric
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-util/eric-5.0.2
 * eric5-5.0.2.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                        [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                       [ ok ]
 * Package:    dev-util/eric-5.0.2
 * Repository: gentoo
 * Maintainer: qt@gentoo.org python@gentoo.org
 * USE:  amd64 elibc_glibc kernel_linux multilib spell userland_GNU
>>> Unpacking source...
>>> Unpacking eric5-5.0.2.tar.gz to /var/tmp/portage/dev-util/eric-5.0.2/work
>>> Source unpacked in /var/tmp/portage/dev-util/eric-5.0.2/work
>>> Preparing source in /var/tmp/portage/dev-util/eric-5.0.2/work/eric5-5.0.2 ...
 * Applying eric-5.0.2-remove_coverage.patch ...                                                                                                                             [ ok ]
[Desktop Entry]
X-SuSE-translate=true
Type=Application
Exec=eric5
MimeType=application/x-eric5;
Icon=eric5
Terminal=false
Name=eric5
Name[de]=eric5
GenericName=Integrated Development Environment for Python
GenericName[de]=Integrierte Entwicklungsumgebung für Python
Categories=Qt;Python;Development;IDE;

>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-util/eric-5.0.2/work/eric5-5.0.2 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-util/eric-5.0.2/work/eric5-5.0.2 ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-util/eric-5.0.2

>>> Install eric-5.0.2 into /var/tmp/portage/dev-util/eric-5.0.2/image/ category dev-util
 * Installation of dev-util/eric-5.0.2 with CPython 3.1...
Checking dependencies
Python Version: 3.1.2
Found PyQt
An internal error occured.  Please report all the output of the program,
including the following traceback, to eric5-bugs@eric-ide.python-projects.org.

Traceback (most recent call last):
  File "install.py", line 871, in <module>
    main(sys.argv)
  File "install.py", line 785, in main
    doDependancyChecks()
  File "install.py", line 562, in doDependancyChecks
    from PyQt4 import Qsci
RuntimeError: the sip module implements API v8.0 but the PyQt4.Qsci module requires API v7.1
 * ERROR: dev-util/eric-5.0.2 failed:
 *   Installation failed with CPython 3.1 in installation() function
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_install
 *   environment, line 4598:  Called python_execute_function 'installation'
 *   environment, line 3290:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 * 
 * If you need support, post the output of 'emerge --info =dev-util/eric-5.0.2',
 * the complete build log and the output of 'emerge -pqv =dev-util/eric-5.0.2'.
 * The complete build log is located at '/var/tmp/portage/dev-util/eric-5.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/eric-5.0.2/temp/environment'.
 * S: '/var/tmp/portage/dev-util/eric-5.0.2/work/eric5-5.0.2'

>>> Failed to emerge dev-util/eric-5.0.2, Log file:

>>>  '/var/tmp/portage/dev-util/eric-5.0.2/temp/build.log'
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-10-17 16:53:40 UTC
You failed to upgrade/reinstall dev-python/PyQt4 after upgrade of dev-python/sip.
Comment 2 Guy 2010-10-19 02:15:13 UTC
Hello,

I'm apologize in advance because I'm sure there must be something I'm not getting, but I really don't understand what I need to do.

I have indeed re-emerged PyQt4-4.4.7 several times. I've also run a clean 'revdep-rebuild' several times. But I'm still having a problem.

In the output fragment below, I've re-emerged PyQt4 and then immediately tried to emerge eric with the same failure. Could you please let me know what I'm missing?

Best regards.



>>> Installing (1 of 1) dev-python/PyQt4-4.7.7-r1
 * Compilation and optimization of Python modules for CPython 2.6 ...                          [ ok ]
 * Compilation and optimization of Python modules for CPython 3.1 ...                          [ ok ]
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
pyrotekk ~ # emerge eric
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-util/eric-5.0.2
 * eric5-5.0.2.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                          [ ok ]
 * checking ebuild checksums ;-) ...                                                           [ ok ]
 * checking auxfile checksums ;-) ...                                                          [ ok ]
 * checking miscfile checksums ;-) ...                                                         [ ok ]
 * Package:    dev-util/eric-5.0.2
 * Repository: gentoo
 * Maintainer: qt@gentoo.org python@gentoo.org
 * USE:  amd64 elibc_glibc kernel_linux multilib spell userland_GNU
>>> Unpacking source...
>>> Unpacking eric5-5.0.2.tar.gz to /var/tmp/portage/dev-util/eric-5.0.2/work
>>> Source unpacked in /var/tmp/portage/dev-util/eric-5.0.2/work
>>> Preparing source in /var/tmp/portage/dev-util/eric-5.0.2/work/eric5-5.0.2 ...
 * Applying eric-5.0.2-remove_coverage.patch ...                                               [ ok ]
[Desktop Entry]
X-SuSE-translate=true
Type=Application
Exec=eric5
MimeType=application/x-eric5;
Icon=eric5
Terminal=false
Name=eric5
Name[de]=eric5
GenericName=Integrated Development Environment for Python
GenericName[de]=Integrierte Entwicklungsumgebung für Python
Categories=Qt;Python;Development;IDE;

>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-util/eric-5.0.2/work/eric5-5.0.2 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-util/eric-5.0.2/work/eric5-5.0.2 ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-util/eric-5.0.2

>>> Install eric-5.0.2 into /var/tmp/portage/dev-util/eric-5.0.2/image/ category dev-util
 * Installation of dev-util/eric-5.0.2 with CPython 3.1...
Checking dependencies
Python Version: 3.1.2
Found PyQt
An internal error occured.  Please report all the output of the program,
including the following traceback, to eric5-bugs@eric-ide.python-projects.org.

Traceback (most recent call last):
  File "install.py", line 871, in <module>
    main(sys.argv)
  File "install.py", line 785, in main
    doDependancyChecks()
  File "install.py", line 562, in doDependancyChecks
    from PyQt4 import Qsci
RuntimeError: the sip module implements API v8.0 but the PyQt4.Qsci module requires API v7.1
 * ERROR: dev-util/eric-5.0.2 failed:
 *   Installation failed with CPython 3.1 in installation() function
 * 
Comment 3 Guy 2010-10-19 02:27:04 UTC
Nevermind - I made a lucky guess and figured it out. It's not PyQT4 which needed re-compiling it was either one of or both of these:

# emerge qscintilla qscintilla-python

I re-compiled both.

Best regards.

Comment 4 Buggy B. 2011-02-12 12:15:09 UTC
(In reply to comment #3)
> Nevermind - I made a lucky guess and figured it out. It's not PyQT4 which
> needed re-compiling it was either one of or both of these:
> 
> # emerge qscintilla qscintilla-python
> 
> I re-compiled both.
> 
Thanks a lot for this, also works with dev-util/eric-4.4.12 ! =)