Package: ion
Version: 3.2.0~dfsg1-1
Severity: wishlist
Usertags: goto-cc

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  bp/library/.libs/libbp_la-libbp.o 
bp/library/.libs/libbp_la-libbpP.o bp/library/.libs/libbp_la-libbpnm.o 
bp/library/ext/phn/.libs/libbp_la-phn.o 
bp/library/ext/ecos/.libs/libbp_la-ecos.o bp/library/.libs/libbp_la-bei.o 
bp/library/ext/bae/.libs/libbp_la-bae.o 
bp/library/ext/bsp/.libs/libbp_la-extbsputil.o 
bp/library/ext/bsp/.libs/libbp_la-extbspbab.o 
bp/library/ext/bsp/.libs/libbp_la-extbsppcb.o 
bp/library/ext/bsp/.libs/libbp_la-extbsppib.o 
bp/library/crypto/NULL_SUITES/.libs/libbp_la-crypto.o 
bp/library/acs/.libs/libbp_la-acsrx.o bp/library/acs/.libs/libbp_la-acstx.o 
bp/library/acs/.libs/libbp_la-acsserialize.o 
bp/library/acs/.libs/libbp_la-acsappend.o bp/library/acs/.libs/libbp_la-acsid.o 
bp/library/ext/cteb/.libs/libbp_la-cteb.o bp/imc/.libs/libbp_la-libimcfw.o   
-Wl,-rpath 
-Wl,/srv/jenkins-slave/workspace/sid-goto-cc-ion/ion-3.2.0~dfsg1/.libs 
-lpthread ./.libs/libici.so  -O2 -Wl,-z -Wl,relro   -Wl,-soname -Wl,libbp.so.0 
-o .libs/libbp.so.0.0.0

error: conflicting function declarations "bpEndpointTally"
old definition in module libbp file bp/library/libbp.c line 19
signed int (VEndpoint *, unsigned int, unsigned int)
new definition in module libbpP file bp/library/libbpP.c line 341
void (VEndpoint *vpoint, unsigned int idx, unsigned int size)
Makefile:3309: recipe for target 'libbp.la' failed
make[4]: *** [libbp.la] Error 64
make[4]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-ion/ion-3.2.0~dfsg1'
Makefile:8439: recipe for target 'all-recursive' failed

Indeed this seems just an inconsistency of declarations here, as the declaration
in libbp.c wrongly specifies the return type as int - but no function call
actually uses the return value. Fixing the forward declaration will ensure no
one inadvertently uses the non-existent return value.

Best,
Michael

Attachment: pgptRG9CAKJxl.pgp
Description: PGP signature

Reply via email to