Package: libaqbanking
Version: 5.4.3beta-1
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.

[...]
libtool: link: gcc -fvisibility=hidden -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -g -Wall 
-Wdeclaration-after-statement -Wl,-z -Wl,relro -g -o .libs/aqbanking-cli main.o 
 
/srv/jenkins-slave/workspace/sid-goto-cc-libaqbanking/libaqbanking-5.4.3beta/src/plugins/backends/aqhbci/plugin/.libs/libaqhbci.so
 
/srv/jenkins-slave/workspace/sid-goto-cc-libaqbanking/libaqbanking-5.4.3beta/src/libs/aqbanking/.libs/libaqbanking.so
 -L/usr/lib -lgwenhywfar -lstdc++

error: conflicting function declarations "AH_Provider_SendDtazv"
old definition in module main file senddtazv.c line 42
signed int (struct AB_PROVIDER *, struct AB_ACCOUNT *, struct 
AB_IMEXPORTER_CONTEXT *, const unsigned char *, unsigned int, signed int, 
unsigned int)
new definition in module provider file provider.c line 4086
signed int (struct AB_PROVIDER *pro, struct AB_ACCOUNT *a, struct 
AB_IMEXPORTER_CONTEXT *ctx, const unsigned char *dataPtr, unsigned int dataLen, 
signed int withProgress, signed int nounmount, signed int doLock)

reason for conflict:
parameter counts differ (7/8)

Makefile:566: recipe for target 'aqbanking-cli' failed
make[6]: *** [aqbanking-cli] Error 64
make[6]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-libaqbanking/libaqbanking-5.4.3beta/src/tools/aqbanking-cli'
Makefile:487: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-libaqbanking/libaqbanking-5.4.3beta/src/tools'
Makefile:487: recipe for target 'all-recursive' failed

This type conflict is shadowed by the wrong declaration here:

http://sources.debian.net/src/libaqbanking/5.4.3beta-1/src/tools/aqbanking-cli/senddtazv.c?hl=42#L42

The correct declaration can be found here:

http://sources.debian.net/src/libaqbanking/5.4.3beta-1/src/plugins/backends/aqhbci/plugin/banking/provider_l.h?hl=24#L24

As the implementation requires an additional argument, the value of that
argument will be undefined. Furthermore it seems the order of the final
parameters may be mixed up, so behaviour will be far from the expected one.

Best,
Michael

Attachment: pgp_IX3MgCVjB.pgp
Description: PGP signature

Reply via email to