unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Xinglu Chen <public@yoctocell.xyz>
Cc: 48335@debbugs.gnu.org,
	Leo Prikler <leo.prikler@student.tugraz.at>,
	Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: bug#48335: Emacs is broken
Date: Sun, 11 Jul 2021 20:47:32 +0200	[thread overview]
Message-ID: <868s2cit6j.fsf@gmail.com> (raw)
In-Reply-To: <87sg0lp537.fsf@yoctocell.xyz> (Xinglu Chen's message of "Sun, 11 Jul 2021 11:33:48 +0200")

Hi,

On Sun, 11 Jul 2021 at 11:33, Xinglu Chen <public@yoctocell.xyz> wrote:

>>>> Have you tried it in a container, like so:
>>>>
>>>> $ guix time-machine --commit=652a03888e1609bd1a687326760436867fe2abb7 \
>>>>   -- environment -C --ad-hoc emacs -- emacs --version
>>
>> It works for me.

Well, for me Emacs is not broken.  Your initial issue is about:

--8<---------------cut here---------------start------------->8---
libm17n-core.so.0: cannot open shared object file: No such file or directory
--8<---------------cut here---------------end--------------->8---

Now, is it solved for you?


Then this issue…

>>> Hmm, the commands fails with
>>>
>>> --8<---------------cut here---------------start------------->8---
>>> [...]
>>> building package cache...
>>> -builder for `/gnu/store/k4ih7z9q04nghfvw4by007z8ijskghkn-guix-package-cache.drv' failed to produce output path `/gnu/store/n6qbwd1ahj3b4jzgp0np3fhvw9msgz06-guix-package-cache'
>>> build of /gnu/store/k4ih7z9q04nghfvw4by007z8ijskghkn-guix-package-cache.drv failed
>>> View build log at '/var/log/guix/drvs/k4/ih7z9q04nghfvw4by007z8ijskghkn-guix-package-cache.drv.bz2'.
>>> cannot build derivation `/gnu/store/cfsrsvrz5c3mrxkm0ddlq9hy2bbvbl5c-profile.drv': 1 dependencies couldn't be built
>>> guix time-machine: error: build of `/gnu/store/cfsrsvrz5c3mrxkm0ddlq9hy2bbvbl5c-profile.drv' failed
>>> --8<---------------cut here---------------end--------------->8---

is another one.  And from my experience, it is about a conflict about
the channels.

>> Do you have a custom channel file?  Usually, this kind of error come
>> from a conflict between the packages from upstream (commit 652a03888)
>> and local packages.
>
> Yes, I do have a custom channel file

IMHO, the issue comes from this.  As Maxim suggested [1], you should
run:

        Do you use channels?  If so, could you

        $ mv ~/.config/guix/channels.scm{,.bak}
        $ guix pull
        $ guix environment --ad-hoc emacs -- emacs --version

and it should fix the issue.  This…

> $ guix describe
> Generation 57	Jul 03 2021 11:44:49	(current)
>   flat 7b8353e
>     repository URL: https://github.com/flatwhatson/guix-channel
>     branch: master
>     commit: 7b8353ebbcf486e3344924d1cac0fa7ba47c371d
>   raingloom 7f5bf6d
>     repository URL: https://git.sr.ht/~raingloom/guix-packages
>     branch: master
>     commit: 7f5bf6d7783015c7899a6560f8bedc69b0d76393
>   guix-science 0bd456d
>     repository URL: https://github.com/guix-science/guix-science.git
>     branch: master
>     commit: 0bd456d2b0b25970e709ee408f1e1bc3f75b98ae
>   guix eef099a
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: eef099a2e1648032c571567c6da29ccd86e72058

…suggests you have a ~/.config/guix/channels.scm file and one of the
channel has a conflict with master.

1: <http://issues.guix.gnu.org/issue/48335#10>


All the best,
simon




  reply	other threads:[~2021-07-11 18:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-10 16:40 bug#48335: Emacs is broken Xinglu Chen
2021-05-10 22:39 ` Leo Prikler
2021-05-11 21:22 ` Ludovic Courtès
2021-05-12  7:55   ` Xinglu Chen
2021-05-12  8:16     ` Leo Prikler
2021-05-12  9:34       ` Xinglu Chen
2021-05-14 12:18         ` Xinglu Chen
2021-05-14 13:20           ` Leo Prikler
2021-05-20 13:43             ` Maxim Cournoyer
2021-05-21 14:06               ` Xinglu Chen
2021-05-22  2:48                 ` Maxim Cournoyer
2021-05-22 10:14                   ` Xinglu Chen
2021-07-08 14:28                     ` Maxim Cournoyer
2021-07-10 15:55                       ` Xinglu Chen
2021-07-11  9:01                         ` zimoun
2021-07-11  9:33                           ` Xinglu Chen
2021-07-11 18:47                             ` zimoun [this message]
2021-11-21  6:40                     ` Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=868s2cit6j.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=48335@debbugs.gnu.org \
    --cc=leo.prikler@student.tugraz.at \
    --cc=maxim.cournoyer@gmail.com \
    --cc=public@yoctocell.xyz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).