Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388897 - net-libs/net6-1.3.13 fails to compile with =net-libs/gnutls-3*
Summary: net-libs/net6-1.3.13 fails to compile with =net-libs/gnutls-3*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-29 22:02 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2011-10-30 09:08 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,16.39 KB, text/plain)
2011-10-29 22:02 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-10-29 22:02:11 UTC
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
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-10-30 09:08:57 UTC
+  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>