Package: cellwriter Version: 1.3.5-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.
[...] gcc -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"/usr/share/cellwriter\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-z,relro -o cellwriter main.o window.o keyevent.o cellwidget.o recognize.o stroke.o options.o averages.o wordfreq.o preprocess.o keywidget.o singleinstance.o statusicon.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 -lX11 -lXtst -lXtst -lX11 -lgtk-x11-2.0 -lm file src/statusicon.c line 204: error: conflicting function declarations "status_icon_create" old definition in module window file src/window.c line 57 signed int (void) new definition in module statusicon file src/statusicon.c line 204 void (void) make[2]: *** [cellwriter] Error 64 make[2]: Leaving directory `/srv/jenkins-slave/workspace/sid-goto-cc-cellwriter/cellwriter-1.3.5' make[1]: *** [all] Error 2 Indeed this seems just an inconsistency of declarations here, as the declaration in window.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
pgpNRaE3sRt_5.pgp
Description: PGP signature