emerge lirc gives at the end of emerging these warrning: >>> Completed installing lirc-0.7.2 into /var/tmp/portage/lirc-0.7.2/image/ cp: cannot stat `//etc/lircd.conf': No such file or directory and when start lircmd, it complains about the missing file * Starting lircd ... [ ok ] * Starting lircmd ... lircmd 0.7.2: could not open config file lircmd 0.7.2: No such file or directory i personally think these lines in the ebuild are causing this: pkg_preinst() { cp ${ROOT}/etc/lircd.conf ${IMAGE}/etc } would be nice if this gets fixed, an lircd.conf file is located in the tar.bz2 in the contrib directory perhaps this can be used. and this problem occuors with all lirc versions in portage Reproducible: Always Steps to Reproduce: 1. 2. 3.
as far as i see you have to generate your own lircd.conf because it's difference for each remote control
but then there should be a notice to do it at the end of the ebuild and the pkg_preinst should be removed.
Not correct Mike. Certain drivers come with pre-configured lircd.conf files which is why that line is there. Fix for this error is available in bug #111820.
Fixed in 0.8.0_pre3