[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#614492: gnupg-pkcs11-scd: FTBFS: scdaemon.c:132: error: too few arguments to function 'assuan_register_command'



Source: gnupg-pkcs11-scd
Version: 0.06-7
Severity: serious
Tags: squeeze sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20110221 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> gcc -DHAVE_CONFIG_H -I.     -g -O2        -c scdaemon.c
> scdaemon.c: In function 'register_commands':
> scdaemon.c:132: warning: passing argument 3 of 'assuan_register_command' from incompatible pointer type
> /usr/include/assuan.h:288: note: expected 'assuan_handler_t' but argument is of type 'int (*)(struct assuan_context_s *, char *)'
> scdaemon.c:132: error: too few arguments to function 'assuan_register_command'
> scdaemon.c: In function 'command_handler':
> scdaemon.c:161: warning: passing argument 1 of 'assuan_init_pipe_server' from incompatible pointer type
> /usr/include/assuan.h:343: note: expected 'assuan_context_t' but argument is of type 'struct assuan_context_s **'
> scdaemon.c:166: error: 'ASSUAN_No_Error' undeclared (first use in this function)
> scdaemon.c:166: error: (Each undeclared identifier is reported only once
> scdaemon.c:166: error: for each function it appears in.)
> scdaemon.c:175: warning: passing argument 2 of 'assuan_set_log_stream' makes pointer from integer without a cast
> /usr/include/assuan.h:282: note: expected 'struct FILE *' but argument is of type 'int'
> make[3]: *** [scdaemon.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/02/21/gnupg-pkcs11-scd_0.06-7_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |



Reply to: