Hello. I have www-plugins/gnash-0.8.10_p20120903 intalled with `vaapi` and `ffmpeg` USEs disabled, but now I wish to try it with vaapi. Therefore I enable USEs mentioned above and this results in gnash failing to build with the following error: ../libbase/.libs/libgnashbase.so: undefined reference to `gnash::VaapiSurfaceGLX::update(boost::shared_ptr<gnash::VaapiSurface>)' ../libbase/.libs/libgnashbase.so: undefined reference to `gnash::VaapiSurfaceGLX::VaapiSurfaceGLX(unsigned int, unsigned int)' ../libbase/.libs/libgnashbase.so: undefined reference to `gnash::GnashTexture::GnashTexture(unsigned int, unsigned int, gnash::image::ImageType)' ../libbase/.libs/libgnashbase.so: undefined reference to `typeinfo for gnash::GnashTexture' ../libbase/.libs/libgnashbase.so: undefined reference to `gnash::GnashTexture::~GnashTexture()' Reproducible: Always
Created attachment 340574 [details] emerge --info gnash As I've mentioned above I also add `vaapi` and `ffmpeg` to the set of enabled USEs in addition to that in this attachment
Created attachment 340576 [details] build.log
Created attachment 340578 [details] build.log with `kde` USE disabled Since the error in a previous build.log was related to qt4 stuff I've decided to try and build gnash without `kde` USE. Now, the error message is different: /var/tmp/portage/www-plugins/gnash-0.8.10_p20120903/work/gnash-0.8.10_p20120903/libbase/.libs/libgnashbase.so: undefined reference to `gnash::VaapiSurfaceGLX::update(boost::shared_ptr<gnash::VaapiSurface>)' /var/tmp/portage/www-plugins/gnash-0.8.10_p20120903/work/gnash-0.8.10_p20120903/libbase/.libs/libgnashbase.so: undefined reference to `gnash::VaapiSurfaceGLX::VaapiSurfaceGLX(unsigned int, unsigned int)' /var/tmp/portage/www-plugins/gnash-0.8.10_p20120903/work/gnash-0.8.10_p20120903/libbase/.libs/libgnashbase.so: undefined reference to `gnash::GnashTexture::GnashTexture(unsigned int, unsigned int, gnash::image::ImageType)' /var/tmp/portage/www-plugins/gnash-0.8.10_p20120903/work/gnash-0.8.10_p20120903/libbase/.libs/libgnashbase.so: undefined reference to `typeinfo for gnash::GnashTexture' /var/tmp/portage/www-plugins/gnash-0.8.10_p20120903/work/gnash-0.8.10_p20120903/libbase/.libs/libgnashbase.so: undefined reference to `gnash::GnashTexture::~GnashTexture()'
I am unable to reproduce this issue here. What are the version/USE flags of your libva?
Created attachment 343562 [details] emerge --info libva I am using latest libva (bumped to 1.1.1 recently) and latest libva-intel-driver (1.0.20). I've attached the output of `emerge --info libva`
The only difference I can see is that on your system USE="gstreamer" is enabled. Does it affect the build error if you disable that?
(In reply to comment #6) > The only difference I can see is that on your system USE="gstreamer" is > enabled. Does it affect the build error if you disable that? Nope, disabling gstreamer USE doesn't help, build still fails at the same point.
No idea then. Do you have anything installed to /usr/local by chance?
(In reply to comment #8) > No idea then. Do you have anything installed to /usr/local by chance? No, I don't. A long time ago I had gnash built with vaapi and ffmpeg, but then I've decided to switch to gstreamer as gnash won't play Youtube videos with resolution >= 720p with ffmpeg backend. Now, I've decided to play around a bit with vaapi again and this build error happens.
(In reply to comment #8) > No idea then. Do you have anything installed to /usr/local by chance? I'll try to build from gnash git repo sometime later, maybe it'll help. I'll post the results back here.
Related upstream bugs: https://savannah.gnu.org/bugs/?func=detailitem&item_id=36959 https://savannah.gnu.org/bugs/?func=detailitem&item_id=35612
Latest git fails to build with same error :(
Still an issue with the latest snapshot, i.e. www-plugins/gnash-0.8.10_p20130822
Still an issue with the latest snapshot, i.e. www-plugins/gnash-0.8.10_p20131019.
Confirming bug on the latest gnash version on ~amd64
I also confirm this bug. It just built without errors when using USE="-vaapi" and it always fails with vaapi enabled. The thing is, I had to rebuild gnash because of the recent update of mysql. So at one point www-plugins/gnash-0.8.10_p20131019 was building fine with vaapi enabled…
I’ve checked my logs. www-plugins/gnash-0.8.10_p20131019 built successfully on January 27th 2014 with USE="X agg cairo dbus dump egl ffmpeg gconf gstreamer gtk harden jemalloc kde mysql nls nsplugin opengl python sdl sdl-sound ssh ssl vaapi" On February 4th 2014 I updated x11-libs/libva from 1.1.1 to 1.1.1-r1. On March 20th 2014 I updated to x11-libs/libva-1.2.1-r1. On April 4th 2014 I updated to x11-libs/libva-1.3.0 and finally on July 12th 2014 I updated to x11-libs/libva-1.3.1. This leads me into thinking that gnash will build with libva-1.1.1, but not with libva-1.3.1. If someone is willing to investigate, please try a downgrade of x11-libs/libva to version 1.1.1-r1… but maybe 1.2.1-r1 also works… both are still in the tree.
Should be fixed in 0.8.10_p20150316, please reopen if it is not.