Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 209277

Summary: net-im/climm fails to compile with gnutls support
Product: Gentoo Linux Reporter: Andreas Weber <andreas>
Component: Current packagesAssignee: Markus Ullmann (RETIRED) <jokey>
Status: VERIFIED TEST-REQUEST    
Severity: normal CC: andreas, net-im
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: full compile output

Description Andreas Weber 2008-02-07 17:45:28 UTC
net-im/climm-0.6.1-r1 fails to compile on my machine. I tried to USE="gnutls" to work around the problem.
I don't think it has any effect on the actual compilation.

If i understand the ebuild correctly, the ./configuree script shall be called with  "--enable-ssl=gnutls" when USE="gnutls" is set. It looks like it isn't though.
Comment 1 Andreas Weber 2008-02-07 17:47:10 UTC
Created attachment 142917 [details]
full compile output
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-02-07 17:49:35 UTC
<snip>
jabber_base.cpp: In constructor 'CLIMMXMPP::CLIMMXMPP(Connection*)':
jabber_base.cpp:106: error: 'class gloox::Client' has no member named 'setAutoPresence'
jabber_base.cpp:107: error: 'class gloox::Client' has no member named 'setInitialPriority'
jabber_base.cpp:111: error: 'class gloox::Client' has no member named 'fileDescriptor'
jabber_base.cpp: In function 'bool DropAttrib(gloox::Tag*, const std::string&)':
jabber_base.cpp:188: error: no matching function for call to 'std::list<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::erase(const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/list.tcc:95: note: candidates are: typename std::list<_Tp, _Alloc>::iterator std::list<_Tp, _Alloc>::erase(std::_List_iterator<_Tp>) [with _Tp = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Alloc = std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >]
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_list.h:871: note:                 std::_List_iterator<_Tp> std::list<_Tp, _Alloc>::erase(std::_List_iterator<_Tp>, std::_List_iterator<_Tp>) [with _Tp = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Alloc = std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >]
jabber_base.cpp: In member function 'virtual void CLIMMXMPP::handleMessage(gloox::Stanza*)':
jabber_base.cpp:639: error: invalid conversion from 'gloox::Tag*' to 'gloox::Stanza*'
jabber_base.cpp: In member function 'virtual void CLIMMXMPP::handlePresence(gloox::Stanza*)':
jabber_base.cpp:708: error: invalid conversion from 'gloox::Tag*' to 'gloox::Stanza*'
jabber_base.cpp: In member function 'virtual void CLIMMXMPP::handleSubscription(gloox::Stanza*)':
jabber_base.cpp:734: error: 'class gloox::Stanza' has no member named 'show'
jabber_base.cpp: In member function 'virtual void CLIMMXMPP::handleLog(gloox::LogLevel, gloox::LogArea, const std::string&)':
jabber_base.cpp:768: error: 'LogAreaClassConnection' is not a member of 'gloox'
jabber_base.cpp: In function 'Event* ConnectionInitXMPPServer(Connection*)':
jabber_base.cpp:976: error: cannot allocate an object of abstract type 'CLIMMXMPP'
jabber_base.cpp:43: note:   because the following virtual functions are pure within 'CLIMMXMPP':
/usr/include/gloox/messagehandler.h:51: note:   virtual void gloox::MessageHandler::handleMessage(gloox::Stanza*, gloox::MessageSession*)
make[1]: *** [jabber_base.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/net-im/climm-0.6.1-r1/work/climm-0.6.1/src'
make: *** [all-recursive] Error 1
 * 
 * ERROR: net-im/climm-0.6.1-r1 failed.
</snip>
Comment 3 Andreas Weber 2008-02-07 21:07:38 UTC
true, but i think the ebuild problem is another problem:


 * Using gnutls
/usr/portage/net-im/climm/climm-0.6.1-r1.ebuild: line 37: myconf: command not found
 * econf: updating climm-0.6.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating climm-0.6.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-gloox --disable-otr --enable-ssl --disable-tcl --build=i686-pc-linux-gnu

shouldn't it be --enable-ssl=gnutls?
The "myconf: command not found" doesn't look good as well..
Comment 4 Markus Ullmann (RETIRED) gentoo-dev 2008-02-10 18:56:48 UTC
stripped the spaces in the assignments for 0.6.1-r1, please retry now

(dunno how they made their way in there in the first place though)
Comment 5 Andreas Weber 2008-02-10 22:39:08 UTC
 * econf: updating climm-0.6.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-gloox --disable-otr --enable-ssl --disable-tcl --enable-ssl=gnutls --build=i686-pc-linux-gnu

Apparently it works so far.
Climm still fails to compile though...