Only part of the Makefile, that installs cppcheck and cppcheck-htmlreport, is affected. Python part works fine. Reproducible: Always Steps to Reproduce: 1. Install Gentoo Prefix on any Linux system 2. Add appropriate keywords cat >>etc/portage/package.keywords <<EOFF ~dev-util/cppcheck-1.66 ** ~dev-libs/tinyxml2-2.1.0 ** EOFF 3. emerge cppcheck Actual Results: >>> Completed installing cppcheck-1.66 into /home/ahippo/gentoo/var/tmp/portage/dev-util/cppcheck-1.66/image/ * QA Notice: the following files are outside of the prefix: * /usr * /usr/bin * /usr/bin/cppcheck * /usr/bin/cppcheck-htmlreport * ERROR: dev-util/cppcheck-1.66::gentoo_prefix failed: * Aborting due to QA concerns: there are files installed outside the prefix * * Call stack: * misc-functions.sh, line 1191: Called install_qa_check * misc-functions.sh, line 187: Called source 'install_symlink_html_docs' * 05prefix, line 115: Called install_qa_check_prefix * 05prefix, line 27: Called die * The specific snippet of code: * die "Aborting due to QA concerns: there are files installed outside the prefix" * Expected Results: >>> Completed installing cppcheck-1.66 into /home/ahippo/gentoo/var/tmp/portage/dev-util/cppcheck-1.66/image/ strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version usr/bin/cppcheck ecompressdir: bzip2 -9 /usr/share/doc ecompressdir: bzip2 -9 /usr/share/man >>> Installing (1 of 1) dev-util/cppcheck-1.66::gentoo_prefix ...
Created attachment 391034 [details, diff] Proposed fix. Works for me.
+ 27 Feb 2015; Michael Weber <xmw@gentoo.org> cppcheck-1.66.ebuild, + cppcheck-1.67.ebuild: + Fix prefix installation (bug 531760, thanks Andrey Hippo) +
(In reply to Michael Weber from comment #2) > + 27 Feb 2015; Michael Weber <xmw@gentoo.org> cppcheck-1.66.ebuild, > + cppcheck-1.67.ebuild: > + Fix prefix installation (bug 531760, thanks Andrey Hippo) > + Thank you for resolving this!