Comment 1 for bug 295719

Revision history for this message
Benjamin Drung (bdrung) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The package is build once for i386 and once for amd64. So there should be no 32 and 64 bit libraries mixed. Building matplotlib 0.98.3-6 on intrepid produces following warning. It looks like that the warning has something to do with this bug.

building 'matplotlib.backends._backend_gdk' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -fPIC -I/usr/lib/python2.4/site-packages/numpy/core/include -I/usr/include -I. -I/usr/include -I. -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/python2.4 -c src/backend_gdk.c -o build/temp.linux-x86_64-2.4/src/backend_gdk.o
In file included from /usr/include/gtk-2.0/gtk/gtk.h:224,
                 from /usr/include/pygtk-2.0/pygtk/pygtk.h:8,
                 from src/backend_gdk.c:9:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isn’t a prototype
src/backend_gdk.c: In function ‘pixbuf_get_pixels_array’:
src/backend_gdk.c:48: warning: passing argument 2 of ‘(struct PyObject * (*)(int, int *, struct PyArray_Descr *, char *))*(PyArray_API + 544u)’ from incompatible pointer type