I receive following message: * Messages for package app-emulation/lxc-1.1.0-r2: * Unable to calculate Linux Kernel version for build, attempting to use running version * CONFIG_RESOURCE_COUNTERS: is not set when it should be. But the following command has empty output: # grep -R RESOURCE_COUNTERS /usr/src/linux-3.19.0-gentoo/ | grep -v defconfig
I can confirm that CONFIG_RESOURCE_COUNTERS option is indeed gone form 3.19 kernel. I believe it was replaced by PAGE_COUNTER and is automatically selected by the following: MEMCG [=y] && CGROUPS [=y] || CGROUP_HUGETLB [=n] && CGROUPS [=y] && HUGETLB_PAGE [=y].
It has been actually removed by 5b1efc027c0b51ca3e76f4e00c83358f8349f543 in v3.19-rc1. It does not seem it has been replaced by anything else so I will probably drop this check from the ebuilds.
+ 20 Mar 2015; Markos Chandras <hwoarang@gentoo.org> -lxc-1.1.0-r2.ebuild, + -lxc-1.1.0-r3.ebuild, -lxc-1.1.0-r4.ebuild, lxc-1.1.0-r5.ebuild, + lxc-1.1.1.ebuild: + Drop obsolete RESOURCE_COUNTERS check. Bug #540980 + + LKML: https://lkml.org/lkml/2014/10/13/498 + Commit: 5b1efc027c0b51ca3e76f4e00c83358f8349f543 +