[opensuse-factory] gstelement.h:55:27: fatal error: gst/gstconfig.h: No such file or directory

Hello. https://build.opensuse.org/package/show/openSUSE:Factory/leechcraft became broken. Any tips please? [ 464s] [ 4%] Building CXX object plugins/lmp/mpris/CMakeFiles/leechcraft_lmp_mpris.dir/playeradaptor.cpp.o [ 464s] cd /home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-3565-g2d86529/build/plugins/lmp/mpris && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DSTRICT_LICENSING -DWITH_LIBGUESS -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Doverride= -fvisibility=hidden -Wall -std=c++0x -fPIC -O2 -g -DNDEBUG -I/home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-3565-g2d86529/src/plugins/lmp -I/home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-3565-g2d86529/build/plugins/lmp -I/usr/include/taglib -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-3565-g2d86529/src -I/home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-3565-g2d86529/build -isystem /usr/include/QtGui -isystem /usr/include/QtCore -isystem /usr/include/QtDBus -I/usr/include/taglib -o CMakeFiles/leechcraft_lmp_mpris.dir/playeradaptor.cpp.o -c /home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-3565-g2d86529/src/plugins/lmp/mpris/playeradaptor.cpp [ 464s] In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27:0, [ 464s] from /usr/include/gstreamer-1.0/gst/gst.h:35, [ 464s] from /home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-3565-g2d86529/src/plugins/lmp/util/lmp/gstutil.h:33, [ 464s] from /home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-3565-g2d86529/src/plugins/lmp/mpris/../engine/sourceobject.h:42, [ 464s] from /home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-3565-g2d86529/src/plugins/lmp/mpris/playeradaptor.cpp:39: [ 464s] /usr/include/gstreamer-1.0/gst/gstelement.h:55:27: fatal error: gst/gstconfig.h: No such file or directory [ 464s] compilation terminated. [ 464s] plugins/lmp/mpris/CMakeFiles/leechcraft_lmp_mpris.dir/build.make:110: recipe for target 'plugins/lmp/mpris/CMakeFiles/leechcraft_lmp_mpris.dir/playeradaptor.cpp.o' failed [ 464s] make[2]: *** [plugins/lmp/mpris/CMakeFiles/leechcraft_lmp_mpris.dir/playeradaptor.cpp.o] Error 1 … [ 964s] [ 24%] Building CXX object plugins/lmp/CMakeFiles/leechcraft_lmp_common.dir/util/lmp/gstutil.cpp.o [ 964s] cd /home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-3565-g2d86529/build/plugins/lmp && /usr/bin/c++ -DENABLE_MPRIS -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB -DSTRICT_LICENSING -DWITH_LIBGUESS -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Doverride= -fvisibility=hidden -Wall -std=c++0x -O2 -g -DNDEBUG -fPIC -I/home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-3565-g2d86529/src/plugins/lmp -I/home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-3565-g2d86529/build/plugins/lmp -I/usr/include/taglib -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-3565-g2d86529/src -I/home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-3565-g2d86529/build -isystem /usr/include/QtGui -isystem /usr/include/QtCore -isystem /usr/include/QtNetwork -isystem /usr/include/QtDeclarative -isystem /usr/include/QtSql -isystem /usr/include/QtXml -isystem /usr/include/QtDBus -I/usr/include/taglib -o CMakeFiles/leechcraft_lmp_common.dir/util/lmp/gstutil.cpp.o -c /home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-3565-g2d86529/src/plugins/lmp/util/lmp/gstutil.cpp [ 964s] In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27:0, [ 964s] from /usr/include/gstreamer-1.0/gst/gst.h:35, [ 964s] from /home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-3565-g2d86529/src/plugins/lmp/util/lmp/gstutil.h:33, [ 964s] from /home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-3565-g2d86529/src/plugins/lmp/util/lmp/gstutil.cpp:30: [ 964s] /usr/include/gstreamer-1.0/gst/gstelement.h:55:27: fatal error: gst/gstconfig.h: No such file or directory [ 964s] compilation terminated. [ 964s] plugins/lmp/CMakeFiles/leechcraft_lmp_common.dir/build.make:86: recipe for target 'plugins/lmp/CMakeFiles/leechcraft_lmp_common.dir/util/lmp/gstutil.cpp.o' failed [ 964s] make[2]: *** [plugins/lmp/CMakeFiles/leechcraft_lmp_common.dir/util/lmp/gstutil.cpp.o] Error 1 -- Best regards, Dmitriy Perlow R&D chemical engineer Lekpharm JLLC -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

On 29.11.2015 18:15, Dmitriy Perlow wrote:
Yep. I worked it around by adding '-I%{_includedir}/gstreamer-1.0 -I%{_libdir}/gstreamer-1.0/include' to CXX flags. See -> https://build.opensuse.org/package/rdiff/home:X0F:HSF/leechcraft?opackage=le... Explanation at https://bugzilla.redhat.com/show_bug.cgi?id=1234152 Too bad I couldn't actually use it, since OBS isn't fast enough to rebuild repoes... but that should work. Real fix would be a change to LC's cmake files to pick up those options automatically from pkgconfig.

On 29.11.2015 18:15, Dmitriy Perlow wrote:
Yep. I worked it around by adding '-I%{_includedir}/gstreamer-1.0 -I%{_libdir}/gstreamer-1.0/include' to CXX flags. See -> https://build.opensuse.org/package/rdiff/home:X0F:HSF/leechcraft?opackage=le... Explanation at https://bugzilla.redhat.com/show_bug.cgi?id=1234152 Too bad I couldn't actually use it, since OBS isn't fast enough to rebuild repoes... but that should work. Real fix would be a change to LC's cmake files to pick up those options automatically from pkgconfig.
participants (2)
-
Dmitriy Perlow
-
Sergey Kondakov