Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518508 - net-im/ktp-call-ui-0.8.1 fails to build with media-libs/qt-gstreamer-1.2.0 conflicting declaration ‘typedef GstStructure GstTagList’ typedef GstStructure GstTagList
Summary: net-im/ktp-call-ui-0.8.1 fails to build with media-libs/qt-gstreamer-1.2.0 co...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard: fixed in master, 0.9.0?
Keywords: UPSTREAM
: 523558 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-07-29 16:49 UTC by Andrés Becerra Sandoval
Modified: 2014-09-24 16:34 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrés Becerra Sandoval 2014-07-29 16:49:29 UTC
[ 25%] Building CXX object src/dialout/CMakeFiles/ktp-dialout-ui.dir/main.o
cd /var/tmp/portage/net-im/ktp-call-ui-0.8.1/work/ktp-call-ui-0.8.1_build/src/dialout && /usr/bin/x86_64-pc-linux-gnu-g++  -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=46 -DKDE_DEPRECATED_WARNINGS -DQT_NO_CAST_TO_ASCII -DQT_NO_KEYWORDS -DQT_NO_STL -D_BSD_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500  -DQT_NO_DEBUG -DNDEBUG -O2 -march=core2 -pipe -ggdb  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fexceptions -UQT_NO_EXCEPTIONS -I/usr/include/KDE -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/telepathy-qt4 -I/usr/include/QtGStreamer -I/var/tmp/portage/net-im/ktp-call-ui-0.8.1/work/ktp-call-ui-0.8.1_build/src/dialout -I/var/tmp/portage/net-im/ktp-call-ui-0.8.1/work/ktp-call-ui-0.8.1/src/dialout    -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/ktp-dialout-ui.dir/main.o -c /var/tmp/portage/net-im/ktp-call-ui-0.8.1/work/ktp-call-ui-0.8.1/src/dialout/main.cpp
In file included from /usr/include/gstreamer-0.10/gst/gstevent.h:33:0,
                 from /usr/include/gstreamer-0.10/gst/gstpad.h:33,
                 from /usr/include/gstreamer-0.10/gst/gstelement.h:57,
                 from /usr/include/gstreamer-0.10/gst/gstbin.h:27,
                 from /usr/include/gstreamer-0.10/gst/gst.h:35,
                 from /usr/include/telepathy-1.0/telepathy-farstream/channel.h:7,
                 from /usr/include/telepathy-1.0/telepathy-farstream/telepathy-farstream.h:23,
                 from /var/tmp/portage/net-im/ktp-call-ui-0.8.1/work/ktp-call-ui-0.8.1/libqtf/qtf.cpp:22:
/usr/include/gstreamer-0.10/gst/gsttaglist.h:160:22: error: conflicting declaration ‘typedef GstStructure GstTagList’
 typedef GstStructure GstTagList;
                      ^
In file included from /usr/include/QtGStreamer/QGst/clocktime.h:21:0,
                 from /usr/include/QtGStreamer/QGst/message.h:20,
                 from /usr/include/QtGStreamer/QGst/Message:1,
                 from /var/tmp/portage/net-im/ktp-call-ui-0.8.1/work/ktp-call-ui-0.8.1/libqtf/qtf.h:27,
                 from /var/tmp/portage/net-im/ktp-call-ui-0.8.1/work/ktp-call-ui-0.8.1/libqtf/qtf.cpp:18:
/usr/include/QtGStreamer/QGst/global.h:56:32: error: ‘GstTagList’ has a previous declaration as ‘typedef struct _GstTagList GstTagList’
     typedef struct _Gst##Class Gst##Class;
                                ^
/usr/include/QtGStreamer/QGst/global.h:143:1: note: in expansion of macro ‘QGST_WRAPPER_GSTCLASS_DECLARATION’
 QGST_WRAPPER_GSTCLASS_DECLARATION(TagList)
 ^
libqtf/CMakeFiles/qtf.dir/build.make:80: recipe for target 'libqtf/CMakeFiles/qtf.dir/qtf.o' failed
make[2]: *** [libqtf/CMakeFiles/qtf.dir/qtf.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-im/ktp-call-ui-0.8.1/work/ktp-call-ui-0.8.1_build'
CMakeFiles/Makefile2:110: recipe for target 'libqtf/CMakeFiles/qtf.dir/all' failed
make[1]: *** [libqtf/CMakeFiles/qtf.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Comment 1 Rafał Mużyło 2014-07-29 17:48:12 UTC
It's a porting problem - media-libs/qt-gstreamer-1.2.0 uses gstreamer 1.0, this program is still at 0.10.

Chances are more packages will show similar problem.
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2014-07-29 18:18:55 UTC
Thanks for reporting. This is fixed in cvs now. Please sync in some hours to get the changes.

+
+  29 Jul 2014; Johannes Huber <johu@gentoo.org> ktp-call-ui-0.8.0.ebuild,
+  ktp-call-ui-0.8.1.ebuild:
+  Restrict DEPEND to <media-libs/qt-gstreamer-1.0.0, bug #518508. Support for
+  new api fixed in upstream git master, which will hit 0.9.0 release.
+
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2014-09-24 16:34:06 UTC
*** Bug 523558 has been marked as a duplicate of this bug. ***