Source: abiword
Version: 3.0.0-4
Severity: serious
Justification: fails to build from source (but built successfully in the past)
User: [email protected]
Usertags: gnutls3
Hello,
abiword fails to build from source:
--------------
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../../.. -pthread
-I/usr/include/libgsf-1 -I/usr/include/telepathy-1.0 -I/usr/include/gtk-3.0
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/gtk-3.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libdrm -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/libpng12 -I/usr/include/dbus-1.0
-I/usr/lib/i386-linux-gnu/dbus-1.0/include -I/usr/include/libsoup-2.4
-I/usr/include/libxml2 -I/usr/include/glib-2.0
-I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/p11-kit-1
-I/usr/include/loudmouth-1.0 -DABICOLLAB_HANDLER_TELEPATHY
-DABICOLLAB_HANDLER_XMPP -DABICOLLAB_HANDLER_TCP -DABICOLLAB_HANDLER_SUGAR
-DABICOLLAB_HANDLER_SERVICE -DSOUP24 -pthread -I/usr/include/glib-2.0
-I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libpng12 -pthread
-I/usr/include/fribidi -I/usr/include/wv -I/usr/include/freetype2
-I/usr/include/enchant -I/usr/include/libgsf-1 -I/usr/include/rasqal
-I/usr/include/raptor2 -I/usr/include/nss -I/usr/include/nspr
-I/usr/include/libsecret-1 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2
-I/usr/include/cairo -I/usr/include/gtk-3.0/unix-print -I/usr/include/gtk-3.0
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
-I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include
-I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/librsvg-2.0
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/cairo
-I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng12
-I/usr/include/freetype2 -I/usr/include/libgoffice-0.10
-I/usr/include/evolution-data-server -I/usr/include -I../../../../..
-I../../../../../src/af/ev/gtk -I../../../../../src/af/ev/xp
-I../../../../../src/af/gr/gtk -I../../../../../src/af/gr/xp
-I../../../../../src/af/util/unix -I../../../../../src/af/util/xp
-I../../../../../src/af/xap/gtk -I../../../../../src/af/xap/xp
-I../../../../../src/text/fmt/gtk -I../../../../../src/text/fmt/xp
-I../../../../../src/text/ptbl/xp -I../../../../../src/wp/impexp/gtk
-I../../../../../src/wp/impexp/xp -I../../../../../src/wp/ap/gtk
-I../../../../../src/wp/ap/xp -I../../../../../src/plugins -DABI_DLL -I./..
-I./../.. -I./../../.. -I./../../../core -D_FORTIFY_SOURCE=2 -Wall -Wextra
-Wsign-compare -Wpointer-arith -Wchar-subscripts -Wwrite-strings
-Wmissing-noreturn -Wunused -Wpointer-arith -Wshadow -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security
-Wno-overloaded-virtual -MT ServiceUnixAccountHandler.lo -MD -MP -MF
.deps/ServiceUnixAccountHandler.Tpo -c ServiceUnixAccountHandler.cpp -fPIC
-DPIC -o .libs/ServiceUnixAccountHandler.o
In file included from ./../../../backends/service/xp/RealmConnection.h:31:0,
from
./../../../backends/service/xp/AbiCollabSaveInterceptor.h:23,
from ./../../../backends/service/xp/ServiceAccountHandler.h:33,
from ServiceUnixAccountHandler.h:23,
from ServiceUnixAccountHandler.cpp:20:
./../../../backends/service/xp/tls_tunnel.h:43:20: fatal error: gcrypt.h: No
such file or directory
#include <gcrypt.h>
^
compilation terminated.
Makefile:625: recipe for target 'ServiceUnixAccountHandler.lo' failed
--------------
It will probably build successfully if you add a build-dependency on
libgcrypt20-dev.
This part of plugins/collab/backends/service/xp/tls_tunnel.cpp might
require changes:
-----------------------
static struct gcry_thread_cbs gcry_threads_tunnel =
{ GCRY_THREAD_OPTION_USER, NULL,
gcry_tunnel_mutex_init, gcry_tunnel_mutex_destroy,
gcry_tunnel_mutex_lock, gcry_tunnel_mutex_unlock,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL };
bool Proxy::tls_tunnel_init() {
if (gcry_control(GCRYCTL_SET_THREAD_CBS,
&tls_tunnel::gcry_threads_tunnel) != 0)
-----------------------
-------- /usr/share/doc/libgnutls26/NEWS.gz ---
* Version 2.11.2 (released 2010-10-08)
[...]
** libgnutls: Added gnutls_global_set_mutex() to allow setting
alternative locking procedures. By default the system available
locking is used. In *NIX pthreads are used and in windows the
critical section API. This follows a different approach than the
previous versions that depended on libgcrypt initialization. The
locks are now set by default in systems that support it. Programs
that used gcry_control() to set thread locks should insert it into
a block of
#if GNUTLS_VERSION_NUMBER <= 0x020b00
gcry_control(...)
#endif
-----------------------------------------------
Current gnutls does not use gcrypt as crypto backend anymore therefore
this part of the code should probably be either dropped or replaced
with gnutls_global_set_mutex().
cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]