embark-org file missing in straight build

Table of Contents

embark-org.el file missing

This issue is a repeat1 of an old, closed one. because I cannot re-open that issue. I have tried the fixes mentioned there and more, but to no avail.

What’s wrong

when straight builds the embark package, it omits the embark-org.el file which is present in its embark repository directory. This results in blocking errors as I have things that depend upon functions from embark-org.

Directions to reproduce

(use-package embark)

The repository includes a embark-org.el at the top level, but the straight build does not. Errors follow that the embark-org file cannot be found.

Bug report and information should be as in the linked issue.

Version information

  • Emacs version: GNU Emacs 28.2 (build 1, x8664-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0)
  • Operating system: Linux (Gnu GUIX)

Solution

Jackpot! I’m using exwm and a literate config, so I tried to get away without restarting my main process. What brought the solution (ie a BUILD/embark/embark-org.el):

  1. Delete BUILD/embark
  2. Delete REPOS/embark
  3. Delete every sexp that mentioned “embark” from straight/build-cache.el
  4. Restart an emacs process, which triggers Straight to run and build new embark symlinks… and this time they included embark-org.el

I wonder what caused this problem in the first place?

Footnotes

1 I created my issue at https://github.com/radian-software/straight.el/issues/1087 , which was almost a repeat of a previously closed issue at https://github.com/radian-software/straight.el/issues/1046. I was looking for something a little less of a bludgeon than “clear the whole straight directory and try again.”

Tory Anderson avatar
Tory Anderson
Full-time Web App Engineer, Digital Humanist, Researcher, Computer Psychologist