Hi Richard. Trying to build colord 1.2.0 on OpenBSD/sparc64 errors out with: gmake[2]: Entering directory '/home/cvs/openbsd/ports/pobj/colord-1.2.0/colord-1.2.0/data' Making all in cmf gmake[3]: Entering directory '/home/cvs/openbsd/ports/pobj/colord-1.2.0/colord-1.2.0/data/cmf' \ ../../client/cd-it8 create-cmf CIE1931-2deg-XYZ.cmf \ ./CIE1931-2deg-XYZ.csv 1.0 (cd-it8:28855): GLib-ERROR **: gmem.c:103: failed to allocate 14804752269312 bytes Makefile:601: recipe for target 'CIE1931-2deg-XYZ.cmf' failed gmake[3]: *** [CIE1931-2deg-XYZ.cmf] Trace/BPT trap (core dumped) It rings a bell, iirc some older release had a similar issue but then it got fixed.
Hi, I don't have an sparc64 hardware handy, could you get a backtrace with export G_DEBUG=fatal-criticals set please?
I've also spotted this, which *might* be the failure: commit 919eda53dad3d635aa4b815c923bcd33f3258d3f Author: Richard Hughes <richard@hughsie.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 Can you try with master, and if that still fails grab the bt, thanks.
(In reply to comment #2) > I've also spotted this, which *might* be the failure: > > commit 919eda53dad3d635aa4b815c923bcd33f3258d3f > Author: Richard Hughes <richard@hughsie.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 > > Can you try with master, and if that still fails grab the bt, thanks. Hi Richard. This worked beautifully thanks :-) Marking it as fixed.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.