iotop requires kernel features (CONFIG_TASK_IO_ACCOUNTING) at *runtime* the check of that feature being present at build time is painful and unnecessary a warning would be fine, though. Reproducible: Always Steps to Reproduce: 1. ensure your running kernel has not the required option 2. emerge iotop 3. Actual Results: * Messages for package sys-process/iotop-0.2: * CONFIG_TASK_IO_ACCOUNTING: is not set when it should be. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. * Once you have satisfied these options, please try merging * this package again. Expected Results: A warning is printed about the missing option, and the emerge still installs the software. I commented the check in the ebuild: #CONFIG_CHECK="TASK_IO_ACCOUNTING TASKSTATS" and the application emerged properly. and running iotop then has exactly the check needed: # iotop Could not run iotop as some of the requirements are not met: - Python >= 2.5 for AF_NETLINK support: Found - Linux >= 2.6.20 with I/O accounting support: Not found The ebuild check is absolutely superfluous and getting in the way.
Created attachment 158841 [details, diff] fixing the bug by cmmenting the check this patch comments the superfluous check and allowed me to emerge iotop even with a kernel that don't have the required option...
Maybe you want to do the same for this one? * CONFIG_TASKSTATS: is not set when it should be.
(In reply to comment #2) > Maybe you want to do the same for this one? > * CONFIG_TASKSTATS: is not set when it should be. Hmm, forget about it, you did comment the full check and not only CONFIG_TASK_IO_ACCOUNTING. I should wear my glasses on wakeup and read more carefully. Sorry!
What value is there in this? Having an unrunnable package installed doesn't have a lot of use to me. Are you going to forget you wanted to install it between now and rebuilding your kernel?
What could I add to the original bug report ? The install-time check is not needed, it adds no value to the already existing runtime one.
Other people asked for this too, so I'm just warning now.