The ebuild doesn't check if koutput is set on kernels = 2.6.x, but does directly involve kmod_make_linux_writable. As an result of this setting the koutput-directory, as writen in the error-msg won't change anything. (kernel-source: gentoo-dev-source-2.6.7-r11) Reproducible: Always Steps to Reproduce: 1.ACCEPT_KEYWORDS="~x86" emerge lirc 2. 3. Actual Results: The build fails saying to set the koutput dir or make /usr/src/linux writeable, even if koutput is set. Expected Results: emerge w/o errors Changing the lines: if is_kernel 2 6; then kmod_make_linux_writable fi to: if is_kernel 2 6; then if ! is_koutput; then kmod_make_linux_writable fi fi solves this problem and emerges as expected
fixed :)