doomemacs / doomemacs/core

Errors in clean doom-emacs installation (Dockerfile)

Open
#6,995 15 comments 1 reaction 0 assignees View on GitHub
is:bug needs-triage
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### I confirm that...

- [X] I have searched the [issue tracker](https://github.com/doomemacs/doomemacs/issues), [documentation](https://docs.doomemacs.org), [FAQ](https://docs.doomemacs.org/-/faq), [Discourse](https://discourse.doomemacs.org), and [Google](https://google.com), in case this issue has already been reported/resolved.

- [X] I have read "[How to Debug Issues](https://doomemacs.org/d/how2debug)", and will use it to provide as much information about this issue as possible.

- [X] The issue can be reproduced on the **latest** available commit of Doom.

- [X] The issue can be reproduced on a stable release of Emacs, such as 27 or 28. *(Doom does not support development builds like 29+ or any version ending in .50 or .9x)*

### Expected behavior

No errors in clean doom-emacs installation

### Current behavior

error in process sentinel: eln file inconsistent with current runtime configuration, please recompile: "/root/.emacs.d/.local/cache/eln/28.2-139158e4/pcase-394c5744-d3c6b77f.eln" [2 times]

### Steps to reproduce

```
# This is Dockerfile
# For build image run in directory with Dockerfile: docker build -t doomerror:0.1 .
# For run this image: docker run -it --rm doomerror:0.1
FROM alpine:3.17

# install emacs
RUN apk add emacs-x11-nativecomp

# for native compilation
RUN apk add bash gcc libc-dev

# Prerequisites for doomemacs
RUN apk add git ripgrep findutils fd
RUN apk add grep graphviz markdown

# Install doom-emacs
RUN git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.emacs.d
RUN yes | ~/.emacs.d/bin/doom install

ENTRYPOINT emacs -nw
```

After run this docker image go to *Messages* buffer and see this:
```
error in process sentinel: eln file inconsistent with current runtime configuration, please recompile: "/root/.emacs.d/.local/cache/eln/28.2-139158e4/pcase-394c5744-d3c6b77f.eln" [2 times]
```
----
The same with alpine 3.16 which has emacs-28.1 (alpine 3.17 has emacs 28.2)

### System Information

https://gist.github.com/pavelXbushmakin/3cd6c1a5879168b5626701094e9f4f4c

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.