By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 1938

Summary: Build issue: bibletime does not build with sword >= 1.7
Product: TDE Reporter: Francois Andriot <albator78>
Component: non-core programsAssignee: 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:

Description Francois Andriot 2014-02-16 16:15:36 CST
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)
                                 ^
Comment 1 Slávek Banko 2014-09-03 12:43:51 CDT
François, please, can you test whether commit 5d683513 solve problems also on your distributions?
Comment 2 Francois Andriot 2014-09-10 14:38:15 CDT
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&)
Comment 3 Francois Andriot 2014-09-18 15:42:44 CDT
OK, no idea why or how, but I've built bibletime without FTBFS today using sword 1.7 ...
Marking as fixed.