Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326327 - dev-libs/glib-2.24.1 patches for IRIX (and all non-GNUC)
Summary: dev-libs/glib-2.24.1 patches for IRIX (and all non-GNUC)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All IRIX
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-30 15:22 UTC by Stuart Shelton
Modified: 2011-12-15 19:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
glib-2.22.4-irix.patch (glib-2.22.4-irix.patch,3.18 KB, patch)
2010-06-30 15:25 UTC, Stuart Shelton
Details | Diff
glib-2.24.1-irix.patch (glib-2.24.1-irix.patch,1.74 KB, patch)
2010-06-30 15:28 UTC, Stuart Shelton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2010-06-30 15:22:25 UTC
Patch attached to resolve compilation failures in glib test-suite.

Note that this is needed in addition to glib-2.22.4-irix.patch... which not I check I don't appear to have posted previously, so I'll attach that too ;)

The test-suite still fails when performing gvariant tests with:

TEST: gvariant... (pid=5738363)
  /gvariant/type:                                                      OK
  /gvariant/typeinfo:                                                  **
ERROR:gvariant.c:914:check_offsets: assertion failed (member->i == last_offset_index): (0 == 0)
FAIL
GTester: last random seed: R02S08263749ac958688a7d153549868dfa9                                                                                                                                    /opt/gentoo/bin/bash: line 1: 5738636 Terminated              ../../glib/gtester --verbose testing option-context keyfile fileutils printf rand strfuncs string markup-subparser array-test hostutils gvariant mem-overflow
make[5]: *** [test] Error 143
make[5]: Leaving directory `/opt/gentoo/var/tmp/portage/dev-libs/glib-2.24.1/work/glib-2.24.1/glib/tests'
Comment 1 Stuart Shelton 2010-06-30 15:25:55 UTC
Created attachment 237051 [details, diff]
glib-2.22.4-irix.patch


Patch to allow glib-2.22+ to build successfully on IRIX.
Comment 2 Stuart Shelton 2010-06-30 15:28:39 UTC
Created attachment 237053 [details, diff]
glib-2.24.1-irix.patch


Patch to fix test cases on IRIX, to prevent compiler ERROR notices.

('GVariantSerialised empty = {  };' could have been changed to 'GVariantSerialised empty;', but this causes lots of warnings about using a variable before it has been initialised - and I'm not convinced this is at all what's intended)
Comment 3 Fabian Groffen gentoo-dev 2010-07-02 12:14:10 UTC
does this mean you need both patches currently?
Comment 4 Stuart Shelton 2010-07-02 15:10:13 UTC
(In reply to comment #3)
> does this mean you need both patches currently?
> 

Yes - the first patch is required by glib-2.22.x, whilst both patches are needed for glib-2.24.x.
Comment 5 Fabian Groffen gentoo-dev 2011-12-15 19:20:56 UTC
We are sorry to close this bug.  We lack the man-power and devotion to support mips-irix in the tree.