all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* warning: guix collision encountered
@ 2015-07-24 18:30 Cook, Malcolm
  2015-07-24 20:42 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Cook, Malcolm @ 2015-07-24 18:30 UTC (permalink / raw)
  To: 'Guix-devel'

Hi,

In https://gnunet.org/bot/log/guix/2014-12-08 I read

	I just installed my second binary package (emacs) and I get this warning:
	[19:33:50]	<rekado>	warning: collision encountered: /gnu/store/wsa1hpnqa9rzpw3irkr03ad6q3xblpmj-info-dir

I too am getting collisions, for me while installing 'socat' , and especially oddly between dconf and emacs

I don't see any mention of collisions in  http://www.gnu.org/software/guix/manual/guix.html and am at somewhat of a loss to grok the output of the report:

Any guidance appreciated.  

Trace follows:

bash-4.2$ guix package -i socat
warning: failed to install locale: Invalid argument
The following package will be installed:
   socat	1.7.2.4	/gnu/store/0w2fcwdvkss8n6hgj7a8bgybjx2qwhi5-socat-1.7.2.4

substitute: warning: failed to install locale: Invalid argument
updating list of substitutes from 'http://hydra.gnu.org'... 100.0%g'...  83.3%
The following derivations will be built:
   /gnu/store/gya4c2c1pzxhr65p2z4gaw73cjpyby7c-profile.drv
   /gnu/store/lmzj4f36ngdnfmfh784maf7mvyp0pspr-info-dir.drv
   /gnu/store/q879rs72krrihxgv6blyq07zd4dv8zy0-ca-certificate-bundle.drv
   /gnu/store/rs3n7s0bv1if21pjd8x72zqaqcbfs5h6-gtk-icon-themes.drv
The following file will be downloaded:
   /gnu/store/0w2fcwdvkss8n6hgj7a8bgybjx2qwhi5-socat-1.7.2.4
warning: failed to install locale: Invalid argument
found valid signature for '/gnu/store/0w2fcwdvkss8n6hgj7a8bgybjx2qwhi5-socat-1.7.2.4', from 'http://hydra.gnu.org/nar/0w2fcwdvkss8n6hgj7a8bgybjx2qwhi5-socat-1.7.2.4'
downloading `/gnu/store/0w2fcwdvkss8n6hgj7a8bgybjx2qwhi5-socat-1.7.2.4' (0.5 MiB installed)...
http://hydra.gnu.org/nar/0w2fcwdvkss8n6hgj7a8bgybjx2qwhi5-socat-1.7.2.4	 192.2 KiB transferred (579. KiB/s)
warning: collision encountered: /gnu/store/4zmkk7mwn4v2iid4nqldlxx9g6nszc5l-dconf-0.22.0/share/icons/hicolor/icon-theme.cache /gnu/store/1qrbdgrk7p6c1z80kz49gj6gsfk444wf-emacs-24.5/share/icons/hicolor/icon-theme.cache 
warning: arbitrarily choosing /gnu/store/4zmkk7mwn4v2iid4nqldlxx9g6nszc5l-dconf-0.22.0/share/icons/hicolor/icon-theme.cache

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: warning: guix collision encountered
  2015-07-24 18:30 warning: guix collision encountered Cook, Malcolm
@ 2015-07-24 20:42 ` Ludovic Courtès
  2015-07-24 20:50   ` Cook, Malcolm
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2015-07-24 20:42 UTC (permalink / raw)
  To: Cook, Malcolm; +Cc: 'Guix-devel'

"Cook, Malcolm" <MEC@stowers.org> skribis:

> warning: collision encountered: /gnu/store/4zmkk7mwn4v2iid4nqldlxx9g6nszc5l-dconf-0.22.0/share/icons/hicolor/icon-theme.cache /gnu/store/1qrbdgrk7p6c1z80kz49gj6gsfk444wf-emacs-24.5/share/icons/hicolor/icon-theme.cache 
> warning: arbitrarily choosing /gnu/store/4zmkk7mwn4v2iid4nqldlxx9g6nszc5l-dconf-0.22.0/share/icons/hicolor/icon-theme.cache

It’s basically saying that two packages provide the same file, but only
one can exist in your user profile.

In this particular case the collision is harmless, but annoying.  We
should Do Something™ about ‘icon-theme.cache’ to avoid collisions.

Fede: following what we did for Info ‘dir’ file, shouldn’t
‘glib-or-gtk-build-system’ systematically remove that file?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: warning: guix collision encountered
  2015-07-24 20:42 ` Ludovic Courtès
@ 2015-07-24 20:50   ` Cook, Malcolm
  2015-07-25 19:52     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Cook, Malcolm @ 2015-07-24 20:50 UTC (permalink / raw)
  To: 'Ludovic Courtès'; +Cc: 'Guix-devel'

Hi,

> "Cook, Malcolm" <MEC@stowers.org> skribis:
> 
> > warning: collision encountered:
> > /gnu/store/4zmkk7mwn4v2iid4nqldlxx9g6nszc5l-dconf-
> 0.22.0/share/icons/h
> > icolor/icon-theme.cache
> > /gnu/store/1qrbdgrk7p6c1z80kz49gj6gsfk444wf-emacs-
> 24.5/share/icons/hic
> > olor/icon-theme.cache
> > warning: arbitrarily choosing
> > /gnu/store/4zmkk7mwn4v2iid4nqldlxx9g6nszc5l-dconf-
> 0.22.0/share/icons/h
> > icolor/icon-theme.cache
> 
> It’s basically saying that two packages provide the same file, but only one can
> exist in your user profile.
> 
> In this particular case the collision is harmless, but annoying.  We should Do
> Something™ about ‘icon-theme.cache’ to avoid collisions.

By harmless do you mean that 
 a) The files are checked and guaranteed to be byte-wise identical - not just same name?
 b) the file won't be deleted unless both the providing packages are gc-ed (presumably via some reference counting facility?)
 c) both
 d) YMMV

By annoying do you mean
 a) it litters up the screen with un-necessary warnings
 b) it causes package installation to run substantially slower
 c) both
 c) foo

Thanks,

!Malcolm

> 
> Fede: following what we did for Info ‘dir’ file, shouldn’t ‘glib-or-gtk-build-
> system’ systematically remove that file?
> 
> Thanks,
> Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: warning: guix collision encountered
  2015-07-24 20:50   ` Cook, Malcolm
@ 2015-07-25 19:52     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2015-07-25 19:52 UTC (permalink / raw)
  To: Cook, Malcolm; +Cc: 'Guix-devel'

"Cook, Malcolm" <MEC@stowers.org> skribis:

> By harmless do you mean that 
>  a) The files are checked and guaranteed to be byte-wise identical - not just same name?
>  b) the file won't be deleted unless both the providing packages are gc-ed (presumably via some reference counting facility?)
>  c) both
>  d) YMMV

d) That one of the ‘icon-theme.cache’ files is shadowed by another one
doesn’t alter functionality.

> By annoying do you mean
>  a) it litters up the screen with un-necessary warnings
>  b) it causes package installation to run substantially slower
>  c) both
>  c) foo

a)

:-)

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-25 19:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-24 18:30 warning: guix collision encountered Cook, Malcolm
2015-07-24 20:42 ` Ludovic Courtès
2015-07-24 20:50   ` Cook, Malcolm
2015-07-25 19:52     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.