Created attachment 863496 [details] emerge --info I am building Gentoo in a chroot on an Ubuntu system, but I don't think it matters in this case, as it's just the MCS policy that seems to be missing: ============================================= Makefile:8: /usr/share/selinux/mcs/include/Makefile: No such file or directory make: *** No rule to make target '/usr/share/selinux/mcs/include/Makefile'. Stop. =============================================
Created attachment 863497 [details] build.log
This can happen if you are switching policy types without rebuilding the selinux-base package first. When this package is installed, it reads POLICY_TYPES from make.conf and installs the needed policy dependencies in /usr/share/selinux/<policy>. If 'mcs' is not specified in POLICY_TYPES, then the required files for the mcs policy won't be installed. Generally speaking when you are doing whole policy updates or rebuilds, it's a good idea to just merge the entire @selinux-rebuild set which pulls in everything correctly.