gobject-inspection ftbfs on armel and powerpc

Bug #857314 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GObject Introspection
Fix Released
Medium
gobject-introspection (Ubuntu)
Fix Released
High
Martin Pitt
Oneiric
Fix Released
High
Martin Pitt

Bug Description

/usr/bin/make check-TESTS
make[6]: Entering directory `/build/buildd/gobject-introspection-1.30.0/tests/repository'
Successfully found GCancellable
PASS: gitestrepo
PASS: gitestthrows
**
ERROR:./gitypelibtest.c:124:test_size_of_struct_with_array_of_anon_unions: assertion failed: (g_struct_info_get_size (struct_info) == sizeof (GType) + 2*sizeof (gint64))
/bin/bash: line 5: 18738 Aborted env GI_TYPELIB_PATH=../..:../../gir:../../tests:../../tests/scanner: XDG_DATA_DIRS="../../gir:" ${dir}$tst
FAIL: gitypelibtest
=============================================================================================
1 of 3 tests failed
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection
=============================================================================================
make[6]: *** [check-TESTS] Error 1

Matthias Klose (doko)
Changed in gobject-introspection (Ubuntu Oneiric):
importance: Undecided → High
milestone: none → ubuntu-11.10
status: New → Confirmed
Martin Pitt (pitti)
Changed in gobject-introspection (Ubuntu Oneiric):
status: Confirmed → In Progress
assignee: nobody → Martin Pitt (pitti)
Changed in gobject-introspection:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
Martin Pitt (pitti) wrote :

Patch sent upstream.

Changed in gobject-introspection (Ubuntu Oneiric):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gobject-introspection - 1.30.0-0ubuntu2

---------------
gobject-introspection (1.30.0-0ubuntu2) oneiric; urgency=low

  * Add 01-account_for_padding_in_struct_size_check.patch: On some platform
    like armel or powerpc the compiler adds extra padding to structs. Make the
    test_size_of_struct_with_array_of_anon_unions() check more liberal by only
    requiring that the size of the struct is at least as big as expected. Also
    use g_assert_cmpuint() to make it easier to see the actual diff. This
    fixes FTBFS on armel/powerpc. (LP: #857314)
 -- Martin Pitt <email address hidden> Wed, 28 Sep 2011 10:34:48 +0200

Changed in gobject-introspection (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Changed in gobject-introspection:
status: New → In Progress
Changed in gobject-introspection:
status: In Progress → Confirmed
Changed in gobject-introspection:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.