[GCompris-devel] Release GCompris Qt 0.52

JAZEIX Johnny jazeix at gmail.com
Tue Jan 19 07:24:42 UTC 2016


On 01/19/16 06:57, Bruno Friedmann wrote:
> On Monday 18 January 2016 00.33:15 Bruno Coudoin wrote:
>> Hi all,
>>
>> I just pushed a patch release named 0.52. It includes all the little
>> patches and improvements from master (without new activities or
>> features). Most important is the lang activity that was not available in
>> French. Quiet impressive to see the number of patches we made within a
>> month.
>>
>> The source tarball is at:
>> http://gcompris.net/download/beta/gcompris-qt-0.52.tar.xz
>>
> Hello, I was almost done, the new version build nicely for openSUSE Tumbleweed and Leap 42.1
> But when I try now to build for the older 13.2 I'm getting this failure
>
> [   65s] /usr/bin/cmake -E cmake_progress_report /home/abuild/rpmbuild/BUILD/gcompris-qt-0.52/build/CMakeFiles 43
> [   65s] [ 93%] Building CXX object src/core/CMakeFiles/gcompris-qt.dir/ActivityInfoTree.cpp.o
> [   65s] cd /home/abuild/rpmbuild/BUILD/gcompris-qt-0.52/build/src/core && /usr/bin/c++  -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QML_LIB -DQT_QUICK_LIB -DQT_SENSORS_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIE -pie -DNDEBUG -std=c++11 -fPIE -I/home/abuild/rpmbuild/BUILD/gcompris-qt-0.52/build/src/core -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSensors    -o CMakeFiles/gcompris-qt.dir/ActivityInfoTree.cpp.o -c /home/abuild/rpmbuild/BUILD/gcompris-qt-0.52/src/core/ActivityInfoTree.cpp
> [   66s] /usr/bin/cmake -E cmake_progress_report /home/abuild/rpmbuild/BUILD/gcompris-qt-0.52/build/CMakeFiles
> [   66s] [ 93%] Building CXX object src/core/CMakeFiles/gcompris-qt.dir/ApplicationInfo.cpp.o
> [   66s] cd /home/abuild/rpmbuild/BUILD/gcompris-qt-0.52/build/src/core && /usr/bin/c++  -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QML_LIB -DQT_QUICK_LIB -DQT_SENSORS_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIE -pie -DNDEBUG -std=c++11 -fPIE -I/home/abuild/rpmbuild/BUILD/gcompris-qt-0.52/build/src/core -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSensors    -o CMakeFiles/gcompris-qt.dir/ApplicationInfo.cpp.o -c /home/abuild/rpmbuild/BUILD/gcompris-qt-0.52/src/core/ApplicationInfo.cpp
> [   67s] /home/abuild/rpmbuild/BUILD/gcompris-qt-0.52/src/core/ApplicationInfo.cpp: In static member function 'static void ApplicationInfo::init()':
> [   67s] /home/abuild/rpmbuild/BUILD/gcompris-qt-0.52/src/core/ApplicationInfo.cpp:251:5: error: 'qmlRegisterSingletonType' was not declared in this scope
> [   67s]      qmlRegisterSingletonType<ApplicationInfo>("GCompris", 1, 0,
> [   67s]      ^
> [   67s] /home/abuild/rpmbuild/BUILD/gcompris-qt-0.52/src/core/ApplicationInfo.cpp:251:45: error: expected primary-expression before '>' token
> [   67s]      qmlRegisterSingletonType<ApplicationInfo>("GCompris", 1, 0,
> [   67s]                                              ^
> [   67s] /home/abuild/rpmbuild/BUILD/gcompris-qt-0.52/src/core/ApplicationInfo.cpp:251:59: warning: left operand of comma operator has no effect [-Wunused-value]
> [   67s]      qmlRegisterSingletonType<ApplicationInfo>("GCompris", 1, 0,
> [   67s]                                                            ^
> [   67s] /home/abuild/rpmbuild/BUILD/gcompris-qt-0.52/src/core/ApplicationInfo.cpp:251:62: warning: right operand of comma operator has no effect [-Wunused-value]
> [   67s]      qmlRegisterSingletonType<ApplicationInfo>("GCompris", 1, 0,
> [   67s]                                                               ^
> [   67s] /home/abuild/rpmbuild/BUILD/gcompris-qt-0.52/src/core/ApplicationInfo.cpp:252:47: warning: right operand of comma operator has no effect [-Wunused-value]
> [   67s]                                                "ApplicationInfo", systeminfoProvider);
> [   67s]                                                ^
> [   67s] /home/abuild/rpmbuild/BUILD/gcompris-qt-0.52/src/core/ApplicationInfo.cpp:252:66: warning: right operand of comma operator has no effect [-Wunused-value]
> [   67s]                                                "ApplicationInfo", systeminfoProvider);
> [   67s]                                                                   ^
> [   67s] src/core/CMakeFiles/gcompris-qt.dir/build.make:133: recipe for target 'src/core/CMakeFiles/gcompris-qt.dir/ApplicationInfo.cpp.o' failed
> [   67s] make[2]: *** [src/core/CMakeFiles/gcompris-qt.dir/ApplicationInfo.cpp.o] Error 1
> [   67s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/gcompris-qt-0.52/build'
> [   67s] CMakeFiles/Makefile2:6432: recipe for target 'src/core/CMakeFiles/gcompris-qt.dir/all' failed
> [   67s] make[1]: *** [src/core/CMakeFiles/gcompris-qt.dir/all] Error 2
> [   67s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/gcompris-qt-0.52/build'
> [   67s] Makefile:140: recipe for target 'all' failed
> [   67s] make: *** [all] Error 2
> [   67s] error: Bad exit status from /var/tmp/rpm-tmp.CvEoT2 (%build)
> [   67s]
> [   67s]
> [   67s] RPM build errors:
> [   67s]     Bad exit status from /var/tmp/rpm-tmp.CvEoT2 (%build)
> [   70s] [   60.522429] sysrq: SysRq : Power Off
> [   71s] [   60.612270] reboot: Power down
>
>
>
> Did you change something on the requirement ...
>
> The full log is available here
> https://build.opensuse.org/package/live_build_log/home:bruno_friedmann:branches:Education/gcompris-qt/openSUSE_13.2/x86_64
>
> This was working with previous 0.50 + the 2 patches for qmlbox2d ...
>
> Any help welcome...
>
Hi,
it may be this commit: 
https://quickgit.kde.org/?p=gcompris.git&a=commitdiff&h=d79ccc3a48af47c6df6babcf357c57942a67c205&hp=e5aee786baa260fa843e4e797c382463b120ffaa 


Can you try adding"#include <QtQml>" or "#include <qqml.h>" (I'm not 
sure if the first one will work) in the src/core/ApplicationInfo.cpp 
file and recompile?

Johnny




More information about the GCompris-devel mailing list