Package: pcsc-lite
Version: 1.8.11-3
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error. Please note that we
use our research compiler tool-chain (using tools from the cbmc package), which
permits extended reporting on type inconsistencies at link time.

[...]
  CCLD     pcscd

error: conflicting function declarations "IsClientAuthorized"
old definition in module auth file auth.c line 150
signed int (signed int socket, const char *action, const char *reader)
new definition in module winscard_svc file auth.h line 35
unsigned int (signed int, const char *, const char *)
Makefile:726: recipe for target 'pcscd' failed
make[4]: *** [pcscd] Error 64
make[4]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-pcsc-lite/pcsc-lite-1.8.11/src'
Makefile:1354: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1

It seems the simple version of IsClientAuthorized (that is used when building
the Debian package as it is built without polkit) does not match other
declarations and definitions of that function:

http://sources.debian.net/src/pcsc-lite/1.8.11-3/src/auth.c?hl=150#L150

This should be cleaned up to have appropriate compiler diagnostics.

Best,
Michael

Attachment: pgpYwz4TEfIuu.pgp
Description: PGP signature

Reply via email to