Package: mangler
Version: 1.2.5-2
Severity: wishlist
Usertags: goto-cc
Tags: upstream

During a rebuild of all packages in a clean sid chroot (and cowbuilder+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.

[...]
libtool: link: gcc -shared  -fPIC -DPIC  .libs/libventrilo3.o 
.libs/libventrilo3_message.o .libs/ventrilo3_handshake.o   -lspeex -lopus -lm 
-lespeak /usr/lib/libg15daemon_client.so /usr/lib/libg15render.so -lxosd -lgsm  
-O2 -pthread -Wl,-z -Wl,relro -Wl,--as-needed   -pthread -Wl,-soname 
-Wl,libventrilo3.so.0 -o .libs/libventrilo3.so.0.0.0

error: conflicting function declarations "ventrilo3_handshake"
old definition in module libventrilo3 file libventrilo3.h line 642
signed int (unsigned int, unsigned short int, unsigned char *, unsigned int *, 
unsigned char *)
new definition in module ventrilo3_handshake file ventrilo3_handshake.c line 100
unsigned int (unsigned int ip, unsigned short int port, unsigned char 
*handshake, unsigned int *handshake_num, unsigned char *handshake_key)
Makefile:436: recipe for target 'libventrilo3.la' failed
make[4]: *** [libventrilo3.la] Error 64
make[4]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-mangler/mangler-1.2.5/libventrilo3'
Makefile:425: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1

Observe the difference between definition and declaration on on the return type;
in this case actually the declaration in the header file appears to be more
correct than the implementation as it uses -1 as return value.

Best,
Michael

PS.: If the maintainer is registered with upstream's forum, please feel free to
forward the bug.

Attachment: pgp9XZRicln14.pgp
Description: PGP signature

Reply via email to