Bug 93142 - libreoffice-5.0.0.5 fails to compile with --enable-telepathy
Summary: libreoffice-5.0.0.5 fails to compile with --enable-telepathy
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.0.0.5 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-05 13:43 UTC by Timo Gurr
Modified: 2017-06-27 14:09 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Gurr 2015-08-05 13:43:53 UTC
When trying to compile the latest released version of LibreOffice (5.0.0.5) with --enable-telepathy collaboration/tubes support it fails with:

/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx: In constructor '{anonymous}::TubeContacts::TubeContacts(Collaboration*)':
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:113:35: error: no matching function for call to '{anonymous}::TubeContacts::get(PushButton*&, const char [7])'
         get( mpBtnListen, "listen");
                                   ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:113:35: note: candidates are:
In file included from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/syswin.hxx:25:0,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/dialog.hxx:25,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:17:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:469:30: note: template<class T> T* VclBuilderContainer::get(VclPtr<T1>&, const rtl::OString&)
     template <typename T> T* get(VclPtr<T>& ret, const OString& sID)
                              ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:469:30: note:   template argument deduction/substitution failed:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:113:35: note:   mismatched types 'VclPtr<T1>' and 'PushButton*'
         get( mpBtnListen, "listen");
                                   ^
In file included from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/syswin.hxx:25:0,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/dialog.hxx:25,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:17:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:473:64: note: template<class T> T* VclBuilderContainer::get(const rtl::OString&)
     template <typename T /*= vcl::Window if we had c++11*/> T* get(const OString & sID)
                                                                ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:473:64: note:   template argument deduction/substitution failed:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:113:35: note:   cannot convert '(({anonymous}::TubeContacts*)this)->{anonymous}::TubeContacts::mpBtnListen' (type 'PushButton*') to type 'const rtl::OString&'
         get( mpBtnListen, "listen");
                                   ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:114:35: error: no matching function for call to '{anonymous}::TubeContacts::get(PushButton*&, const char [7])'
         get( mpBtnInvite, "invite");
                                   ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:114:35: note: candidates are:
In file included from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/syswin.hxx:25:0,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/dialog.hxx:25,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:17:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:469:30: note: template<class T> T* VclBuilderContainer::get(VclPtr<T1>&, const rtl::OString&)
     template <typename T> T* get(VclPtr<T>& ret, const OString& sID)
                              ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:469:30: note:   template argument deduction/substitution failed:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:114:35: note:   mismatched types 'VclPtr<T1>' and 'PushButton*'
         get( mpBtnInvite, "invite");
                                   ^
In file included from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/syswin.hxx:25:0,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/dialog.hxx:25,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:17:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:473:64: note: template<class T> T* VclBuilderContainer::get(const rtl::OString&)
     template <typename T /*= vcl::Window if we had c++11*/> T* get(const OString & sID)
                                                                ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:473:64: note:   template argument deduction/substitution failed:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:114:35: note:   cannot convert '(({anonymous}::TubeContacts*)this)->{anonymous}::TubeContacts::mpBtnInvite' (type 'PushButton*') to type 'const rtl::OString&'
         get( mpBtnInvite, "invite");
                                   ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:115:31: error: no matching function for call to '{anonymous}::TubeContacts::get(PushButton*&, const char [5])'
         get( mpBtnDemo, "demo");
                               ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:115:31: note: candidates are:
In file included from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/syswin.hxx:25:0,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/dialog.hxx:25,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:17:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:469:30: note: template<class T> T* VclBuilderContainer::get(VclPtr<T1>&, const rtl::OString&)
     template <typename T> T* get(VclPtr<T>& ret, const OString& sID)
                              ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:469:30: note:   template argument deduction/substitution failed:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:115:31: note:   mismatched types 'VclPtr<T1>' and 'PushButton*'
         get( mpBtnDemo, "demo");
                               ^
In file included from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/syswin.hxx:25:0,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/dialog.hxx:25,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:17:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:473:64: note: template<class T> T* VclBuilderContainer::get(const rtl::OString&)
     template <typename T /*= vcl::Window if we had c++11*/> T* get(const OString & sID)
                                                                ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:473:64: note:   template argument deduction/substitution failed:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:115:31: note:   cannot convert '(({anonymous}::TubeContacts*)this)->{anonymous}::TubeContacts::mpBtnDemo' (type 'PushButton*') to type 'const rtl::OString&'
         get( mpBtnDemo, "demo");
                               ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:116:33: error: no matching function for call to '{anonymous}::TubeContacts::get(PushButton*&, const char [6])'
         get( mpBtnBuddy, "buddy");
                                 ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:116:33: note: candidates are:
In file included from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/syswin.hxx:25:0,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/dialog.hxx:25,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:17:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:469:30: note: template<class T> T* VclBuilderContainer::get(VclPtr<T1>&, const rtl::OString&)
     template <typename T> T* get(VclPtr<T>& ret, const OString& sID)
                              ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:469:30: note:   template argument deduction/substitution failed:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:116:33: note:   mismatched types 'VclPtr<T1>' and 'PushButton*'
         get( mpBtnBuddy, "buddy");
                                 ^
In file included from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/syswin.hxx:25:0,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/dialog.hxx:25,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:17:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:473:64: note: template<class T> T* VclBuilderContainer::get(const rtl::OString&)
     template <typename T /*= vcl::Window if we had c++11*/> T* get(const OString & sID)
                                                                ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:473:64: note:   template argument deduction/substitution failed:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:116:33: note:   cannot convert '(({anonymous}::TubeContacts*)this)->{anonymous}::TubeContacts::mpBtnBuddy' (type 'PushButton*') to type 'const rtl::OString&'
         get( mpBtnBuddy, "buddy");
                                 ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:117:33: error: no matching function for call to '{anonymous}::TubeContacts::get(PushButton*&, const char [6])'
         get( mpBtnGroup, "group");
                                 ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:117:33: note: candidates are:
In file included from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/syswin.hxx:25:0,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/dialog.hxx:25,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:17:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:469:30: note: template<class T> T* VclBuilderContainer::get(VclPtr<T1>&, const rtl::OString&)
     template <typename T> T* get(VclPtr<T>& ret, const OString& sID)
                              ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:469:30: note:   template argument deduction/substitution failed:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:117:33: note:   mismatched types 'VclPtr<T1>' and 'PushButton*'
         get( mpBtnGroup, "group");
                                 ^
In file included from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/syswin.hxx:25:0,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/dialog.hxx:25,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:17:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:473:64: note: template<class T> T* VclBuilderContainer::get(const rtl::OString&)
     template <typename T /*= vcl::Window if we had c++11*/> T* get(const OString & sID)
                                                                ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:473:64: note:   template argument deduction/substitution failed:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:117:33: note:   cannot convert '(({anonymous}::TubeContacts*)this)->{anonymous}::TubeContacts::mpBtnGroup' (type 'PushButton*') to type 'const rtl::OString&'
         get( mpBtnGroup, "group");
                                 ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:118:32: error: no matching function for call to '{anonymous}::TubeContacts::get(ListBox*&, const char [9])'
         get( mpList, "contacts");
                                ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:118:32: note: candidates are:
In file included from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/syswin.hxx:25:0,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/dialog.hxx:25,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:17:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:469:30: note: template<class T> T* VclBuilderContainer::get(VclPtr<T1>&, const rtl::OString&)
     template <typename T> T* get(VclPtr<T>& ret, const OString& sID)
                              ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:469:30: note:   template argument deduction/substitution failed:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:118:32: note:   mismatched types 'VclPtr<T1>' and 'ListBox*'
         get( mpList, "contacts");
                                ^
In file included from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/syswin.hxx:25:0,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/dialog.hxx:25,
                 from /var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:17:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:473:64: note: template<class T> T* VclBuilderContainer::get(const rtl::OString&)
     template <typename T /*= vcl::Window if we had c++11*/> T* get(const OString & sID)
                                                                ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/include/vcl/builder.hxx:473:64: note:   template argument deduction/substitution failed:
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/tubes/source/contacts.cxx:118:32: note:   cannot convert '(({anonymous}::TubeContacts*)this)->{anonymous}::TubeContacts::mpList' (type 'ListBox*') to type 'const rtl::OString&'
         get( mpList, "contacts");
                                ^
/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/solenv/gbuild/LinkTarget.mk:189: recipe for target '/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/workdir/CxxObject/tubes/source/contacts.o' failed
make[1]: *** [/var/tmp/paludis/build/app-office-libreoffice-5.0.0.5/work/libreoffice-5.0.0.5/workdir/CxxObject/tubes/source/contacts.o] Error 1

The previously installed version was/is LibreOffice 4.4.4.3 which compiled fine with collaboration/tubes/telepathy support enabled via --enable-telepathy.
Comment 1 Alex Thurgood 2015-08-06 07:56:53 UTC
1) This is not a Base (database module) problem by the looks of the errors, so changing component.

2) If the VCLPtr code is the problem, Michael Meeks might be able to shine some light on this, although I suspect your question would be better asked on the dev-irc channel.
Comment 2 David Kredba 2015-08-07 11:44:14 UTC
Got it too on Gentoo with 5.0.0.5 ebuild and gcc-5.2.0.
Comment 3 Michael Meeks 2015-08-24 07:29:41 UTC
Ho hum; so --enable-telepathy is somewhat experimental and ~deprecated. Then again - as you see those dialogs do need updating to use the latest VclPtr stuff - patches appreciated =) what is your interest in that code ? I'd hope you're a developer if you're turning it on -> can submit a fix.
Thanks !
Comment 4 QA Administrators 2016-09-20 10:26:07 UTC Comment hidden (obsolete)
Comment 5 Gabor Kelemen (allotropia) 2017-06-27 14:09:04 UTC
Now that the Telepathy feature was removed[1], I think we can close this one.

[1] https://wiki.documentfoundation.org/Proposals_for_removing_features#Telepathy_Tubes_interface and 
https://cgit.freedesktop.org/libreoffice/core/commit/?id=b7b159d79c2b4ec53915e0b9c3e28912c289a5ba