all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Fwd: warning: collision encountered
       [not found] <CAHEkXCQCi=TxZGDfDJMoaFcjVFmueKd9pr1CPhCvVfim-kiJOA@mail.gmail.com>
@ 2016-01-29  1:24 ` carl hansen
  2016-01-29  3:44   ` Leo Famulari
  2016-01-29  7:25   ` Ricardo Wurmus
  0 siblings, 2 replies; 7+ messages in thread
From: carl hansen @ 2016-01-29  1:24 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 5940 bytes --]

resent
---------- Forwarded message ----------
From: carl hansen <carlhansen1234@gmail.com>
Date: Thu, Jan 28, 2016 at 5:21 PM
Subject: warning: collision encountered
To: guix-help@gnu.org


I get
warning: collision encountered: ...
warning: arbitrarily choosing /gnu/store/89
messages,
What do they mean? and How to fix?

more detail. I install a package, here I use autojump as arbitrary example:

    1  >>>>>>>>> guix package -i autojump
    2 The following package will be installed:
    3    autojump     22.2.4
/gnu/store/9x1hcpjwrqy7f8l0jg89kcp4f2dzs3hm-autojump-22.2.4
    4
    5 substitute: updating list of substitutes from 'http://hydra.gnu.org'...
100.0%
    6 The following derivations will be built:
    7    /gnu/store/cgsfhli7k66a88lhf2pdr5k45mj8rkkr-profile.drv

  6 lines clipped

   14 The following files will be downloaded:
   15    /gnu/store/9x1hcpjwrqy7f8l0jg89kcp4f2dzs3hm-autojump-22.2.4
  lines clipped
   21 Found valid signature for
/gnu/store/046h0w39ar90xv1al1vgw69i08jmr5qk-module-import-compiled
   22 From
http://hydra.gnu.org/nar/046h0w39ar90xv1al1vgw69i08jmr5qk-module-import-compiled

lines clipped

   43 Downloading 6nsq08…-module-import-compiled (60KiB installed)...
   44
http://hydra.gnu.org/nar/6nsq08kqq4r71r37zz4l835pn68y27d1-module-import-compiled
200KiB/s 00:00 | 21KiB transferred
   45 warning: collision encountered:
/gnu/store/892962rlrgjfflmh2z50wbcmcbcpki6i-rhythmbox-3.2.1/share/icons/hicolor/icon-
theme.cache
/gnu/store/1923z10sh48xjf0y103flz21lkkrkp8x-gtk+-3.18.2/share/icons/hicolor/icon-theme.cache
/gnu/store/d
8z1qyk4cysjl2fkdssddr6hbw81z56k-gnome-control-center-3.18.2/share/icons/hicolor/icon-theme.cache
/gnu/store/rzagmzgkx
gy0ri7vz0n9iq2rqv23abjk-xfdesktop-4.12.0/share/icons/hicolor/icon-theme.cache
/gnu/store/ipmxr0yrz5anj4divjvh1dd6ahaa
p7lh-xfce4-session-4.12.0/share/icons/hicolor/icon-theme.cache
/gnu/store/gjm2anhj5l2r80dppyyzlgkdh8wvsxr7-xfce4-puls
eaudio-plugin-0.2.3/share/icons/hicolor/icon-theme.cache
/gnu/store/hrls9rixqa54bfllyx3jyw557gi3g8m8-xfce4-panel-4.12
.0/share/icons/hicolor/icon-theme.cache
/gnu/store/q5drlyx99q8gcs5wjzjy8lws04f7vca4-xfce4-clipman-plugin-1.2.6/share/
icons/hicolor/icon-theme.cache
/gnu/store/n1baflpvm635sys7k46z6ikfy8mwb4j4-xfce4-battery-plugin-1.0.5/share/icons/hic
olor/icon-theme.cache
/gnu/store/fd5m7jaim990aawj6jmrrcmqvcf725v4-exo-0.10.3/share/icons/hicolor/icon-theme.cache
/gn
u/store/lvgpbqkzhxi2gqn1616dn4bn9w801zgz-thunar-1.6.6/share/icons/hicolor/icon-theme.cache
/gnu/store/2kazc8fpyl2qljw
h7k5k4ly9wd2swcxx-thunar-volman-0.8.1/share/icons/hicolor/icon-theme.cache
/gnu/store/fpiwy6fy66k05qzian6ad8aby1k515w
a-libxfce4ui-4.12.0/share/icons/hicolor/icon-theme.cache
/gnu/store/qpjgmxzqw9ag814h9bfjp5xip8lx0jyb-libpeas-1.16.0/s
hare/icons/hicolor/icon-theme.cache
/gnu/store/fisva6qjdfqkls1pa6fm75x9dbshc5h2-inkscape-0.91/share/icons/hicolor/ico
n-theme.cache
/gnu/store/5cck1dc4rcc0ibjd66jbm52gcgbzms1q-hexchat-2.10.1/share/icons/hicolor/icon-theme.cache
/gnu/st
ore/jqhh2ymjgasv2ribjih25x0wvha8xakr-gnumeric-1.12.24/share/icons/hicolor/icon-theme.cache
/gnu/store/8wvwgnrh6pjix8w
nqh5hkb35rpdmc7ny-gnucash-2.6.9/share/icons/hicolor/icon-theme.cache
/gnu/store/44l39jivz88i4nav3sh5l5b4xchaawpc-gnub
ik-2.4.2/share/icons/hicolor/icon-theme.cache
/gnu/store/g7xvxqv2hryyp5q0a4bsiq79s00irsqn-gnome-bluetooth-3.18.1/shar
e/icons/hicolor/icon-theme.cache
/gnu/store/55frrjcdz9613ab3lr5m19p51bs1f13i-glade-3.18.3/share/icons/hicolor/icon-th
eme.cache
/gnu/store/j3gxgcj9mm0wjhdh2wh2npw687l7par6-file-roller-3.16.4/share/icons/hicolor/icon-theme.cache
/gnu/st
ore/z33lm37vxljj2sr1nz624mgi11qvpsfv-evince-3.18.1/share/icons/hicolor/icon-theme.cache
/gnu/store/2sn7a2i3qphwyha2a1
gg66xyhnfcnajb-eog-3.18.1/share/icons/hicolor/icon-theme.cache
/gnu/store/pdj08kkz81ds9lspr07jgss4l3rz81s7-devhelp-3.
18.1/share/icons/hicolor/icon-theme.cache
/gnu/store/hpfpqlj5jliqn1cj7fmf83xais3ncizg-d-feet-0.3.10/share/icons/hicol
or/icon-theme.cache
/gnu/store/6ayh80p58nfsl6hhgqzdrsnlbzlnxwfj-claws-mail-3.13.1/share/icons/hicolor/icon-theme.cach
e
/gnu/store/k427449n43fg8rw2xbk2s68swdwchx6b-calf-0.0.60/share/icons/hicolor/icon-theme.cache
/gnu/store/cnv5s2a0nzk
bf5vn90ic6881ji6lzrxv-brasero-3.12.1/share/icons/hicolor/icon-theme.cache
/gnu/store/v2p4217whqya9vpm62d46gd9zk7pl1ly
-aisleriot-3.18.2/share/icons/hicolor/icon-theme.cache
   46 warning: arbitrarily choosing
/gnu/store/892962rlrgjfflmh2z50wbcmcbcpki6i-rhythmbox-3.2.1/share/icons/hicolor/icon-th
eme.cache
   47 warning: collision encountered:
/gnu/store/4d280gfqfkawjlmadshb2xw9kdbxx8jp-emacs-no-x-toolkit-24.5/share/emacs/24.5/
lisp/image.elc
/gnu/store/mj85il1grwpsi8y19jas99d5sllcz875-emacs-no-x-24.5/share/emacs/24.5/lisp/image.elc
/gnu/store
/j9pfpj2mdw7dha4w5qn75v2hxyq5x8ih-emacs-24.5/share/emacs/24.5/lisp/image.elc
   48 warning: arbitrarily choosing
/gnu/store/4d280gfqfkawjlmadshb2xw9kdbxx8jp-emacs-no-x-toolkit-24.5/share/emacs/24.5/li
sp/image.elc
   49 warning: collision encountered:
/gnu/store/4d280gfqfkawjlmadshb2xw9kdbxx8jp-emacs-no-x-toolkit-24.5/share/emacs/24.5/
etc/DOC
/gnu/store/mj85il1grwpsi8y19jas99d5sllcz875-emacs-no-x-24.5/share/emacs/24.5/etc/DOC
/gnu/store/j9pfpj2mdw7dh
a4w5qn75v2hxyq5x8ih-emacs-24.5/share/emacs/24.5/etc/DOC
   50 warning: arbitrarily choosing
/gnu/store/4d280gfqfkawjlmadshb2xw9kdbxx8jp-emacs-no-x-toolkit-24.5/share/emacs/24.5/et
c/DOC

13000 lines clipped...

13985 warning: collision encountered:
/gnu/store/wfvxxpdhnzd59vkad1zasm4f858giv9a-gcj-4.9.3/lib/libatomic.la
/gnu/store      /rsgg9a3kwivqszsydvan8pbpdq9ivar5-gccgo-4.8.5/lib/
libatomic.la /gnu/store/0bz73dnv3yyiff0fgph9c8lvjz919cl1-gcc-bo
otstrap-0/lib/libatomic.la
13986 warning: arbitrarily choosing
/gnu/store/wfvxxpdhnzd59vkad1zasm4f858giv9a-gcj-4.9.3/lib/libatomic.la
13987 2354 packages in profile

Is that right?

[-- Attachment #2: Type: text/html, Size: 7193 bytes --]

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

* Re: Fwd: warning: collision encountered
  2016-01-29  1:24 ` Fwd: warning: collision encountered carl hansen
@ 2016-01-29  3:44   ` Leo Famulari
  2016-01-29  5:46     ` carl hansen
  2016-01-29  7:25   ` Ricardo Wurmus
  1 sibling, 1 reply; 7+ messages in thread
From: Leo Famulari @ 2016-01-29  3:44 UTC (permalink / raw)
  To: carl hansen; +Cc: help-guix

On Thu, Jan 28, 2016 at 05:24:36PM -0800, carl hansen wrote:
> resent
> ---------- Forwarded message ----------
> From: carl hansen <carlhansen1234@gmail.com>
> Date: Thu, Jan 28, 2016 at 5:21 PM
> Subject: warning: collision encountered
> To: guix-help@gnu.org
> 
> 
> I get
> warning: collision encountered: ...
> warning: arbitrarily choosing /gnu/store/89
> messages,
> What do they mean? and How to fix?

Does this explanation make sense?
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22402#37

If so, then you should read the warnings and investigate which files are
colliding. Some, like the hicolor icon-theme.cache, seem harmless to me,
although I welcome a second opinion.

[...]

> 13985 warning: collision encountered:
> /gnu/store/wfvxxpdhnzd59vkad1zasm4f858giv9a-gcj-4.9.3/lib/libatomic.la
> /gnu/store      /rsgg9a3kwivqszsydvan8pbpdq9ivar5-gccgo-4.8.5/lib/
> libatomic.la /gnu/store/0bz73dnv3yyiff0fgph9c8lvjz919cl1-gcc-bo
> otstrap-0/lib/libatomic.la
> 13986 warning: arbitrarily choosing
> /gnu/store/wfvxxpdhnzd59vkad1zasm4f858giv9a-gcj-4.9.3/lib/libatomic.la
> 13987 2354 packages in profile

I don't know about this one. Files the .la extension are used by libtool
but I don't have enough experience with libtool or know enough about
libatomic to know if this is going to be a problem.

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

* Re: Fwd: warning: collision encountered
  2016-01-29  3:44   ` Leo Famulari
@ 2016-01-29  5:46     ` carl hansen
  2016-01-29  6:22       ` carl hansen
  2016-01-29  7:42       ` Leo Famulari
  0 siblings, 2 replies; 7+ messages in thread
From: carl hansen @ 2016-01-29  5:46 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 2136 bytes --]

On Thu, Jan 28, 2016 at 7:44 PM, Leo Famulari <leo@famulari.name> wrote:

> On Thu, Jan 28, 2016 at 05:24:36PM -0800, carl hansen wrote:
> > resent
> > ---------- Forwarded message ----------
> > From: carl hansen <carlhansen1234@gmail.com>
> > Date: Thu, Jan 28, 2016 at 5:21 PM
> > Subject: warning: collision encountered
> > To: guix-help@gnu.org
> >
> >
> > I get
> > warning: collision encountered: ...
> > warning: arbitrarily choosing /gnu/store/89
> > messages,
> > What do they mean? and How to fix?
>
> Does this explanation make sense?
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22402#37
>
> If so, then you should read the warnings and investigate which files are
> colliding. Some, like the hicolor icon-theme.cache, seem harmless to me,
> although I welcome a second opinion.
>
> [...]
>
> > 13985 warning: collision encountered:
> > /gnu/store/wfvxxpdhnzd59vkad1zasm4f858giv9a-gcj-4.9.3/lib/libatomic.la
> > /gnu/store      /rsgg9a3kwivqszsydvan8pbpdq9ivar5-gccgo-4.8.5/lib/
> > libatomic.la /gnu/store/0bz73dnv3yyiff0fgph9c8lvjz919cl1-gcc-bo
> > otstrap-0/lib/libatomic.la
> > 13986 warning: arbitrarily choosing
> > /gnu/store/wfvxxpdhnzd59vkad1zasm4f858giv9a-gcj-4.9.3/lib/libatomic.la
> > 13987 2354 packages in profile
>
> I don't know about this one. Files the .la extension are used by libtool
> but I don't have enough experience with libtool or know enough about
> libatomic to know if this is going to be a problem.
>

Yes this is a continuation of my previous question. Thanks for response. I
didn't
show the complete output. But I tried to show there are 13987 LINES in the
error
messages. It's not so much the particular cases, it's Why is this happening
at all?
Did I do smething wrong or is this software error? ANd, what is the proper
procedure to
removal of one of the options?
Is it something like:   <http://libatomic.la>
guix package -r /gnu/store/wfvxxpdhnzd59vkad1zasm4f858giv9a-gcj-4.9.3/lib/
libatomic.la
or is it
guix package -r /gnu/store/wfvxxpdhnzd59vkad1zasm4f858giv9a-gcj-4.9.3
or is it
guix package -r / gcj
And can it be done globally?
THere must be something I'm not doing correctly.

[-- Attachment #2: Type: text/html, Size: 3831 bytes --]

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

* Re: Fwd: warning: collision encountered
  2016-01-29  5:46     ` carl hansen
@ 2016-01-29  6:22       ` carl hansen
  2016-01-29  8:09         ` Leo Famulari
  2016-01-29  7:42       ` Leo Famulari
  1 sibling, 1 reply; 7+ messages in thread
From: carl hansen @ 2016-01-29  6:22 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 5040 bytes --]

On Thu, Jan 28, 2016 at 9:46 PM, carl hansen <carlhansen1234@gmail.com>
wrote:

>
>
> On Thu, Jan 28, 2016 at 7:44 PM, Leo Famulari <leo@famulari.name> wrote:
>
>> On Thu, Jan 28, 2016 at 05:24:36PM -0800, carl hansen wrote:
>> > resent
>> > ---------- Forwarded message ----------
>> > From: carl hansen <carlhansen1234@gmail.com>
>> > Date: Thu, Jan 28, 2016 at 5:21 PM
>> > Subject: warning: collision encountered
>> > To: guix-help@gnu.org
>> >
>> >
>> > I get
>> > warning: collision encountered: ...
>> > warning: arbitrarily choosing /gnu/store/89
>> > messages,
>> > What do they mean? and How to fix?
>>
>> Does this explanation make sense?
>> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22402#37
>>
>> If so, then you should read the warnings and investigate which files are
>> colliding. Some, like the hicolor icon-theme.cache, seem harmless to me,
>> although I welcome a second opinion.
>>
>> [...]
>>
>> > 13985 warning: collision encountered:
>> > /gnu/store/wfvxxpdhnzd59vkad1zasm4f858giv9a-gcj-4.9.3/lib/libatomic.la
>> > /gnu/store      /rsgg9a3kwivqszsydvan8pbpdq9ivar5-gccgo-4.8.5/lib/
>> > libatomic.la /gnu/store/0bz73dnv3yyiff0fgph9c8lvjz919cl1-gcc-bo
>> > otstrap-0/lib/libatomic.la
>> > 13986 warning: arbitrarily choosing
>> > /gnu/store/wfvxxpdhnzd59vkad1zasm4f858giv9a-gcj-4.9.3/lib/libatomic.la
>> > 13987 2354 packages in profile
>>
>> I don't know about this one. Files the .la extension are used by libtool
>> but I don't have enough experience with libtool or know enough about
>> libatomic to know if this is going to be a problem.
>>
>
> Yes this is a continuation of my previous question. Thanks for response. I
> didn't
> show the complete output. But I tried to show there are 13987 LINES in the
> error
> messages. It's not so much the particular cases, it's Why is this
> happening at all?
> Did I do smething wrong or is this software error? ANd, what is the proper
> procedure to
> removal of one of the options?
> Is it something like:   <http://libatomic.la>
> guix package -r /gnu/store/wfvxxpdhnzd59vkad1zasm4f858giv9a-gcj-4.9.3/lib/
> libatomic.la
> or is it
> guix package -r /gnu/store/wfvxxpdhnzd59vkad1zasm4f858giv9a-gcj-4.9.3
> or is it
> guix package -r / gcj
> And can it be done globally?
> THere must be something I'm not doing correctly.
>
> followup
I do:
# ls -1 /gnu/store  |sort -k 1.34 >/tmp/a
in /tmp/a I see many , what look like duplicates, module the base32 string
in the front,
for example
   38 63zwd686rpjifkv37abmd723asjzskva-acl-2.2.52/
   39 csrip06lky3f2abgyvzc2bki9pgnz4ib-acl-2.2.52/
   40 rjcxalra8f54qk7h32zw8irx4fi9x649-acl-2.2.52/
   41 y1kvygp3yaj1p0ar134rxl8y6dn3vc93-acl-2.2.52/
   42 72ax524fif2yii3bqwa3rjnh450cj3vc-acl-2.2.52.drv
   43 bzhcnfwikxh9rm52cq8cphzk77k9sfxv-acl-2.2.52.drv
   44 fihsyanl3a8bwpxlyx25dgi0z1zmqcp4-acl-2.2.52.drv
   45 kvrwv1bndn4935k21qimvanqc9dwlljj-acl-2.2.52.drv
   46 sy6b7h80z1vm9dc0xixbli9n9500q5c6-acl-2.2.52.drv
   47 x03zv2wxk9xvw27pg5vvy6lbfavy3nix-acl-2.2.52.drv
   48 y8ql9x2sck3jr26jf5l9ky9lz7ci0aaq-acl-2.2.52.drv
   49 1jwh0x0mvvjmq9gjn9lxnw6szvpb5bwi-acl-2.2.52-guile-builder
   50 daridrmp97fnim0pddp51lhqn1c1nwv0-acl-2.2.52-guile-builder
   51 hbi7spdvfs177c3jzv3zn85j5wgp7hrv-acl-2.2.52-guile-builder
   52 lj4bmca87irvdsvrngsgah96yby3rzpx-acl-2.2.52-guile-builder
   53 w51ji955hc155h5lcmvcmpq33fr407vq-acl-2.2.52-guile-builder
   54 xzzl47vl72630q2idvcy24jm4ln47xkh-acl-2.2.52-guile-builder
   55 2x3b0w1cx9128p564s5iryp76yy4l8w0-acl-2.2.52.src.tar.gz
   56 40652r2q5pp3dsagmgvrsdxqvwhlsgh0-acl-2.2.52.src.tar.gz.drv
   57 44j13yy6i77ds4h892hpjwqw37lilzpd-acl-2.2.52.src.tar.gz.drv
   58 gp8n2wncrh28z6ci2d19ygajsjr6r8j2-acl-2.2.52.src.tar.gz.drv
   59 l9r8zfdrr3zj9sab718rvka1526iqqam-acl-2.2.52.src.tar.gz.drv
   60 ls6l9hw5mni4gnvv3ah3rw0w8vsb9bcm-acl-2.2.52.src.tar.gz.drv
   61 pdfkasamwqgfb3a3q4fl76n3063bg4xl-acl-2.2.52.src.tar.gz.drv
   62 rpsy437kb159jah8jc28maqdlc0bl6dg-acl-2.2.52.src.tar.gz.drv
    63 wy8x3rv7813y0m066j8hgdjnglhhgndz-acl-2.2.52.src.tar.xz
   64 2ni0661zabg5smck6waw7klhgn2ap148-acl-2.2.52.src.tar.xz-builder
   65 afpdjihigsq17jmfbpl1bp0dmjmzxxs3-acl-2.2.52.src.tar.xz-builder
   66 g138q6khixv4bncbarq5iqkmwgmz2kzm-acl-2.2.52.src.tar.xz-builder
   67 qw0d8nijs4a6ws3lnsp05jj8r0l8jj7x-acl-2.2.52.src.tar.xz-builder
   68 s87d78mkxcifsmzyazrjsgk08madmxmg-acl-2.2.52.src.tar.xz-builder
   69 ygb39n10b8igrna3cpb3jq4c6pfvgxr4-acl-2.2.52.src.tar.xz-builder
   70 9xpib4851r6fzcbpqkx2kzkpss41n396-acl-2.2.52.src.tar.xz.drv
   71 fzfz725bc0w09ywkzy2pmgds3gddq2qh-acl-2.2.52.src.tar.xz.drv
   72 ldqb22pvg98qviicnv6j1ngl5d0xp990-acl-2.2.52.src.tar.xz.drv
   73 myw3bnfnr8yincq0fpqjaa3pqmn765bx-acl-2.2.52.src.tar.xz.drv
   74 qnq01qbjdjvxp72iw9hjv1wch5i06rni-acl-2.2.52.src.tar.xz.drv
   75 x79i0cjjzn2pjrnfs1v12cal4habdbdx-acl-2.2.52.src.tar.xz.drv
   76 xz4pv2gwg56xnb97bv8scwcqi36l3by2-acl-2.2.52.src.tar.xz.drv
   77 x90p71bkxmlr66fwhrp2vzlhc2p4adjl-acl-hurd-path-max.patch

Shirlie, that can't be right?
BTW
ls -1 /gnu/store|wc
 14580   14580  849158
does that seem reasonable?

[-- Attachment #2: Type: text/html, Size: 7514 bytes --]

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

* Re: Fwd: warning: collision encountered
  2016-01-29  1:24 ` Fwd: warning: collision encountered carl hansen
  2016-01-29  3:44   ` Leo Famulari
@ 2016-01-29  7:25   ` Ricardo Wurmus
  1 sibling, 0 replies; 7+ messages in thread
From: Ricardo Wurmus @ 2016-01-29  7:25 UTC (permalink / raw)
  To: carl hansen; +Cc: help-guix


carl hansen <carlhansen1234@gmail.com> writes:

> 2354 packages in profile

What command did you use to install 2354 packages into your personal
profile?  Why would you install 2354 packages in your profile?

There are packages that provide files of the same name; for example
“samtools-0.1” and “samtools” both provide “$out/bin/samtools”.  When
they are both installed in the same profile, there is an obvious
collision.  People don’t install both these packages into the same
profile, because there is no way to disambiguate the colliding files.
Instead they will install them into *different* profiles using something
like

    guix package -p /path/to/profile -i samtools

If you feel the need to install all available packages into your profile
you’re doing it wrong.  Each package has its own directory in
“/gnu/store”, but profiles are the union of the files of each of the
directories of selected packages; at this point collisions may arise.

To resolve serious collisions remove one or the other package from your
profile.  Install it in a separate profile instead.

~~ Ricardo

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

* Re: Fwd: warning: collision encountered
  2016-01-29  5:46     ` carl hansen
  2016-01-29  6:22       ` carl hansen
@ 2016-01-29  7:42       ` Leo Famulari
  1 sibling, 0 replies; 7+ messages in thread
From: Leo Famulari @ 2016-01-29  7:42 UTC (permalink / raw)
  To: carl hansen; +Cc: help-guix

On Thu, Jan 28, 2016 at 09:46:48PM -0800, carl hansen wrote:
> On Thu, Jan 28, 2016 at 7:44 PM, Leo Famulari <leo@famulari.name> wrote:
> 
> > On Thu, Jan 28, 2016 at 05:24:36PM -0800, carl hansen wrote:

[...]

> Yes this is a continuation of my previous question. Thanks for response. I
> didn't
> show the complete output. But I tried to show there are 13987 LINES in the
> error
> messages. It's not so much the particular cases, it's Why is this happening
> at all?
> Did I do smething wrong or is this software error? ANd, what is the proper
> procedure to
> removal of one of the options?

The cause is that you installed some packages that happen to contain
the same paths.

In your current Guix profile, there are multiple packages providing
those "colliding" files.

You could try splitting your profile up into different package manifests
[0] that are organized around specific tasks you need to do. Then, you
can create a new profile based on that manifest when you want to use
those packages. Based on the collision between gcj and gccgo, you could
create one manifest for Java programming, one for Go programming, etc.
This would reduce the chance of collisions by reducing the set of
packages in your profile at any given time, but that's it. And of
course, you may actually need to use gcj and gccgo together, in which
case this approach would not be an option.

Also, once in a while I need to use a program for a little while and I
don't expect to need it again for a long time and I don't care if it
gets garbage collected later on. In that case, I (ab)use `guix
environment --ad-hoc` to just get it momentarily in that shell.

I welcome other users' suggestions on mitigating collisions!

My understanding is that collisions are addressed on a case-by-case
basis, sometimes at the package level, or sometimes in the build system
as discussed in this thread:
https://lists.gnu.org/archive/html/guix-devel/2015-09/msg00213.html

> Is it something like:   <http://libatomic.la>
> guix package -r /gnu/store/wfvxxpdhnzd59vkad1zasm4f858giv9a-gcj-4.9.3/lib/
> libatomic.la
> or is it
> guix package -r /gnu/store/wfvxxpdhnzd59vkad1zasm4f858giv9a-gcj-4.9.3
> or is it
> guix package -r / gcj

$ guix package -r gcj

You cannot remove "components" of the gcj package as attempted in some
of those examples.

> And can it be done globally?

If you are using Guix on a "foreign distro", then there is no concept of
global packages — you only are affected by your current profile. On
GuixSD the administrator may provide global packages in the system
declaration.

> THere must be something I'm not doing correctly.

Nope! ;)

[0]
https://www.gnu.org/software/guix/manual/html_node/Invoking-guix-package.html#profile_002dmanifest

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

* Re: Fwd: warning: collision encountered
  2016-01-29  6:22       ` carl hansen
@ 2016-01-29  8:09         ` Leo Famulari
  0 siblings, 0 replies; 7+ messages in thread
From: Leo Famulari @ 2016-01-29  8:09 UTC (permalink / raw)
  To: carl hansen; +Cc: help-guix

On Thu, Jan 28, 2016 at 10:22:44PM -0800, carl hansen wrote:
> On Thu, Jan 28, 2016 at 9:46 PM, carl hansen <carlhansen1234@gmail.com>
> wrote:
> > On Thu, Jan 28, 2016 at 7:44 PM, Leo Famulari <leo@famulari.name> wrote:
> >> On Thu, Jan 28, 2016 at 05:24:36PM -0800, carl hansen wrote:

[...]

> I do:
> # ls -1 /gnu/store  |sort -k 1.34 >/tmp/a
> in /tmp/a I see many , what look like duplicates, module the base32 string

You would not actually install all these differing builds of the same
version of acl into your profile.

> in the front,
> for example
>    38 63zwd686rpjifkv37abmd723asjzskva-acl-2.2.52/
>    39 csrip06lky3f2abgyvzc2bki9pgnz4ib-acl-2.2.52/
>    40 rjcxalra8f54qk7h32zw8irx4fi9x649-acl-2.2.52/
>    41 y1kvygp3yaj1p0ar134rxl8y6dn3vc93-acl-2.2.52/
>    42 72ax524fif2yii3bqwa3rjnh450cj3vc-acl-2.2.52.drv
>    43 bzhcnfwikxh9rm52cq8cphzk77k9sfxv-acl-2.2.52.drv
>    44 fihsyanl3a8bwpxlyx25dgi0z1zmqcp4-acl-2.2.52.drv
>    45 kvrwv1bndn4935k21qimvanqc9dwlljj-acl-2.2.52.drv
>    46 sy6b7h80z1vm9dc0xixbli9n9500q5c6-acl-2.2.52.drv
>    47 x03zv2wxk9xvw27pg5vvy6lbfavy3nix-acl-2.2.52.drv
>    48 y8ql9x2sck3jr26jf5l9ky9lz7ci0aaq-acl-2.2.52.drv
>    49 1jwh0x0mvvjmq9gjn9lxnw6szvpb5bwi-acl-2.2.52-guile-builder
>    50 daridrmp97fnim0pddp51lhqn1c1nwv0-acl-2.2.52-guile-builder
>    51 hbi7spdvfs177c3jzv3zn85j5wgp7hrv-acl-2.2.52-guile-builder
>    52 lj4bmca87irvdsvrngsgah96yby3rzpx-acl-2.2.52-guile-builder
>    53 w51ji955hc155h5lcmvcmpq33fr407vq-acl-2.2.52-guile-builder
>    54 xzzl47vl72630q2idvcy24jm4ln47xkh-acl-2.2.52-guile-builder
>    55 2x3b0w1cx9128p564s5iryp76yy4l8w0-acl-2.2.52.src.tar.gz
>    56 40652r2q5pp3dsagmgvrsdxqvwhlsgh0-acl-2.2.52.src.tar.gz.drv
>    57 44j13yy6i77ds4h892hpjwqw37lilzpd-acl-2.2.52.src.tar.gz.drv
>    58 gp8n2wncrh28z6ci2d19ygajsjr6r8j2-acl-2.2.52.src.tar.gz.drv
>    59 l9r8zfdrr3zj9sab718rvka1526iqqam-acl-2.2.52.src.tar.gz.drv
>    60 ls6l9hw5mni4gnvv3ah3rw0w8vsb9bcm-acl-2.2.52.src.tar.gz.drv
>    61 pdfkasamwqgfb3a3q4fl76n3063bg4xl-acl-2.2.52.src.tar.gz.drv
>    62 rpsy437kb159jah8jc28maqdlc0bl6dg-acl-2.2.52.src.tar.gz.drv
>     63 wy8x3rv7813y0m066j8hgdjnglhhgndz-acl-2.2.52.src.tar.xz
>    64 2ni0661zabg5smck6waw7klhgn2ap148-acl-2.2.52.src.tar.xz-builder
>    65 afpdjihigsq17jmfbpl1bp0dmjmzxxs3-acl-2.2.52.src.tar.xz-builder
>    66 g138q6khixv4bncbarq5iqkmwgmz2kzm-acl-2.2.52.src.tar.xz-builder
>    67 qw0d8nijs4a6ws3lnsp05jj8r0l8jj7x-acl-2.2.52.src.tar.xz-builder
>    68 s87d78mkxcifsmzyazrjsgk08madmxmg-acl-2.2.52.src.tar.xz-builder
>    69 ygb39n10b8igrna3cpb3jq4c6pfvgxr4-acl-2.2.52.src.tar.xz-builder
>    70 9xpib4851r6fzcbpqkx2kzkpss41n396-acl-2.2.52.src.tar.xz.drv
>    71 fzfz725bc0w09ywkzy2pmgds3gddq2qh-acl-2.2.52.src.tar.xz.drv
>    72 ldqb22pvg98qviicnv6j1ngl5d0xp990-acl-2.2.52.src.tar.xz.drv
>    73 myw3bnfnr8yincq0fpqjaa3pqmn765bx-acl-2.2.52.src.tar.xz.drv
>    74 qnq01qbjdjvxp72iw9hjv1wch5i06rni-acl-2.2.52.src.tar.xz.drv
>    75 x79i0cjjzn2pjrnfs1v12cal4habdbdx-acl-2.2.52.src.tar.xz.drv
>    76 xz4pv2gwg56xnb97bv8scwcqi36l3by2-acl-2.2.52.src.tar.xz.drv
>    77 x90p71bkxmlr66fwhrp2vzlhc2p4adjl-acl-hurd-path-max.patch
> 
> Shirlie, that can't be right?
> BTW
> ls -1 /gnu/store|wc
>  14580   14580  849158
> does that seem reasonable?

Yes, the store contains a large number of files.

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

end of thread, other threads:[~2016-01-29  8:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAHEkXCQCi=TxZGDfDJMoaFcjVFmueKd9pr1CPhCvVfim-kiJOA@mail.gmail.com>
2016-01-29  1:24 ` Fwd: warning: collision encountered carl hansen
2016-01-29  3:44   ` Leo Famulari
2016-01-29  5:46     ` carl hansen
2016-01-29  6:22       ` carl hansen
2016-01-29  8:09         ` Leo Famulari
2016-01-29  7:42       ` Leo Famulari
2016-01-29  7:25   ` Ricardo Wurmus

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.