Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405817 - www-plugins/gnash-0.8.10 USE=directfb - DeviceGlue.cpp:61:70: error: cannot allocate an object of abstract type 'gnash::renderer::directfb::DirectFBDevice'
Summary: www-plugins/gnash-0.8.10 USE=directfb - DeviceGlue.cpp:61:70: error: cannot a...
Status: RESOLVED WONTFIX
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-25 20:09 UTC by Attila Stehr
Modified: 2018-07-28 12:10 UTC (History)
0 users

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


Attachments
emerge --info (emerge--info.out,14.66 KB, text/plain)
2012-02-25 20:10 UTC, Attila Stehr
Details
build log (www-plugins:gnash-0.8.10:20120225-205219.log,36.03 KB, text/plain)
2012-02-25 20:11 UTC, Attila Stehr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Stehr 2012-02-25 20:09:17 UTC
Making all in libdevice
make[2]: Entering directory `/var/tmp/portage/www-plugins/gnash-0.8.10/work/gnash-0.8.10/libdevice'
  CXX    libgnashdevice_la-DeviceGlue.lo
  CXX    libgnashdevice_la-X11Device.lo
DeviceGlue.cpp: In member function 'void gnash::DeviceGlue::setDevice(gnash::renderer::GnashDevice::dtype_t)':
DeviceGlue.cpp:61:70: error: cannot allocate an object of abstract type 'gnash::renderer::directfb::DirectFBDevice'
directfb/DirectFBDevice.h:45:1: note:   because the following virtual functions are pure within 'gnash::renderer::directfb::DirectFBDevice':
GnashDevice.h:78:20: note: 	virtual size_t gnash::renderer::GnashDevice::getStride()
make[2]: *** [libgnashdevice_la-DeviceGlue.lo] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[2]: Leaving directory `/var/tmp/portage/www-plugins/gnash-0.8.10/work/gnash-0.8.10/libdevice'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/www-plugins/gnash-0.8.10/work/gnash-0.8.10'
make: *** [all] Fehler 2
 * ERROR: www-plugins/gnash-0.8.10 failed (compile phase):
 *   emake failed


Reproducible: Always

Steps to Reproduce:
emerge gnash
Actual Results:  
there are some warnings as well (please look at the attachment)
Comment 1 Attila Stehr 2012-02-25 20:10:19 UTC
Created attachment 303223 [details]
emerge --info
Comment 2 Attila Stehr 2012-02-25 20:11:04 UTC
Created attachment 303225 [details]
build log
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-02-25 20:12:22 UTC
What happens if you disable USE="directfb"?
Comment 4 Attila Stehr 2012-02-25 20:43:55 UTC
It builds fine with USE="-directfb" emerge --update --oneshot gnash
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-02-25 20:58:32 UTC
Until a fix for this issue is found, I have masked the directfb flag on gnash.
Comment 6 sphakka 2012-02-27 11:12:59 UTC
(In reply to comment #4)
> It builds fine with USE="-directfb" emerge --update --oneshot gnash

Hi there,

FYI, I also needed to add USE='egl':

[ebuild   R   ~] www-plugins/gnash-0.8.10  USE="X agg cairo dbus egl fbcon ffmpeg mysql nls opengl openvg sdl sdl-sound ssh ssl (-aqua) -cygnal (-directfb) -doc -gconf -gnome -gstreamer -gtk -kde -lirc -nsplugin -python -test -vaapi" 0 kB 

Else I get this:

---------------------------------------------------------------------------
In file included from ./openvg/OpenVGRenderer.h:55:0,
                 from openvg/OpenVGRenderer.cpp:41:
../libdevice/egl/eglDevice.h:38:3: error: #error "This file needs EGL, which is part of OpenGL-ES"
In file included from /usr/include/agg2/agg_pixfmt_gray.h:38:0,
                 from agg/Renderer_agg.cpp:121:
[...]
In file included from /usr/include/agg2/agg_path_storage.h:32:0,
                 from agg/Renderer_agg.cpp:135:
/usr/include/agg2/agg_bezier_arc.h: In member function 'unsigned int agg::bezier_arc::vertex(double*, double*)':
/usr/include/agg2/agg_bezier_arc.h:75:57: warning: enumeral and non-enumeral type in conditional expression
make[2]: *** [libgnashrender_la-OpenVGRenderer.lo] Error 1
---------------------------------------------------------------------------

Cheers,

  ^m'e
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-02-27 11:14:04 UTC
(In reply to comment #6)
> FYI, I also needed to add USE='egl':

That is bug 405799.
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-07-28 12:10:21 UTC
DirectFB is gone.