Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262352 - net-print/hplip should depend on python with USE="threads"
Summary: net-print/hplip should depend on python with USE="threads"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Denis Dupeyron (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-13 16:49 UTC by Andrew Savchenko
Modified: 2009-05-28 20:05 UTC (History)
3 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 Andrew Savchenko gentoo-dev 2009-03-13 16:49:30 UTC
If python is compiled without USE="threads", some hplip utilities will fail, expample follows:

hp-check -h
Traceback (most recent call last):
  File "/usr/bin/hp-check", line 35, in <module>
    from base.g import *
  File "/usr/share/hplip/base/g.py", line 35, in <module>
    import logger
  File "/usr/share/hplip/base/logger.py", line 24, in <module>
    import thread # TODO: Use threading instead (thread deprecated
in Python 3.0)
ImportError: No module named thread

My hplip setup is:
$ eix hplip
[I] net-print/hplip
     Available versions:  2.8.6b (~)2.8.7 {cupsddk dbus doc fax gtk minimal parport ppds qt3 qt4 scanner snmp}
     Installed versions:  2.8.7(07:50:28 19.08.2008)(doc ppds scanner -cupsddk -dbus -fax -gtk -minimal -parport -qt3 -qt4 -snmp)
     Homepage:            http://hplip.sourceforge.net/
     Description:         HP Linux Imaging and Printing System. Includes net-print/hpijs, scan

Perhaps, the only exeption should be USE="minimal".
Comment 1 Yar Odin 2009-05-01 06:54:45 UTC
Thanx, fixed at 3.9.4b ebuild http://bugs.gentoo.org/show_bug.cgi?id=267546 
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-28 20:05:35 UTC
Should be fixed in 3.9.4b.