Latest news from Duesseldorf and Bolzano

Daniel Hess daniel-gnupg-users at rio-grande.ping.de
Sat Nov 11 22:32:38 CET 2006


Hello

On Sat, Nov 11, 2006 at 03:15:03PM +0100, Werner Koch wrote:
> Today it is not just the awakening of Hoppeditz [1] but also GnuPG
> 2.0.0 has hit the server:
> 
>  ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.0.tar.bz2  (3813k)
>  ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.0.tar.bz2.sig
> 
> A real announcement will follow soon.

I've problems building it on debian unstable with GNU Pth.

The build is aborted with the following error message:

if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../gl -I/usr/include \  -I/usr/include -Wall -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wno-format-y2k -Wformat-security -Wformat-nonliteral -Wno-pointer-sign -MT libcommonpth_a-estream.o -MD -MP -MF ".deps/libcommonpth_a-estream.Tpo" -c -o libcommonpth_a-estream.o `test -f 'estream.c' || echo './'`estream.c; \
        then mv -f ".deps/libcommonpth_a-estream.Tpo" ".deps/libcommonpth_a-estream.Po"; else rm -f ".deps/libcommonpth_a-estream.Tpo"; exit 1; fi
estream.c: In function ‘es_print’:
estream.c:1689: error: ‘cookie_io_functions_t’ has no member named ‘pth_write’

I've traced it down to pth.h which has PTH_SYSCALL_SOFT to 1 per
default, because it's configured with --enable-pthread, which implies
--enable-syscall-soft, by debian. With PTH_SYSCALL_SOFT set to 1 the
pth.h header enables some #defines which replace write with pth_write.
This way io.write is replaced with io.pth_write and the non existing
member pth_write is used, which does not succeed.

I've now placed an "# define PTH_SYSCALL_SOFT 0" top of
"# include <pth.h>", which disables the define in pth.h.

Greetings

Daniel



More information about the Gnupg-devel mailing list