* About "collision encountered"
@ 2015-05-22 8:53 Feng Shu
2015-05-22 9:29 ` Ricardo Wurmus
0 siblings, 1 reply; 4+ messages in thread
From: Feng Shu @ 2015-05-22 8:53 UTC (permalink / raw)
To: guix; +Cc: Feng Shu
I build a emacs-snapshot package, it seem conflict with emacs package,
how to deal with the situation?
```
warning: collision encountered: /gnu/store/apmjmf4zsrhzvxvjwlwwq57a299vp6j7-emacs-snapshot-20150522.9e41e0b/bin/ebrowse /gnu/store/7h641zcjppzqxszz9a9ahp64wlv8rhsn-emacs-24.5/bin/ebrowse
warning: arbitrarily choosing /gnu/store/apmjmf4zsrhzvxvjwlwwq57a299vp6j7-emacs-snapshot-20150522.9e41e0b/bin/ebrowse
warning: collision encountered: /gnu/store/apmjmf4zsrhzvxvjwlwwq57a299vp6j7-emacs-snapshot-20150522.9e41e0b/bin/.emacsclient-wrap-01 /gnu/store/7h641zcjppzqxszz9a9ahp64wlv8rhsn-emacs-24.5/bin/.emacsclient-wrap-01
warning: arbitrarily choosing /gnu/store/apmjmf4zsrhzvxvjwlwwq57a299vp6j7-emacs-snapshot-20150522.9e41e0b/bin/.emacsclient-wrap-01
warning: collision encountered: /gnu/store/apmjmf4zsrhzvxvjwlwwq57a299vp6j7-emacs-snapshot-20150522.9e41e0b/bin/emacsclient /gnu/store/7h641zcjppzqxszz9a9ahp64wlv8rhsn-emacs-24.5/bin/emacsclient
warning: arbitrarily choosing /gnu/store/apmjmf4zsrhzvxvjwlwwq57a299vp6j7-emacs-snapshot-20150522.9e41e0b/bin/emacsclient
```
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: About "collision encountered"
2015-05-22 8:53 About "collision encountered" Feng Shu
@ 2015-05-22 9:29 ` Ricardo Wurmus
2015-05-22 11:14 ` Feng Shu
0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2015-05-22 9:29 UTC (permalink / raw)
To: Feng Shu; +Cc: guix
Feng Shu writes:
> I build a emacs-snapshot package, it seem conflict with emacs package,
> how to deal with the situation?
You can choose to install the conflicting package into a separate
profile by passing "-p /path/to/my-other-profile" to "guix package". It
will create a new profile in "/path/to/my-other-profile" and you can run
your emacs-snapshot binaries like so:
/path/to/my-other-profile/bin/emacs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: About "collision encountered"
2015-05-22 9:29 ` Ricardo Wurmus
@ 2015-05-22 11:14 ` Feng Shu
2015-05-22 13:49 ` David Thompson
0 siblings, 1 reply; 4+ messages in thread
From: Feng Shu @ 2015-05-22 11:14 UTC (permalink / raw)
To: guix-devel; +Cc: Feng Shu
Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:
> Feng Shu writes:
>
>> I build a emacs-snapshot package, it seem conflict with emacs package,
>> how to deal with the situation?
>
> You can choose to install the conflicting package into a separate
> profile by passing "-p /path/to/my-other-profile" to "guix package". It
> will create a new profile in "/path/to/my-other-profile" and you can run
> your emacs-snapshot binaries like so:
>
> /path/to/my-other-profile/bin/emacs
I suggest add a feature, which can detect the underline conflicts. when
conflicts found, ask user type "yes" or "no".
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: About "collision encountered"
2015-05-22 11:14 ` Feng Shu
@ 2015-05-22 13:49 ` David Thompson
0 siblings, 0 replies; 4+ messages in thread
From: David Thompson @ 2015-05-22 13:49 UTC (permalink / raw)
To: guix-devel; +Cc: Feng Shu
Feng Shu <tumashu@163.com> writes:
> Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:
>
>> Feng Shu writes:
>>
>>> I build a emacs-snapshot package, it seem conflict with emacs package,
>>> how to deal with the situation?
>>
>> You can choose to install the conflicting package into a separate
>> profile by passing "-p /path/to/my-other-profile" to "guix package". It
>> will create a new profile in "/path/to/my-other-profile" and you can run
>> your emacs-snapshot binaries like so:
>>
>> /path/to/my-other-profile/bin/emacs
>
> I suggest add a feature, which can detect the underline conflicts. when
> conflicts found, ask user type "yes" or "no".
We can't do that, as it would be non-deterministic. If you want to use
2 versions of the same package, an additional profile is the right way
to go. This is why we have profiles in the first place. :)
--
David Thompson
GPG Key: 0FF1D807
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-05-22 13:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-22 8:53 About "collision encountered" Feng Shu
2015-05-22 9:29 ` Ricardo Wurmus
2015-05-22 11:14 ` Feng Shu
2015-05-22 13:49 ` David Thompson
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).