Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459806 - www-plugins/gnash-0.8.10_p20120903 USE=vaapi - ../libbase/.libs/libgnashbase.so: undefined reference to `gnash::VaapiSurfaceGLX::update(boost::shared_ptr<gnash::VaapiSurface>)'
Summary: www-plugins/gnash-0.8.10_p20120903 USE=vaapi - ../libbase/.libs/libgnashbase...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL: https://savannah.gnu.org/bugs/?func=d...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-01 00:38 UTC by Coacher
Modified: 2015-03-26 15:04 UTC (History)
2 users (show)

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


Attachments
emerge --info gnash (info,10.54 KB, text/plain)
2013-03-01 00:41 UTC, Coacher
Details
build.log (build.log,66.00 KB, text/plain)
2013-03-01 00:46 UTC, Coacher
Details
build.log with `kde` USE disabled (build.log,66.04 KB, text/plain)
2013-03-01 01:43 UTC, Coacher
Details
emerge --info libva (info,5.44 KB, text/plain)
2013-03-28 21:46 UTC, Coacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2013-03-01 00:38:17 UTC
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
Comment 1 Coacher 2013-03-01 00:41:48 UTC
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
Comment 2 Coacher 2013-03-01 00:46:43 UTC
Created attachment 340576 [details]
build.log
Comment 3 Coacher 2013-03-01 01:43:19 UTC
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()'
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-03-28 21:41:38 UTC
I am unable to reproduce this issue here. What are the version/USE flags of your libva?
Comment 5 Coacher 2013-03-28 21:46:33 UTC
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`
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-03-28 22:00:02 UTC
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?
Comment 7 Coacher 2013-03-28 22:26:44 UTC
(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.
Comment 8 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-03-28 23:12:11 UTC
No idea then. Do you have anything installed to /usr/local by chance?
Comment 9 Coacher 2013-03-28 23:22:23 UTC
(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.
Comment 10 Coacher 2013-03-30 17:33:06 UTC
(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.
Comment 12 Coacher 2013-03-31 18:17:15 UTC
Latest git fails to build with same error :(
Comment 13 Coacher 2013-08-23 00:07:35 UTC
Still an issue with the latest snapshot, i.e. www-plugins/gnash-0.8.10_p20130822
Comment 14 Coacher 2013-10-24 18:18:16 UTC
Still an issue with the latest snapshot, i.e. www-plugins/gnash-0.8.10_p20131019.
Comment 15 neko259 2014-06-09 07:39:33 UTC
Confirming bug on the latest gnash version on ~amd64
Comment 16 Andreas Thalhammer 2014-08-15 08:02:29 UTC
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…
Comment 17 Andreas Thalhammer 2014-08-15 08:15:51 UTC
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.
Comment 18 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-03-26 15:04:53 UTC
Should be fixed in 0.8.10_p20150316, please reopen if it is not.