On 02/18/2017 12:41 PM, Mick wrote: > I'm stuck on this problem today. I ran @preserved-rebuild and this pops up: > > # required by @preserved-rebuild (argument) > # /usr/portage/profiles/package.mask: > # Mart Raudsepp <l...@gentoo.org> (16 Feb 2017) > # Old gstreamer 0.10 version, which is security vulnerable. > # Use gstreamer:1.0 with media-plugins/gst-plugins-libav > # instead (despite the name, it uses media-video/ffmpeg too). > # Masked for removal in 30 days. Bug #594878 > =media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r5 > > It then asks me to add gst-plugins-ffmpeg to package.unmask, which I allow it > to do. Continuing with @preserved-rebuild then it fails like so: > ================================================================ > /data/tmp_var/portage/media-plugins/gst-plugins-ffmpeg-0.10.13_p201211- > r5/work/gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegcodecmap.c:2590:32: > error: 'PIX_FMT_YUVA420P' undeclared (first use in this function) > context->pix_fmt = PIX_FMT_YUVA420P; > ^ > /data/tmp_var/portage/media-plugins/gst-plugins-ffmpeg-0.10.13_p201211- > r5/work/gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegcodecmap.c:2593:32: > error: 'PIX_FMT_YUV411P' undeclared (first use in this function) > context->pix_fmt = PIX_FMT_YUV411P; > ^ > /data/tmp_var/portage/media-plugins/gst-plugins-ffmpeg-0.10.13_p201211- > r5/work/gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegcodecmap.c:2596:32: > error: 'PIX_FMT_YUV422P' undeclared (first use in this function) > context->pix_fmt = PIX_FMT_YUV422P; > ^ > /data/tmp_var/portage/media-plugins/gst-plugins-ffmpeg-0.10.13_p201211- > r5/work/gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegcodecmap.c:2599:32: > error: 'PIX_FMT_YUV410P' undeclared (first use in this function) > context->pix_fmt = PIX_FMT_YUV410P; > ^ > make[3]: *** [Makefile:544: libgstffmpeg_la-gstffmpegcodecmap.lo] Error 1 > make[3]: Leaving directory '/data/tmp_var/portage/media-plugins/gst-plugins- > ffmpeg-0.10.13_p201211-r5/work/gst-ffmpeg-0.10.13_p201211- > abi_x86_64.amd64/ext/ffmpeg' > make[2]: *** [Makefile:389: all-recursive] Error 1 > make[2]: Leaving directory '/data/tmp_var/portage/media-plugins/gst-plugins- > ffmpeg-0.10.13_p201211-r5/work/gst-ffmpeg-0.10.13_p201211- > abi_x86_64.amd64/ext' > make[1]: *** [Makefile:482: all-recursive] Error 1 > make[1]: Leaving directory '/data/tmp_var/portage/media-plugins/gst-plugins- > ffmpeg-0.10.13_p201211-r5/work/gst-ffmpeg-0.10.13_p201211-abi_x86_64.amd64' > make: *** [Makefile:410: all] Error 2 > * ERROR: media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r5::gentoo failed > (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-plugins/gst- > plugins-ffmpeg-0.10.13_p201211-r5::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-plugins/gst- > plugins-ffmpeg-0.10.13_p201211-r5::gentoo'`. > * The complete build log is located at '/var/log/portage/media-plugins:gst- > plugins-ffmpeg-0.10.13_p201211-r5:20170218-094809.log'. > * The ebuild environment file is located at '/data/tmp_var/portage/media- > plugins/gst-plugins-ffmpeg-0.10.13_p201211-r5/temp/environment'. > * Working directory: '/data/tmp_var/portage/media-plugins/gst-plugins- > ffmpeg-0.10.13_p201211-r5/work/gst-ffmpeg-0.10.13_p201211-abi_x86_64.amd64' > * S: '/data/tmp_var/portage/media-plugins/gst-plugins-ffmpeg-0.10.13_p201211- > r5/work/gst-ffmpeg-0.10.13_p201211' > ==================================== > > So, what now? Am I supposed to remove/rebuild anything manually? The > gst-plugins-ffmpeg package does not seem to have any reverse dependencies: > =========================================================== > # emerge --depclean -p -v media-plugins/gst-plugins-ffmpeg > Calculating dependencies... done! >>>> Calculating removal order... >>>> These are the packages that would be unmerged: > > media-plugins/gst-plugins-ffmpeg > selected: 0.10.13_p201211-r5 > protected: none > omitted: none > > All selected packages: =media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r5 > >>>> 'Selected' packages are slated for removal. >>>> 'Protected' and 'omitted' packages will not be removed. > ===================================================== >
---->gst-plugins-ffmpeg v1.8.3 / 1.10.3 doesn't work with ffmpeg at all, period. Did you try this? > # Old gstreamer 0.10 version, which is security vulnerable. > # Use gstreamer:1.0 with media-plugins/gst-plugins-libav > # instead (despite the name, it uses media-video/ffmpeg too). You might have to adjust the use flags on "media-video/ffmpeg". media-video/ffmpeg USE = +static-libs +postproc :)