GNU bug report logs - #25414
gdk-pixbuf@2.34.0 does not build deterministically

Previous Next

Package: guix;

Reported by: ludo <at> gnu.org (Ludovic Courtès)

Date: Tue, 10 Jan 2017 23:08:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: ludo <at> gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 25414 <at> debbugs.gnu.org
Subject: bug#25414: gdk-pixbuf <at> 2.34.0 does not build deterministically
Date: Wed, 11 Jan 2017 22:16:04 +0100
Danny Milosavljevic <dannym <at> scratchpost.org> skribis:

> On Wed, 11 Jan 2017 00:06:42 +0100
> ludo <at> gnu.org (Ludovic Courtès) wrote:
>
>> Presumably ‘gdk-pixbuf-query-loaders’, which generates ‘loaders.cache’,
>> does not sort the entries returned by readdir(2).
>
> Yep.
>
> gdk-pixbuf/queryloaders.c line 355 uses g_dir_open.
>
> Docs: https://developer.gnome.org/glib/stable/glib-File-Utilities.html#g-dir-open "Note that the ordering is not defined."
>
> One could use g_list_append to append it to a list and then g_list_sort and then g_list_free. Like below (untested! Seriously!):

Sounds like the right approach, would you like to test it?  :-)

Ludo’.




This bug report was last modified 7 years and 348 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.