Bug#747962: Conflicting return types of function stop_jack

Michael Tautschnig mt at debian.org
Tue May 13 10:38:00 UTC 2014


Package: bitmeter
Version: 1.2-3.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.

[...]
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2   -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c -o bitmeter-callbacks.o `test -f 'callbacks.c' || echo './'`callbacks.c
gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall  -Wl,-z,relro -o bitmeter  bitmeter-main.o bitmeter-jack.o bitmeter-support.o bitmeter-interface.o bitmeter-callbacks.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   -ljack -lm 

error: conflicting function declarations "stop_jack"
old definition in module main file main.c line 18
signed int ()
new definition in module jack file jack.c line 216
void ()
Makefile:233: recipe for target 'bitmeter' failed
make[3]: *** [bitmeter] Error 64
make[3]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-bitmeter/bitmeter-1.2/src'
Makefile:235: recipe for target 'all-recursive' failed

Reviewing the source code it seems that main.c does not use the (presumed)
return code of stop_jack, hence it would just take changing "int" to "void" in
line 18 of main.c.

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/20140513/0b508db5/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list