Hi:

Bibletime 2.10.1 (the SlackBuilds.org version) building fails under qt
5.7. 

I know that the Qt version required by bibletime is Qt4 IIRC, but Qt5
is even in SBo and I think that 2.10.x fails to pick the correct Qt
version and thus compilation fails.

This is fixed upstream in 2.11x branch, which now requires Qt5.

I was able to edit the SlackBuild for bibletime-2.11_rc2 and I got a
successful compilation and package which runs fine on Qt5. (Just
editing the version number and the name of the source file, and
changing README for README.md on the /usr/doc package did the trick).

Thus, I would propose any of the following:

a) make sure bibletime 2.10.1 (current version) picks Qt4; or

b) upgrade to 2.11x branch and include Qt5 as a requirement.

Thank you!

Below I paste the building output from the unmodified SlackBuild.

Best regards,


Eduardo


[ 34%] Building CXX object
CMakeFiles/bibletime.dir/src/backend/drivers/cswordmoduleinfo.cpp.o In
file included from /usr/include/qt5/QtCore/qchar.h:43:0,
from /usr/include/qt5/QtCore/qhash.h:44,
from /usr/include/qt5/QtCore/QHash:1,
from /tmp/SBo/bibletime-2.10.1/src/backend/managers/clanguagemgr.h:15,
from /tmp/SBo/bibletime-2.10.1/src/backend/drivers/cswordmoduleinfo.h:15,
from /tmp/SBo/bibletime-2.10.1/src/backend/drivers/cswordmoduleinfo.cpp:10: 
/tmp/SBo/bibletime-2.10.1/src/backend/drivers/cswordmoduleinfo.cpp:
In constructor ‘CSwordModuleInfo::CSwordModuleInfo(sword::SWModule*,
CSwordBackend&,
CSwordModuleInfo::ModuleType)’: 
/tmp/SBo/bibletime-2.10.1/src/backend/drivers/cswordmoduleinfo.cpp:57:17:
error: expected primary-expression before ‘do’ :
m_module((Q_ASSERT(module), module)),
^ /tmp/SBo/bibletime-2.10.1/src/backend/drivers/cswordmoduleinfo.cpp:57:17:
error: expected ‘)’ before
‘do’ /tmp/SBo/bibletime-2.10.1/src/backend/drivers/cswordmoduleinfo.cpp:57:41:
error: expression list treated as compound expression in
mem-initializer [-fpermissive] : m_module((Q_ASSERT(module), module)),
^ /tmp/SBo/bibletime-2.10.1/src/backend/drivers/cswordmoduleinfo.cpp:54:1:
error: uninitialized reference member in ‘class2 cronicas 36:21
CSwordBackend&’ [-fpermissive]
CSwordModuleInfo::CSwordModuleInfo(sword::SWModule * module, ^ In file
included
from /tmp/SBo/bibletime-2.10.1/src/backend/drivers/cswordmoduleinfo.cpp:10:0: 
/tmp/SBo/bibletime-2.10.1/src/backend/drivers/cswordmoduleinfo.h:454:21:
note: ‘CSwordBackend& CSwordModuleInfo::m_backend’ should be
initialized CSwordBackend & m_backend;
^ /tmp/SBo/bibletime-2.10.1/src/backend/drivers/cswordmoduleinfo.cpp:57:42:
error: expected ‘{’ before ‘)’ token : m_module((Q_ASSERT(module),
module)),
^ /tmp/SBo/bibletime-2.10.1/src/backend/drivers/cswordmoduleinfo.cpp:
At global
scope: /tmp/SBo/bibletime-2.10.1/src/backend/drivers/cswordmoduleinfo.cpp:55:52:
warning: unused parameter ‘backend’ [-Wunused-parameter] CSwordBackend
& backend,
^ /tmp/SBo/bibletime-2.10.1/src/backend/drivers/cswordmoduleinfo.cpp:56:47:
warning: unused parameter ‘type’ [-Wunused-parameter] ModuleType type)
^ /tmp/SBo/bibletime-2.10.1/src/backend/drivers/cswordmoduleinfo.cpp:57:42:
error: expected unqualified-id before ‘)’ token :
m_module((Q_ASSERT(module), module)), ^
CMakeFiles/bibletime.dir/build.make:934: recipe for target
'CMakeFiles/bibletime.dir/src/backend/drivers/cswordmoduleinfo.cpp.o'
failed make[2]: ***
[CMakeFiles/bibletime.dir/src/backend/drivers/cswordmoduleinfo.cpp.o]
Error 1 CMakeFiles/Makefile2:818: recipe for target
'CMakeFiles/bibletime.dir/all' failed make[1]: ***
[CMakeFiles/bibletime.dir/all] Error 2 Makefile:127: recipe for target
'all' failed make: *** [all] Error 2



-- 
Eduardo Sánchez Gauto, Abog., Th.M.
Abogado - Traductor Público Matriculado Inglés - Español
Web: http://sombragris.org - Blog: http://shadow.sombragris.org
TW: @thegreyshadow - FB: /thegreyshadow
Teléfono: (0991) 755-355 - Asunción, Paraguay
==================================================================
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/

Reply via email to