Bug#748563: Conflicting return types of getSettings

Michael Tautschnig mt at debian.org
Sun May 18 14:27:48 UTC 2014


Package: jackeq
Version: 0.5.9-2
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.

[...]
gcc -g -ffast-math -g -O2  -I/usr/include/libxml2  -Wall   -o jackeq jackeq-callbacks.o jackeq-gtkmeter.o jackeq-gtkmeterscale.o jackeq-interface.o jackeq-io-menu.o jackeq-djeq-ui.o jackeq-aux-ui.o jackeq-master-ui.o jackeq-monitor-ui.o jackeq-main.o jackeq-plugin.o jackeq-process.o jackeq-support.o jackeq-help.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype  -lm -ldl -lm -lpthread  -ljack -lpthread  -lxml2 

error: conflicting function declarations "getSettings"
old definition in module callbacks file main.h line 4
void ()
new definition in module main file main.c line 251
signed int (void)
Makefile:282: recipe for target 'jackeq' failed
make[3]: *** [jackeq] Error 64
make[3]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-jackeq/jackeq-0.5.9/src'
Makefile:282: recipe for target 'all-recursive' failed

Indeed this seems just an inconsistency of declarations here, as main.c lacks a
#include "main.h" and thus uses getSettings before its declaration has been
seen. Adding this #include will ensure no one inadvertently uses the
non-existent return value.

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-multimedia-maintainers/attachments/20140518/52d5ebd5/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list