Created attachment 291173 [details] build.log libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./inc -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I./inc -DLOCALEDIR=\"/usr/share/locale\" -march=barcelona -mtune=barcelona -O2 -pipe -c src/encrypt.cpp -fPIC -DPIC -o .libs/libnet6_la-encrypt.o In file included from src/encrypt.cpp:22:0: ./inc/encrypt.hpp:37:1: error: duplicate ‘unsigned’ ./inc/encrypt.hpp:37:31: error: multiple types in one declaration ./inc/encrypt.hpp:37:31: error: declaration does not declare anything [-fpermissive] src/encrypt.cpp:28:46: error: expected unqualified-id before ‘unsigned’ src/encrypt.cpp:29:2: error: expected ‘,’ or ‘;’ before ‘{’ token src/encrypt.cpp: In constructor ‘net6::tcp_encrypted_socket_base::tcp_encrypted_socket_base(net6::socket::socket_type, net6::gnutls_session_t)’: src/encrypt.cpp:181:2: warning: ‘int gnutls_kx_set_priority(gnutls_session_t, const int*)’ is deprecated (declared at /usr/include/gnutls/compat.h:283) [-Wdeprecated-declarations] src/encrypt.cpp:181:41: warning: ‘int gnutls_kx_set_priority(gnutls_session_t, const int*)’ is deprecated (declared at /usr/include/gnutls/compat.h:283) [-Wdeprecated-declarations] src/encrypt.cpp:205:39: error: ‘gnutls_transport_set_lowat’ was not declared in this scope src/encrypt.cpp: In constructor ‘net6::tcp_encrypted_socket_client::tcp_encrypted_socket_client(net6::tcp_client_socket&)’: src/encrypt.cpp:306:69: error: ‘{anonymous}::create_session’ cannot be used as a function src/encrypt.cpp: In constructor ‘net6::tcp_encrypted_socket_server::tcp_encrypted_socket_server(net6::tcp_client_socket&)’: src/encrypt.cpp:323:69: error: ‘{anonymous}::create_session’ cannot be used as a function src/encrypt.cpp: In constructor ‘net6::tcp_encrypted_socket_server::tcp_encrypted_socket_server(net6::tcp_client_socket&, net6::dh_params&)’: src/encrypt.cpp:337:69: error: ‘{anonymous}::create_session’ cannot be used as a function make[1]: *** [libnet6_la-encrypt.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-libs/net6-1.3.13/work/net6-1.3.13' make: *** [all-recursive] Error 1 * ERROR: net-libs/net6-1.3.13 failed (compile phase): * emake failed
+ 30 Oct 2011; Kacper Kowalik <xarthisius@gentoo.org> ChangeLog: + Backport upstream patch to fix building with gnutls-3. Fixes bug #388897 by + Lars Wendler <polynomial-c@gentoo.org>