Description of problem: iotop rpm package is not functional Version-Release number of selected component (if applicable): 2_b3 fresh install iotop-0.4.4-1.mga2.noarch.rpm How reproducible: Steps to Reproduce: 1.install iotop 2.try to use it ... and see the error message installation de iotop-0.4.4-1.mga2.noarch.rpm depuis /var/cache/urpmi/rpms Préparation... ################################################################# 1/1: iotop ################################################################# [XXX@localhost ~]$ iotop No module named _curses To run an uninstalled copy of iotop, launch iotop.py in the top directory
Currently _curses module isn't build when building latest python. A snippet from python build log: ====== Python build finished, but the necessary bits to build these modules were not found: bsddb185 sunaudiodev To find the necessary bits, look in setup.py in detect_modules() for the module's name. Failed to build these modules: _curses _curses_panel ======
CC: (none) => fundawang, jani.valimaa
It seems python build doesn't know from where to look for curses.h header file coming from ncursesw-devel pkg. More detailed error msg: In file included from /home/iurt/rpm/BUILD/Python-2.7.3/Modules/_cursesmodule.c:114:0: Include/py_curses.h:50:20: fatal error: curses.h: No such file or directory compilation terminated. In file included from /home/iurt/rpm/BUILD/Python-2.7.3/Modules/_curses_panel.c:15:0: Include/py_curses.h:50:20: fatal error: curses.h: No such file or directory compilation terminated.
Summary: iotop-0.4.4-1.mga2.noarch.rpm is not functional => _curses module is missing from latest pythonSource RPM: (none) => python-2.7.3-1.mga2.src.rpm
*** Bug 5547 has been marked as a duplicate of this bug. ***
CC: (none) => scott
Should be fixed in -2.mga2
Status: NEW => RESOLVEDResolution: (none) => FIXED
Confirmed that -2.mga2 (x86_64) fixes the problem. Thanks!