Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516932 - media-libs/gstreamer-0.10.36-r2 fails in prefix with "QA Notice: the following files are outside of the prefix"
Summary: media-libs/gstreamer-0.10.36-r2 fails in prefix with "QA Notice: the followin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-12 05:02 UTC by Steven Trogdon
Modified: 2014-07-12 11:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Trogdon 2014-07-12 05:02:25 UTC
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) \
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-07-12 11:48:58 UTC
+  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.