Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 630878

Summary: dev-cpp/gstreamermm-1.8.0: error: cannot convert ‘GValue {aka _GValue}’ to ‘const GValue* {aka const _GValue*}’
Product: Gentoo Linux Reporter: José Romildo Malaquias <jrmalaq>
Component: Current packagesAssignee: GStreamer package maintainers <gstreamer>
Status: RESOLVED FIXED    
Severity: normal CC: plevine457, tabascoz
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.gnome.org/show_bug.cgi?id=783678
See Also: https://bugs.debian.org/853435
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 617524    
Attachments: Output of `emerge --info '=dev-cpp/gstreamermm-1.8.0::gentoo'`
dev-cpp:gstreamermm-1.8.0:20170913-015958.log
Output of `emerge -pqv '=dev-cpp/gstreamermm-1.8.0::gentoo`

Description José Romildo Malaquias 2017-09-13 10:29:22 UTC
Created attachment 494342 [details]
Output of `emerge --info '=dev-cpp/gstreamermm-1.8.0::gentoo'`

When emerging gstreamermm-1.8.0 on my ~amd64 gentoo system, it fails with the error messages:

../gstreamermm/iterator.h: In member function ‘void Gst::IteratorBase<CppType>::swap(Gst::IteratorBase<CppType>&)’:
../gstreamermm/iterator.h:427:39: error: cannot convert ‘GValue {aka _GValue}’ to ‘const GValue* {aka const _GValue*}’ for argument ‘1’ to ‘void g_value_copy(const GValue*, GValue*)’
   g_value_copy(other.current, &current);
                                       ^
../gstreamermm/iterator.h:428:44: error: cannot convert ‘GValue {aka _GValue}’ to ‘GValue* {aka _GValue*}’ for argument ‘2’ to ‘void g_value_copy(const GValue*, GValue*)’
   g_value_copy(&temp_current, other.current);
Comment 1 José Romildo Malaquias 2017-09-13 10:31:13 UTC
Created attachment 494344 [details]
dev-cpp:gstreamermm-1.8.0:20170913-015958.log
Comment 2 José Romildo Malaquias 2017-09-13 10:33:27 UTC
Created attachment 494346 [details]
Output of `emerge -pqv '=dev-cpp/gstreamermm-1.8.0::gentoo`
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2017-09-13 21:17:31 UTC
This particular bug has been filed and patched upstream however the fix did not work so good when cherry-picked with gcc-6.4.0 in my experience. Would you please try it ?
Comment 4 Peter Levine 2018-03-30 00:21:25 UTC
dev-cpp/gstreamermm-1.8.0 is no longer in the Gentoo tree. dev-cpp/gstreamermm-1.10.0 builds fine with gcc-7.3.0-r1.

Please close this bug.