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

Bug 389177

Summary: kde-base/system-config-printer-kde does fails to build
Product: Gentoo Linux Reporter: Andrew Udvare <audvare>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED WORKSFORME    
Severity: normal CC: asaf.gery
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
emerge --info

Description Andrew Udvare 2011-11-01 10:44:59 UTC
kde-base/system-config-printer-kde does not build and I noticed this in the configuration stage:

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * PyKDE4  <http://websvn.kde.org/trunk/KDE/kdebindings/python/pykde4/>
     PyKDE4 was not found.  It is needed by system-config-printer-kde to run.  (Use -DINSTALL_SYSTEM_CONFIG_PRINTER=TRUE to install anyway)

The build of system-config-printer-kde pretends to be successful, then fails to install.
Comment 1 Andrew Udvare 2011-11-01 10:45:46 UTC
Created attachment 291427 [details]
Build log
Comment 2 Andrew Udvare 2011-11-01 10:47:58 UTC
Created attachment 291429 [details]
emerge --info
Comment 3 Rafał Mużyło 2011-11-01 12:58:58 UTC
ImportError: No module named DLFCN

Your system is out of date - you need to update all of python slots.

Also, it seems you are mixing, so (in case the required versions aren't in stable yet) you need to check the ChangeLog to see which versions you need to keyword.

Though, it's uncertain if python slot 2.6 received full fix.
Comment 4 Maciej Mrozowski gentoo-dev 2011-11-01 13:07:09 UTC
Found Python version: 2.6.6

Is this really the case?
The issue you're reporting is apparently fixed in Python 2.7.2

Please try this.

See:
https://bugs.gentoo.org/show_bug.cgi?id=374579
Comment 5 Andrew Udvare 2011-11-01 22:14:50 UTC
No idea why it's mixing. I do not have anything related to python in package.keywords.

Regardless, I'm currently doing:
eselect python set python2.7
python-updater
emerge --depclean -av
revdep-rebuild
Comment 6 Andrew Udvare 2011-11-02 00:13:36 UTC
eselect python set python2.7
python-updater
emerge --depclean
revdep-rebuild
emerge system-config-printer-kde

Problem solved.
Comment 7 Maciej Mrozowski gentoo-dev 2011-11-02 18:30:42 UTC
INVALID is a bit harsh, WORKSFORME sounds better :)
Comment 8 Johannes Huber (RETIRED) gentoo-dev 2012-01-18 11:44:55 UTC
*** Bug 399261 has been marked as a duplicate of this bug. ***