[Pkg-samba-maint] Bug#749824: openchange: Conflicting declarations of function ocpf_yylex_init_extra

Michael Tautschnig mt at debian.org
Thu May 29 23:29:35 UTC 2014


Package: openchange
Version: 1:2.1-1
Severity: wishlist
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.

[...]
Linking libocpf.so.2.0

error: conflicting function declarations "ocpf_yylex_init_extra"
old definition in module lex.yy file <stdout> line 2497
signed int (struct ocpf_context *yy_user_defined, void **ptr_yy_globals)
new definition in module ocpf_public file libocpf/ocpf_public.c line 32
signed int (struct ocpf_context *, void *)
Makefile:654: recipe for target 'libocpf.so.2.0' failed
make[2]: *** [libocpf.so.2.0] Error 64
make[2]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-openchange/openchange-2.1'
debian/rules:38: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2

Observe the difference in pointer depth on the second parameter when declared
here:

http://sources.debian.net/src/openchange/1:2.1-1/libocpf/ocpf_public.c?hl=32#L32

Yet the call appears correct (thus contradicting the declaration):

http://sources.debian.net/src/openchange/1:2.1-1/libocpf/ocpf_public.c?hl=171#L171

as it matches the definition here:

http://sources.debian.net/src/openchange/1:2.1-1/libocpf/lex.yy.c?hl=2497#L2497

Thus the declaration in line 32 of ocpf_public.c should be adjusted.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20140530/c1e83b4f/attachment.sig>


More information about the Pkg-samba-maint mailing list