Bug#866989: sysprof FTBFS on !i386 32bit: error: cast increases required alignment of target type

Adrian Bunk bunk at debian.org
Mon Jul 3 09:30:25 UTC 2017


Source: sysprof
Version: 3.22.3-2
Severity: serious

https://buildd.debian.org/status/package.php?p=sysprof&suite=sid

...
In file included from /usr/include/glib-2.0/gobject/gobject.h:24:0,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from sp-capture-types.h:25,
                 from sp-capture-condition.h:22,
                 from sp-cpu-visualizer-row.c:21:
sp-zoom-manager.h: In function 'SP_ZOOM_MANAGER':
/usr/include/glib-2.0/gobject/gtype.h:2212:6: error: cast increases required alignment of target type [-Werror=cast-align]
     ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
      ^
/usr/include/glib-2.0/gobject/gtype.h:482:66: note: in expansion of macro '_G_TYPE_CIC'
 #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type)    (_G_TYPE_CIC ((instance), (g_type), c_type))
                                                                  ^~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1404:12: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST'
     return G_TYPE_CHECK_INSTANCE_CAST (ptr, module_obj_name##_get_type (), ModuleObjName); }             \
            ^~~~~~~~~~~~~~~~~~~~~~~~~~
sp-zoom-manager.h:30:1: note: in expansion of macro 'G_DECLARE_FINAL_TYPE'
 G_DECLARE_FINAL_TYPE (SpZoomManager, sp_zoom_manager, SP, ZOOM_MANAGER, GObject)
 ^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:1171: recipe for target 'libsysprof_ui_2_la-sp-cpu-visualizer-row.lo' failed
make[4]: *** [libsysprof_ui_2_la-sp-cpu-visualizer-row.lo] Error 1



More information about the pkg-gnome-maintainers mailing list