Package: irssi-plugin-xmpp
Version: 0.52+git20140102-1
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.

[...]
cc -Wl,-z,relro -shared -shared -o libxmpp_core.so xmpp-commands.o xmpp-core.o 
xmpp-queries.o xmpp-servers.o xmpp-servers-reconnect.o xmpp-settings.o 
loudmouth-tools.o protocol.o rosters.o rosters-tools.o stanzas.o tools.o 
popenRWE.o xep/chatstates.o xep/composing.o xep/datetime.o xep/delay.o 
xep/disco.o xep/muc-commands.o xep/muc-events.o xep/muc-nicklist.o 
xep/muc-reconnect.o xep/muc.o xep/oob.o xep/ping.o xep/registration.o 
xep/tool_datalist.o xep/vcard.o xep/version.o xep/xep.o `pkg-config --libs 
loudmouth-1.0 | sed -e's/-lidn//'`
tools.o: In function `call_gpg':
/srv/jenkins-slave/workspace/sid-goto-cc-irssi-plugin-xmpp/irssi-plugin-xmpp-0.52+git20140102/src/core/tools.c:57:
 warning: the use of `tempnam' is dangerous, better use `mkstemp'

error: conflicting function declarations "set_ssl"
old definition in module xmpp-servers file xmpp-servers.c line 412
signed int (struct _LmConnection *lmconn, struct _GError **error, void 
*user_data, signed int use_starttls)
new definition in module registration file xep/registration.c line 39
signed int (struct _LmConnection *, struct _GError **, void *)
../rules.mk:13: recipe for target 'libxmpp_core.so' failed
make[4]: *** [libxmpp_core.so] Error 64
make[4]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-irssi-plugin-xmpp/irssi-plugin-xmpp-0.52+git20140102/src/core'
Makefile:2: recipe for target 'all' failed
make[3]: *** [all] Error 2

The wrong declaration here

http://sources.debian.net/src/irssi-plugin-xmpp/0.52+git20140102-1/src/core/xep/registration.c?hl=39#L39

shadows the stack underflow occurring in the call here:

http://sources.debian.net/src/irssi-plugin-xmpp/0.52+git20140102-1/src/core/xep/registration.c?hl=176#L176

For reference, here's the definition:

http://sources.debian.net/src/irssi-plugin-xmpp/0.52+git20140102-1/src/core/xmpp-servers.c?hl=412#L412

Best,
Michael

Attachment: pgpoElWHzQh6p.pgp
Description: PGP signature

Reply via email to