When testing this package with FEATURES="test" it re-runs the configure phase again, supposedly with pre-defined ./configure settings which in return breaks ebuild behaviour. This is the outcome: * The ebuild is installing to one or more unexpected paths: * * /usr/local * * Please fix the ebuild to use correct FHS/Gentoo policy paths. >: equery f motion | grep /local/ /usr/local/bin /usr/local/bin/motion /usr/local/etc /usr/local/etc/motion /usr/local/etc/motion/camera1-dist.conf /usr/local/etc/motion/camera2-dist.conf /usr/local/etc/motion/camera3-dist.conf /usr/local/etc/motion/camera4-dist.conf /usr/local/etc/motion/motion-dist.conf /usr/local/share /usr/local/share/locale /usr/local/share/locale/fi /usr/local/share/locale/fi/LC_MESSAGES /usr/local/share/locale/fi/LC_MESSAGES/motion.mo /usr/local/share/locale/sv /usr/local/share/locale/sv/LC_MESSAGES /usr/local/share/locale/sv/LC_MESSAGES/motion.mo /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/man/man1/motion.1 Please look into fixing the test phase.