phpsysinfo-2.1-r2.ebuild needs to check the current kernel version. At the moment it does: kernel-mod_is_2_4_kernel kernel-mod_is_2_5_kernel kernel-mod_is_2_6_kernel Which is a bit wasteful as each of those calls kernel-mod_getversion and produces the same output on the screen three times over. So ... fix kernel-mod-getversion to cache consecutive queries? Ignore it as phpsysinfo-2.2 looks like it might not need it, or fix it as in the attached patch? Any comments would be welcome. :-) Reproducible: Always Steps to Reproduce: 1. emerge phpsysinfo-2.1-r2 2. Watch for repeated 'Building for Linux 2.x.x found in /usr/src/linux' lines
Created attachment 35018 [details, diff] Uses kernel-mod_getversion directly
stuart: this should cease to be a problem when you fix the kernel stuff in phpsysinfo as you are doing.
latest ebuild no longer uses this functions.