Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634908 - net-libs/gloox-1.0.9 will not rebuild with USE gnutls: new non-vulnerable gnutls breaks the API
Summary: net-libs/gloox-1.0.9 will not rebuild with USE gnutls: new non-vulnerable gnu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-21 01:09 UTC by deference
Modified: 2017-10-22 00:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build-gloox.txt,117.54 KB, text/plain)
2017-10-21 01:09 UTC, deference
Details
emerge --info (emergeinfo-gloox.txt,31.74 KB, text/plain)
2017-10-21 01:09 UTC, deference
Details

Note You need to log in before you can comment on or make changes to this bug.
Description deference 2017-10-21 01:09:00 UTC
There are probably other affected versions.
I have not tested them all but version 1.0.20 works.


[ebuild   R   ] net-libs/gloox-1.0.9  USE="gnutls* idn ssl zlib -debug" 

libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -pedantic -pipe -W -Wfloat-equal -Wcast-align -Wsign-compare -Wpointer-arith -Wswitch -Wunknown-pragmas -Wconversion -Wundef -Wcast-qual -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wno-long-long -pthread -g3 -fno-inline -DDEBUG -pipe -O2 -ansi -c tlsgnutlsclient.cpp  -fPIC -DPIC -o .libs/tlsgnutlsclient.o
In file included from tlsgnutlsclient.cpp:15:0:
tlsgnutlsclient.h:74:38: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations]
       gnutls_certificate_credentials m_credentials;
                                      ^
In file included from /usr/include/gnutls/gnutls.h:2865:0,
                 from tlsgnutlsbase.h:24,
                 from tlsgnutlsclient.h:18,
                 from tlsgnutlsclient.cpp:15:
/usr/include/gnutls/compat.h:95:5: note: declared here
     gnutls_certificate_credentials _GNUTLS_GCC_ATTR_DEPRECATED;
     ^
tlsgnutlsclient.cpp: In member function 'virtual bool gloox::GnuTLSClient::init(const string&, const string&, const StringList&)':
tlsgnutlsclient.cpp:76:64: error: 'gnutls_protocol_set_priority' was not declared in this scope
     gnutls_protocol_set_priority( *m_session, protocolPriority );
                                                                ^
tlsgnutlsclient.cpp:77:60: error: 'gnutls_cipher_set_priority' was not declared in this scope
     gnutls_cipher_set_priority( *m_session, cipherPriority );
                                                            ^
tlsgnutlsclient.cpp:78:63: error: 'gnutls_compression_set_priority' was not declared in this scope
     gnutls_compression_set_priority( *m_session, compPriority );
                                                               ^
tlsgnutlsclient.cpp:79:52: error: 'gnutls_kx_set_priority' was not declared in this scope
     gnutls_kx_set_priority( *m_session, kxPriority );
                                                    ^
tlsgnutlsclient.cpp:80:54: error: 'gnutls_mac_set_priority' was not declared in this scope
     gnutls_mac_set_priority( *m_session, macPriority );
                                                      ^
Comment 1 deference 2017-10-21 01:09:14 UTC
Created attachment 499420 [details]
build.log
Comment 2 deference 2017-10-21 01:09:23 UTC
Created attachment 499422 [details]
emerge --info
Comment 3 Andreas Sturmlechner gentoo-dev 2017-10-22 00:07:45 UTC
Old versions cleaned up and package dropped back to ~arch, git commit c0ed89ac5f5712fbeab0dcdd602e9181e41f0b7c.