Subject: | Conflicting declarations of function template_rdf_p_int_Handle_Bool_int |
Date: | Fri, 13 Jun 2014 14:27:43 +0100 |
To: | bug-Prima [...] rt.cpan.org |
From: | Michael Tautschnig <mt [...] debian.org> |
Debian package version: 1.28-1.2
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.
[...]
cc -shared -L/usr/local/lib -fstack-protector -Wl,--as-needed -L/usr/local/lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/lib -L/usr/lib -L/usr/local/lib -L/lib -o auto/Prima/Prima.so AbstractMenu.o AccelTable.o Application.o Clipboard.o Component.o DeviceBitmap.o Drawable.o File.o Icon.o Image.o Menu.o Object.o Popup.o primguts.o Printer.o Timer.o Utils.o Widget.o Widget_geometry.o Window.o img/bc_color.o img/bc_const.o img/bc_extra.o img/codec_bmp.o img/codec_jpeg.o img/codec_png.o img/codec_tiff.o img/codec_ungif.o img/codec_X11.o img/codec_Xpm.o img/codecs.o img/conv.o img/ic_conv.o img/img.o img/imgscale.o img/imgtype.o img/put.o unix/apc_app.o unix/apc_clipboard.o unix/apc_event.o unix/apc_font.o unix/apc_graphics.o unix/apc_img.o unix/apc_menu.o unix/apc_misc.o unix/apc_pointer.o unix/apc_timer.o unix/apc_widget.o unix/apc_win.o unix/color.o unix/gtk.o unix/xft.o -lXpm -lgif -ltiff -lpng -ljpeg -lm -lpthread -lc -lgcc -lX11 -lXext -lfontconfig -lXrender -lXft -lgtk-x11-2.0 -lgio-2.0 -lpangoft2-1.0 -lgobject-2.0 -lglib-2.0
error: conflicting function declarations "template_rdf_p_int_Handle_Bool_int"
old definition in module Application file include/generic/Application.inc line 676
signed int (char *, unsigned long int, signed int, unsigned int)
new definition in module File file include/generic/File.inc line 114
signed int (char *, unsigned long int, signed int, signed int)
Makefile:260: recipe for target 'auto/Prima/Prima.so' failed
make[1]: *** [auto/Prima/Prima.so] Error 64
It seems the source files mentioned above are generated in some way, thus I
couldn't easily track down the root cause of this issue. Yet whatever generates
these should fix the unsigned/signed int conflict on the last parameter - at the
very least to ensure that the compiler generates proper diagnostics, but also it
may be the case that undefined behaviour arises if too large values are being
passed in.
Best,
Michael
Message body not shown because it is not plain text.