Building gstreamer-0.10.36-r2 in prefix gives, during the install phase: >>> Completed installing gstreamer-0.10.36-r2 into /local/gentoo-redlizard/var/tmp/portage/media-libs/gstreamer-0.10.36-r2/image/ strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version usr/lib/gstreamer-0.10/libgstcoreindexers.so usr/lib/gstreamer-0.10/libgstcoreelements.so usr/bin/gst-inspect-0.10 usr/bin/gst-launch-0.10 usr/bin/gst-xmllaunch-0.10 usr/bin/gst-typefind-0.10 usr/lib/libgstreamer-0.10.so.0.30.0 usr/bin/gst-xmlinspect-0.10 usr/lib/libgstbase-0.10.so.0.30.0 usr/lib/libgstcontroller-0.10.so.0.30.0 usr/lib/libgstdataprotocol-0.10.so.0.30.0 usr/lib/libgstcheck-0.10.so.0.30.0 usr/lib/libgstnet-0.10.so.0.30.0 ecompressdir: bzip2 -9 /usr/share/man ecompressdir: bzip2 -9 /usr/share/doc ^[[33;01m*^[[0m QA Notice: the following files are outside of the prefix: ^[[33;01m*^[[0m /usr ^[[33;01m*^[[0m /usr/lib ^[[33;01m*^[[0m /usr/lib/gstreamer-0.10 ^[[33;01m*^[[0m /usr/lib/gstreamer-0.10/gst-plugin-scanner ^[[31;01m*^[[0m ERROR: media-libs/gstreamer-0.10.36-r2::gentoo_prefix failed: ^[[31;01m*^[[0m Aborting due to QA concerns: there are files installed outside the prefix The problem seems to be with the GST_PLUGIN_SCANNER_INSTALLED variable $ grep GST_PLUGIN_SCANNER_INSTALLED config.log GST_PLUGIN_SCANNER_INSTALLED='/usr/lib/gstreamer-0.10/gst-plugin-scanner' #define GST_PLUGIN_SCANNER_INSTALLED "/usr/lib/gstreamer-0.10/gst-plugin-scanner" which is set in configure.ac by AS_AC_EXPAND(GST_PLUGIN_SCANNER_INSTALLED,${libexecdir}/gstreamer-$GST_MAJORMINOR/gst-plugin-scanner) This seems to fix things in the ebuild: < --libexecdir=/usr/$(get_libdir) \ --- > --libexecdir=${EPREFIX}/usr/$(get_libdir) \
+ 12 Jul 2014; Michał Górny <mgorny@gentoo.org> gstreamer-0.10.36-r2.ebuild, + gstreamer-1.2.4-r2.ebuild: + Fix Prefix install, bug #516932. Thanks to Steven Trogdon for the fix.