| Summary: | Build issue: bibletime does not build with sword >= 1.7 | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Francois Andriot <albator78> |
| Component: | non-core programs | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | albator78, bugwatch, slavek.banko |
| Priority: | P5 | ||
| Version: | R14.0.0 [Trinity] | ||
| Hardware: | All | ||
| OS: | Other | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
François, please, can you test whether commit 5d683513 solve problems also on your distributions? Still FTBFS ... In file included from libbackend_a.all_cpp.cpp:17: cswordbackend.cpp:102: attention : qualificateurs de type ignorés pour le type à retourner par la fonction cswordbackend.cpp: In member function ‘virtual const CSwordBackend::LoadError CSwordBackend::initModules()’: cswordbackend.cpp:116: attention : ‘const char* sword::SWModule::Type() const’ is deprecated (declared at /usr/include/sword/swmodule.h:330) cswordbackend.cpp:121: erreur: cannot allocate an object of abstract type ‘Rendering::CChapterDisplay’ cchapterdisplay.h:25: note: because the following virtual functions are pure within ‘Rendering::CChapterDisplay’: /usr/include/sword/swdisp.h:50: note: virtual char sword::SWDisplay::display(sword::SWModule&) cswordbackend.cpp:124: attention : ‘const char* sword::SWModule::Type() const’ is deprecated (declared at /usr/include/sword/swmodule.h:330) cswordbackend.cpp:129: erreur: cannot allocate an object of abstract type ‘Rendering::CEntryDisplay’ centrydisplay.h:38: note: because the following virtual functions are pure within ‘Rendering::CEntryDisplay’: /usr/include/sword/swdisp.h:50: note: virtual char sword::SWDisplay::display(sword::SWModule&) cswordbackend.cpp:132: attention : ‘const char* sword::SWModule::Type() const’ is deprecated (declared at /usr/include/sword/swmodule.h:330) cswordbackend.cpp:137: erreur: cannot allocate an object of abstract type ‘Rendering::CEntryDisplay’ centrydisplay.h:38: note: since type ‘Rendering::CEntryDisplay’ has pure virtual functions cswordbackend.cpp:140: attention : ‘const char* sword::SWModule::Type() const’ is deprecated (declared at /usr/include/sword/swmodule.h:330) cswordbackend.cpp:145: erreur: cannot allocate an object of abstract type ‘Rendering::CBookDisplay’ cbookdisplay.h:30: note: because the following virtual functions are pure within ‘Rendering::CBookDisplay’: /usr/include/sword/swdisp.h:50: note: virtual char sword::SWDisplay::display(sword::SWModule&) OK, no idea why or how, but I've built bibletime without FTBFS today using sword 1.7 ... Marking as fixed. |
FTBFS because missing "ftptrans.h" in sword 1.7.2 (Fedora 20) ... It looks like this file has been renamed to "remotetrans.h" . But then, lots of errors: clanguagemgr.cpp: In member function 'const LangMap& CLanguageMgr::availableLanguages()': clanguagemgr.cpp:98:35: warning: 'const char* sword::SWModule::Lang(char*)' is deprecated (declared at /usr/include/sword/swmodule.h:370) [-Wdeprecated-declarations] abbrev = (*it)->module()->Lang(); ^ clanguagemgr.cpp:98:35: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] [...] cswordbackend.cpp:121:33: error: cannot allocate an object of abstract type 'Rendering::CChapterDisplay' : (m_displays.chapter = new CChapterDisplay) ^