GNU bug report logs - #31458
[PATCH] union: Do not warn about harmless collissions.

Previous Next

Package: guix-patches;

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

Date: Tue, 15 May 2018 08:33:01 UTC

Severity: normal

Tags: patch

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: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 31458 <at> debbugs.gnu.org
Subject: [bug#31458] [PATCH] union: Do not warn about harmless collissions.
Date: Tue, 15 May 2018 14:29:43 +0200
[Message part 1 (text/plain, inline)]
Hi Ludo,

On Tue, 15 May 2018 10:31:19 +0200
Ludovic Courtès <ludo <at> gnu.org> wrote:

> Until now we'd get pointless messages like:
> 
>   warning: collision encountered:
>     /gnu/store/…-gtk-icon-themes/share/icons/hicolor/icon-theme.cache
>     /gnu/store/…-inkscape-0.92.3/share/icons/hicolor/icon-theme.cache
>   warning: choosing /gnu/store/…-gtk-icon-themes/share/icons/hicolor/icon-theme.cache

Hmm, I guess the icon-theme.cache one is harmless enough - however, there shouldn't
be many of those left anyway.  Is there an easy way to check the store of hydra or something
which packages still have those files?

I've fixed inkscape now.

> +(define %harmless-collisions
> +  ;; This is a list of files that are known to collide, but for which emitting
> +  ;; a warning doesn't make sense.  For example, "icon-theme.cache" is
> +  ;; regenerated by a profile hook which shadows the file provided by
> +  ;; individual packages, and "gschemas.compiled" is made available to
> +  ;; applications via 'glib-or-gtk-build-system'.
> +  '("icon-theme.cache" "gschemas.compiled"))

However, about gschemas.compiled I'm not sure yet.

How do we ensure that glib-or-gtk-build-system is actually used for packages that
need it?

libreoffice has some problem that makes it crash every time it tries to open a
file dialog - I wonder if that's related (libreoffice uses gnu-build-system).

But glib-or-gtk-build-system expicitly generates gschemas.compiled, ensuring a
collision - what's up with that?

Shouldn't there be a profile hook for it instead?  There doesn't seem to be one.
[Message part 2 (application/pgp-signature, inline)]

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

Previous Next


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