Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 486726 - dev-qt/qtwebkit-4.8.4[gstreamer] - platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:49:41: error: gst/interfaces/streamvolume.h: No such file or directory
Summary: dev-qt/qtwebkit-4.8.4[gstreamer] - platform/graphics/gstreamer/MediaPlayerPri...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-01 22:54 UTC by David Badia
Modified: 2013-10-20 22:58 UTC (History)
0 users

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


Attachments
info.txt (info.txt,4.85 KB, text/plain)
2013-10-01 23:10 UTC, David Badia
Details
emerge.txt (emerge.txt,204 bytes, text/plain)
2013-10-01 23:10 UTC, David Badia
Details
build.log (build.log.bz2,47.75 KB, application/x-bzip)
2013-10-01 23:13 UTC, David Badia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Badia 2013-10-01 22:54:54 UTC
Failed to emerge dev-qt/qtwebkit-4.8.4

-I/var/tmp/portage/dev-qt/qtwebkit-4.8.4/work/qt-everywhere-opensource-src-4.8.4/src/3rdparty/webkit/Source/WebCore/wml -Iworkers -Ixml -Ibridge/jsc -Ibindings/js -I/var/tmp/portage/dev-qt/qtwebkit-4.8.4/work/qt-everywhere-opensource-src-4.8.4/src/3rdparty/webkit/Source/WebCore/bindings/js/specialization -Ibridge/c -Itesting/js -Igenerated -I../../Source -I../../include -I../include/QtWebKit -I../include -Iplatform/graphics/gstreamer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/X11R6/include -I.moc/release-static -o .obj/release-static/XPathEvaluator.o xml/XPathEvaluator.cpp
make: *** [.obj/release-static/MediaPlayerPrivateGStreamer.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: dev-qt/qtwebkit-4.8.4 failed (compile phase):
Comment 1 David Badia 2013-10-01 23:10:31 UTC
Created attachment 359944 [details]
info.txt
Comment 2 David Badia 2013-10-01 23:10:48 UTC
Created attachment 359946 [details]
emerge.txt
Comment 3 David Badia 2013-10-01 23:13:22 UTC
Created attachment 359948 [details]
build.log
Comment 4 Rafał Mużyło 2013-10-02 04:41:20 UTC
The errors go along the line of:
platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: In member function ‘virtual void WebCore::MediaPlayerPrivateGStreamer::setVolume(float)’:
platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:571: error: ‘GST_STREAM_VOLUME’ was not declared in this scope

so, which version of gstreamer is installed ?
Comment 5 Bruce Hill 2013-10-02 05:19:21 UTC
Just for giggles set icu in /etc/portage/package.use and try again
Comment 6 Bruce Hill 2013-10-02 05:20:52 UTC
(In reply to Bruce Hill from comment #5)
> Just for giggles set icu in /etc/portage/package.use and try again

not /etc/portage/package.use but /etc/portage/make.conf
Comment 7 David Badia 2013-10-02 09:02:33 UTC
gstreamer info:
[ebuild  NS    ] media-libs/gstreamer-1.0.5-r1:1.0 [0.10.24:0.10] USE="introspection nls orc {-test}" 3,058 kB

I have added the icu use flag and started a new build.  Its a very slow machine so it will take awhile.
Comment 8 David Badia 2013-10-03 00:12:39 UTC
got a similar error after adding the icu use flag:

 * Package:    dev-qt/qtwebkit-4.8.4
 * Repository: gentoo
 * Maintainer: qt@gentoo.org
 * Upstream:   https://bugreports.qt-project.org/
 * USE:        abi_x86_64 amd64 elibc_glibc exceptions gstreamer icu jit kernel_linux multilib userland_GNU
 * FEATURES:   sandbox

...
-static/WebKitWebSourceGStreamer.o platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: In member function ‘virtual void WebCore::MediaPlayerPrivateGStreamer::setVolume(float)’:
platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:571: error: ‘GST_STREAM_VOLUME’ was not declared in this scope
platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:571: error: ‘GST_STREAM_VOLUME_FORMAT_CUBIC’ was not declared in this scope
platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:572: error: ‘gst_stream_volume_set_volume’ was not declared in this scope
platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: In member function ‘void WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfVolumeChange()’:
platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:582: error: ‘GST_STREAM_VOLUME’ was not declared in this scope
platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:582: error: ‘GST_STREAM_VOLUME_FORMAT_CUBIC’ was not declared in this scope
platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:582: error: ‘gst_stream_volume_get_volume’ was not declared in this scope
make: *** [.obj/release-static/MediaPlayerPrivateGStreamer.o] Error 1
make: *** Waiting for unfinished jobs....
Comment 9 David Badia 2013-10-03 12:11:45 UTC
I realized I really don't need gstreamer support so I put -gstreamer into make.conf and was able to get a clean compile.  

I can run more tests with the flag if you want me to, but I was able to get a clean install on my system.
Comment 10 Davide Pesavento (RETIRED) gentoo-dev 2013-10-03 13:43:43 UTC
What's the output of `emerge -pv gstreamer:0.10 gst-plugins-base:0.10` ?
Comment 11 David Badia 2013-10-03 23:49:35 UTC
emerge -pv gstreamer:0.10 gst-plugins-base:0.10

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-lang/orc-0.4.16-r1  USE="-examples -static-libs" 0 kB
[ebuild  N     ] app-text/iso-codes-3.40  3,549 kB
[ebuild     U  ] media-libs/gstreamer-0.10.36:0.10 [0.10.24:0.10] USE="introspec                                                                                        tion%* nls orc%* {-test}" 0 kB
[ebuild     U  ] media-libs/gst-plugins-base-0.10.36:0.10 [0.10.24:0.10] USE="in                                                                                        trospection%* nls orc%* (-debug%)" 0 kB
[blocks b      ] <media-libs/gst-plugins-base-0.10.26 ("<media-libs/gst-plugins-                                                                                        base-0.10.26" is blocking media-libs/gstreamer-0.10.36)
Comment 12 Davide Pesavento (RETIRED) gentoo-dev 2013-10-03 23:56:29 UTC
Well I guess gstreamer 0.10.24 is too old... can you try upgrading it first and then re-emerge qt-webkit please?
Comment 13 David Badia 2013-10-11 01:24:39 UTC
Ok, upgraded gstreamer to media-libs/gstreamer-1.0.5-r1:1.0

but I still get errors on emerge of dev-qt/qtwebkit-4.8.4 (full build log attached)

latform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: In member function ‘virtual void WebCore::MediaPlayerPrivateGStreamer::setVolume(float)’:
platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:571: error: ‘GST_STREAM_VOLUME’ was not declared in this scope
platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:571: error: ‘GST_STREAM_VOLUME_FORMAT_CUBIC’ was not declared in this scope
platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:572: error: ‘gst_stream_volume_set_volume’ was not declared in this scope
platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: In member function ‘void WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfVolumeChange()’:
platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:582: error: ‘GST_STREAM_VOLUME’ was not declared in this scope
platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:582: error: ‘GST_STREAM_VOLUME_FORMAT_CUBIC’ was not declared in this scope
platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:582: error: ‘gst_stream_volume_get_volume’ was not declared in this scope
Comment 14 Davide Pesavento (RETIRED) gentoo-dev 2013-10-14 12:30:16 UTC
(In reply to David Badia from comment #13)
> Ok, upgraded gstreamer to media-libs/gstreamer-1.0.5-r1:1.0
> 

No. You must upgrade the 0.10 slot of gstreamer... i.e. run `emerge --oneshot gstreamer:0.10 gst-plugins-base:0.10`
Comment 15 David Badia 2013-10-16 08:28:12 UTC
Upgrading to  the 0.10 slot of gstreamer worked
Comment 16 Davide Pesavento (RETIRED) gentoo-dev 2013-10-20 22:58:43 UTC
Fixed in cvs, thanks!

  20 Oct 2013; Davide Pesavento <pesa@gentoo.org> qtwebkit-4.8.4.ebuild,
  qtwebkit-4.8.5.ebuild:
  Depend on latest stable gstreamer. Thanks to David Badia <dbadia@gmail.com> in
  bug 486726.