Hello, The makefile app-laptop/tp_smapi-0.40-r1, the latest version marked stable on both amd64 and x86, searches for the header file $(KSRC)/include/linux/aio_abi.h. It seems this file was moved before the 3.7 kernel was released - it is now in $(KSRC)/include/uapi/linux/aio_abi.h. As a consequence trying to build tp_smapi fails with a "missing kernel headers" error. Now that gentoo-sources-3.7 have gone stable on amd64 and x86, this is a problem. The issue is strictly a problem with the test - if you bypass it one way or another tp_smapi builds and runs fine. It seems tp_smapi-0.41, also in Portage but marked unstable, doesn't suffer from this problem any more, as its makefile is rather different from that of 0.40. Haven't tried it yet, though. Either way, there are three possible solutions: change the test in 0.40 to search for the new path for newer kernels, change the test in 0.40 to use a different way of identifying kernel version, or just make 0.41 stable.
I can confirm 0.41 working on stable kernel 3.7.9 like a charm, this is on amd64.
I can confirm this problem with 0.40-r1 when I update to gentoo-sources' kernel 3.7.9 I have try 0.41, it working on stable kernel 3.7.9 on x86.
I have tp_smapi-0.41 running with gentoo-sources-3.8.0 on ~amd64 and everything works as expected
Lets stabilize the latest version then
+ 12 Mar 2013; Markos Chandras <hwoarang@gentoo.org> tp_smapi-0.41.ebuild: + Stable everywhere. Bug #458736 +