Package: gnome-contacts
Version: 3.12.0-1
Usertags: goto-cc
Tags: upstream
Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=730120

During a rebuild of all Debian 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..  -include config.h -pthread -I/usr/include/gtk-3.0 
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/gtk-3.0 
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 
-I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 
-I/usr/include/libdrm -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 
-I/usr/include/libpng12 -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/nss 
-I/usr/include/nspr -I/usr/include/libsecret-1 -I/usr/include/libsoup-2.4 
-I/usr/include/libxml2 -I/usr/include/goa-1.0 
-I/usr/lib/x86_64-linux-gnu/goa-1.0/include -I/usr/include/gee-0.8 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/gnome-desktop-3.0 -I/usr/include/evolution-data-server 
-I/usr/include/gsettings-desktop-schemas  -I../libgd 
-DLOCALEDIR=\""/usr/share/locale"\" 
-DPKGDATADIR=\""/usr/share/gnome-contacts"\" 
-DPKGLIBDIR=\""/usr/lib/gnome-contacts"\" -DGNOME_DESKTOP_USE_UNSTABLE_API  
-D_REENTRANT -pthread -I/usr/include/cheese -I/usr/include/gtk-3.0 
-I/usr/include/clutter-gtk-1.0 -I/usr/include/gtk-3.0 
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include 
-I/usr/include/cheese -I/usr/include/clutter-gst-2.0 
-I/usr/include/gstreamer-1.0 -I/usr/include/clutter-1.0 -I/usr/include/cogl 
-I/usr/include/atk-1.0 -I/usr/include/cogl -I/usr/include/json-glib-1.0 
-I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/cairo 
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm 
-I/usr/include/libpng12 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -D_FORTIFY_SOURCE=2  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-Wall -c -o contacts-types.o contacts-types.c

file contacts-types.c line 212: structure member designator 2 out of bounds (2)
CONVERSION ERROR

Looking at recent build logs, even GCC reports a whole range of these:

https://buildd.debian.org/status/fetch.php?pkg=gnome-contacts&arch=amd64&ver=3.12.0-1%2Bb1&stamp=1398540939

It seems all of these relate to the _ContactsTypeSetInitData type:

http://sources.debian.net/src/gnome-contacts/3.12.0-1/src/contacts-types.c?hl=85,86,87,88#L85

Either the initializers or the type should be fixed.

Best,
Michael

Attachment: pgpoEcoFrCxxe.pgp
Description: PGP signature

Reply via email to