Compiling on Ubuntu 12.10. create-deb.sh fails

Post Reply
Santiago Benejam Torres

I'm triyng to compile qlcplus 4.7.0 from source in Ubuntu 12.10 with ./create-deb.sh QLC+ seems compile fine, but the creation of deb files end with errors. If QLC+ is executed in terminal from main/qlcplus seems work properly. I compiled QLC+ 4.6.0 or 4.6.1 from source and always work as expected. It's something broke in git or is my fault?. My intention is to provide information to help to debug errors.


********* Start testing of RGBMatrix_Test *********
Config: Using QTest library 4.8.3, Qt 4.8.3
QDEBUG : RGBMatrix_Test::initTestCase() IOPluginCache::IOPluginCache(QObject*)
QDEBUG : RGBMatrix_Test::initTestCase() bool QLCFixtureDefCache::load(const QDir&) "../../../fixtures"
QWARN : RGBMatrix_Test::initTestCase() "devtool.js" is missing the rgbMap() function!
PASS : RGBMatrix_Test::initTestCase()
QWARN : RGBMatrix_Test::initial() "devtool.js" is missing the rgbMap() function!
PASS : RGBMatrix_Test::initial()
QWARN : RGBMatrix_Test::group() "devtool.js" is missing the rgbMap() function!
PASS : RGBMatrix_Test::group()
QWARN : RGBMatrix_Test::color() "devtool.js" is missing the rgbMap() function!
PASS : RGBMatrix_Test::color()
QWARN : RGBMatrix_Test::copy() "devtool.js" is missing the rgbMap() function!
QWARN : RGBMatrix_Test::copy() "devtool.js" is missing the rgbMap() function!
QWARN : RGBMatrix_Test::copy() "devtool.js" is missing the rgbMap() function!
PASS : RGBMatrix_Test::copy()
QWARN : RGBMatrix_Test::previewMaps() "devtool.js" is missing the rgbMap() function!
PASS : RGBMatrix_Test::previewMaps()
QWARN : RGBMatrix_Test::loadSave() "devtool.js" is missing the rgbMap() function!
QWARN : RGBMatrix_Test::loadSave() "devtool.js" is missing the rgbMap() function!
QWARN : RGBMatrix_Test::loadSave() "devtool.js" is missing the rgbMap() function!
QWARN : RGBMatrix_Test::loadSave() "devtool.js" is missing the rgbMap() function!
QWARN : RGBMatrix_Test::loadSave() virtual bool RGBMatrix::loadXML(const QDomElement&) Unknown RGB matrix tag: "Foo"
QWARN : RGBMatrix_Test::loadSave() virtual bool RGBMatrix::loadXML(const QDomElement&) Function node not found
QWARN : RGBMatrix_Test::loadSave() virtual bool RGBMatrix::loadXML(const QDomElement&) Function is not an RGB matrix
PASS : RGBMatrix_Test::loadSave()
QDEBUG : RGBMatrix_Test::cleanupTestCase() Destroying audio capture
QDEBUG : RGBMatrix_Test::cleanupTestCase() virtual IOPluginCache::~IOPluginCache()
PASS : RGBMatrix_Test::cleanupTestCase()
Totals: 8 passed, 0 failed, 0 skipped
********* Finished testing of RGBMatrix_Test *********
~/qlcplus
~/qlcplus ~/qlcplus
./test.sh: 4: ./test.sh: ./inputmap_test: not found
~/qlcplus
127 Engine unit tests failed. Please fix before commit.
make[1]: *** [check] Error 127
make[1]: Leaving directory `/home/sbenejam/qlcplus'
dh_auto_test: make -j1 check returned exit code 2
make: *** [build] Error 29
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Massimo Callegari

Moved to the development thread.

Did you clone or update your tree ?
Try to distclean first and build again
Santiago Benejam Torres

I tried make distclean and clone from scratch the repository, as you explained on a message with similar errors posted in forum. QLC+ seems compile with no errors but with some warnings I'll try later refresh sources and I'll get you more info.
Massimo Callegari

OK, please try to remove inputmap and outputmap folders in engine/test
Santiago Benejam Torres

Removed inputmap and outputmap folders and get the following errors.

(mastertimer_test:5856): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': ./mastertimer_test: undefined symbol: menu_proxy_module_load

(mastertimer_test:5856): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': ./mastertimer_test: undefined symbol: menu_proxy_module_load

(mastertimer_test:5856): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': ./mastertimer_test: undefined symbol: menu_proxy_module_load

(mastertimer_test:5856): Gtk-WARNING **: Failed to load type module: (null)

********* Start testing of MasterTimer_Test *********
Config: Using QTest library 4.8.3, Qt 4.8.3
QDEBUG : MasterTimer_Test::initTestCase() IOPluginCache::IOPluginCache(QObject*)
QDEBUG : MasterTimer_Test::initTestCase() bool QLCFixtureDefCache::load(const QDir&) "../../../fixtures"
PASS : MasterTimer_Test::initTestCase()
QDEBUG : MasterTimer_Test::initial() Destroying audio capture
PASS : MasterTimer_Test::initial()
QDEBUG : MasterTimer_Test::startStop() Destroying audio capture
PASS : MasterTimer_Test::startStop()
QDEBUG : MasterTimer_Test::startStopFunction() Function preRun. ID: 4294967295
QDEBUG : MasterTimer_Test::startStopFunction() Function stop(). ID: 4294967295
QDEBUG : MasterTimer_Test::startStopFunction() Function postRun. ID: 4294967295
QDEBUG : MasterTimer_Test::startStopFunction() void Function::resetElapsed()
QDEBUG : MasterTimer_Test::startStopFunction() Destroying audio capture
PASS : MasterTimer_Test::startStopFunction()
FAIL! : MasterTimer_Test::registerUnregisterDMXSource() 'mt->m_dmxSourceList.at(0) == &s1' returned FALSE. ()
Loc: [mastertimer_test.cpp(147)]
QDEBUG : MasterTimer_Test::registerUnregisterDMXSource() Destroying audio capture
QFATAL : MasterTimer_Test::interval() Received signal 11
FAIL! : MasterTimer_Test::interval() Received a fatal error.
Loc: [Unknown file(0)]
Totals: 4 passed, 2 failed, 0 skipped
********* Finished testing of MasterTimer_Test *********
Aborted (core dumped)
~/qlcplus
134 Engine unit tests failed. Please fix before commit.
make[1]: *** [check] Error 134
make[1]: Leaving directory `/home/sbenejam/qlcplus'
dh_auto_test: make -j1 check returned exit code 2
make: *** [build] Error 29
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Massimo Callegari

I've fixed a bunch of tests but the Scene one is still broken
Post Reply