Created attachment 888863 [details]
Description of problem:
colord-1.2.0-1.fc21 fails to compile on ppc64 bigendian machines:
Making all in cmf
make: Entering directory `/builddir/build/BUILD/colord-1.2.0/data/cmf'
../../client/cd-it8 create-cmf CIE1931-2deg-XYZ.cmf \
(lt-cd-it8:20509): GLib-ERROR **: gmem.c:103: failed to allocate 14804752269312 bytes
make: *** [CIE1931-2deg-XYZ.cmf] Trace/breakpoint trap (core dumped)
make: Leaving directory `/builddir/build/BUILD/colord-1.2.0/data/cmf'
make: *** [all-recursive] Error 1
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. ppc-koji build --scratch f21 colord-1.2.0-1.fc21.src.rpm
If you need access to a F21 PPC64 machine, please send me your public ssh key and I can give you an account.
Created attachment 888864 [details]
I think this fixes it:
Author: Richard Hughes <email@example.com>
Date: Thu Apr 17 13:28:48 2014 +0100
Fix building the CMF spectra on OpenBSD/sparc64
Do not cast gsize* to guint32* as this will not work when the size is different.
Perhaps resolves: https://bugs.freedesktop.org/show_bug.cgi?id=77535
:100644 100644 16375e5... 8da4a41... M lib/colord/cd-it8.c
Here's a scratch build with that patch:
Thanks a lot, that fixed the problem on ppc64. Could you build a package with that fix on the primary archs, please ? Or should I go ahead and commit that fix to Fedora git and build colord myself ?
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.
More information and reason for this action is here:
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.