radian-software / straight.el

🍀 Next-generation, purely functional package manager for the Emacs hacker.
MIT License
2.71k stars 150 forks source link

Installing hyperbole is not fully successful #623

Closed infoparticle closed 3 years ago

infoparticle commented 3 years ago

What's wrong

I tried installing hyperbole via straight. The package got properly cloned but the compile and build step fails moving some of the required directories to straight\build\hyperbole.

straight\repos\hyperbole\kotl should be in the straight\build\hyperbole too. This missing kotl directory breaks the installation.

Directions to reproduce

(use-package hyperbole :ensure t)

Then try restarting the emacs, you will notice cloning of repos works fine and building the repo misses to move kotl directory to straight/build directory. This will leave a broken emacs initialization, after the emacs restart.

Version information

infoparticle commented 3 years ago

It could be the mistake of hyperbole package, may be it's following non-standard way of packaging its folders/files.

please also refer: https://github.com/rswgnu/hyperbole/issues/42

progfolio commented 3 years ago

(use-package hyperbole :ensure t)

You don't want to use use-package's :ensure keyword with straight.

See:

https://github.com/raxod502/straight.el#how-do-i-update-melpa-et-al

Make sure you're not using :ensure or use-package-always-ensure. Those are for package.el and using them with straight.el will produce weird results (namely both package.el and straight.el will be invoked for the same package).

As far as hyperbole installation goes, you're correct in that you'll need to override the recipe's :file directive.

The following seems to work for me:

(straight-use-package '(hyperbole :files ("*" (:exclude ".git") "kotl")))

This can be used in a use-package form as well:

(use-package hyperbole
  :straight (:files ("*" (:exclude ".git") "kotl")))

Also see: #237

rswgnu commented 3 years ago

Yes, as progfolio noted, you have to add kotl to your recipe for this to work. You should also include the "man" subdirectory to install the documentation as well.

You should be able to close this issue now.

raxod502 commented 3 years ago

No, I think this is a bug in straight.el, specifically the recipe generator for our mirror of GNU ELPA. The only recipe repository where packages aren't expected to work out of the box is Emacsmirror (and our Emacsmirror mirror), everything else should be compatible. I can take a look at this. I'm sure it's something silly that was changed in the GNU ELPA build scripts.

progfolio commented 3 years ago

Seems to build fine on my system. Possibly Windows specific?

@infoparticle: Would you mind evaluating the following test case in an Emacs buffer with lexical binding enabled? It will install a straight.el and hyperbole in a clean test environment and after it has finished a buffer will pop up with the results to copy here. (You may have to change "straight/build/hyperbole/kotl" to "straight\build\hyperbole\kotl" for Windows to recognize the path.)

Test Case ```emacs-lisp (straight-bug-report :user-dir "hypberbole.straight" :post-bootstrap (straight-use-package '(hyperbole :source gnu-elpa-mirror)) (let ((default-directory (expand-file-name "straight/build/hyperbole/kotl" (plist-get straight-bug-report-args :user-dir)))) (message "%S" (directory-files ".")))) ```
Output ```emacs-lisp Test run with version: prerelease (HEAD -> develop, origin/develop) 0f283e2 2020-11-04 ("." ".." "EXAMPLE.kotl" "MANIFEST" "kcell.el" "kcell.elc" "kexport.el" "kexport.elc" "kfile.el" "kfile.elc" "kfill.el" "kfill.elc" "kimport.el" "kimport.elc" "klabel.el" "klabel.elc" "klink.el" "klink.elc" "kmenu.el" "kmenu.elc" "knode.el" "knode.elc" "kotl-autoloads.el" "kotl-mode.el" "kotl-mode.elc" "kprop-em.el" "kprop-em.elc" "kprop-xe.el" "kproperty.el" "kproperty.elc" "kview.el" "kview.elc" "kvspec.el" "kvspec.elc") ```
raxod502 commented 3 years ago

Yeah, it looks correct to me. I'd like to see the value of straight-get-recipe RET hyperbole RET to verify it's the same as it should be, namely (hyperbole :type git :host github :repo "emacs-straight/hyperbole" :files ("*" (:exclude ".git"))).

The directory listing for my built Hyperbole ``` Permissions Size User Date Modified Name drwxrwxr-x - raxod502 16 Nov 6:57 hyperbole lrwxrwxrwx 59 raxod502 16 Nov 6:57 ├── .gitignore -> /home/raxod502/.emacs.d/straight/repos/hyperbole/.gitignore lrwxrwxrwx 54 raxod502 16 Nov 6:57 ├── .hypb -> /home/raxod502/.emacs.d/straight/repos/hyperbole/.hypb lrwxrwxrwx 54 raxod502 16 Nov 6:57 ├── _hypb -> /home/raxod502/.emacs.d/straight/repos/hyperbole/_hypb lrwxrwxrwx 56 raxod502 16 Nov 6:57 ├── Changes -> /home/raxod502/.emacs.d/straight/repos/hyperbole/Changes lrwxrwxrwx 56 raxod502 16 Nov 6:57 ├── COPYING -> /home/raxod502/.emacs.d/straight/repos/hyperbole/COPYING lrwxrwxrwx 53 raxod502 16 Nov 6:57 ├── DEMO -> /home/raxod502/.emacs.d/straight/repos/hyperbole/DEMO lrwxrwxrwx 62 raxod502 16 Nov 6:57 ├── DEMO-ROLO.otl -> /home/raxod502/.emacs.d/straight/repos/hyperbole/DEMO-ROLO.otl lrwxrwxrwx 56 raxod502 16 Nov 6:57 ├── hact.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hact.el .rw-rw-r-- 12k raxod502 16 Nov 6:57 ├── hact.elc lrwxrwxrwx 60 raxod502 16 Nov 6:57 ├── hactypes.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hactypes.el lrwxrwxrwx 57 raxod502 16 Nov 6:57 ├── hargs.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hargs.el .rw-rw-r-- 20k raxod502 16 Nov 6:57 ├── hargs.elc lrwxrwxrwx 58 raxod502 16 Nov 6:57 ├── hbdata.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hbdata.el .rw-rw-r-- 11k raxod502 16 Nov 6:57 ├── hbdata.elc lrwxrwxrwx 57 raxod502 16 Nov 6:57 ├── hbmap.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hbmap.el .rw-rw-r-- 3.8k raxod502 16 Nov 6:57 ├── hbmap.elc lrwxrwxrwx 56 raxod502 16 Nov 6:57 ├── hbut.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hbut.el .rw-rw-r-- 32k raxod502 16 Nov 6:57 ├── hbut.elc lrwxrwxrwx 57 raxod502 16 Nov 6:57 ├── hgnus.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hgnus.el .rw-rw-r-- 2.8k raxod502 16 Nov 6:57 ├── hgnus.elc lrwxrwxrwx 57 raxod502 16 Nov 6:57 ├── hhist.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hhist.el .rw-rw-r-- 1.7k raxod502 16 Nov 6:57 ├── hhist.elc lrwxrwxrwx 63 raxod502 16 Nov 6:57 ├── hib-debbugs.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hib-debbugs.el lrwxrwxrwx 62 raxod502 16 Nov 6:57 ├── hib-doc-id.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hib-doc-id.el lrwxrwxrwx 59 raxod502 16 Nov 6:57 ├── hib-kbd.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hib-kbd.el lrwxrwxrwx 62 raxod502 16 Nov 6:57 ├── hib-social.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hib-social.el .rw-rw-r-- 23k raxod502 16 Nov 6:57 ├── hib-social.elc lrwxrwxrwx 60 raxod502 16 Nov 6:57 ├── hibtypes.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hibtypes.el lrwxrwxrwx 57 raxod502 16 Nov 6:57 ├── hinit.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hinit.el lrwxrwxrwx 62 raxod502 16 Nov 6:57 ├── hload-path.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hload-path.el .rw-rw-r-- 1.2k raxod502 16 Nov 6:57 ├── hload-path.elc lrwxrwxrwx 57 raxod502 16 Nov 6:57 ├── hmail.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hmail.el .rw-rw-r-- 8.0k raxod502 16 Nov 6:57 ├── hmail.elc lrwxrwxrwx 55 raxod502 16 Nov 6:57 ├── hmh.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hmh.el .rw-rw-r-- 3.7k raxod502 16 Nov 6:57 ├── hmh.elc lrwxrwxrwx 59 raxod502 16 Nov 6:57 ├── hmoccur.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hmoccur.el .rw-rw-r-- 6.7k raxod502 16 Nov 6:57 ├── hmoccur.elc lrwxrwxrwx 62 raxod502 16 Nov 6:57 ├── hmouse-drv.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hmouse-drv.el .rw-rw-r-- 41k raxod502 16 Nov 6:57 ├── hmouse-drv.elc lrwxrwxrwx 63 raxod502 16 Nov 6:57 ├── hmouse-info.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hmouse-info.el .rw-rw-r-- 9.9k raxod502 16 Nov 6:57 ├── hmouse-info.elc lrwxrwxrwx 62 raxod502 16 Nov 6:57 ├── hmouse-key.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hmouse-key.el lrwxrwxrwx 62 raxod502 16 Nov 6:57 ├── hmouse-mod.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hmouse-mod.el .rw-rw-r-- 6.3k raxod502 16 Nov 6:57 ├── hmouse-mod.elc lrwxrwxrwx 61 raxod502 16 Nov 6:57 ├── hmouse-sh.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hmouse-sh.el .rw-rw-r-- 16k raxod502 16 Nov 6:57 ├── hmouse-sh.elc lrwxrwxrwx 62 raxod502 16 Nov 6:57 ├── hmouse-tag.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hmouse-tag.el .rw-rw-r-- 44k raxod502 16 Nov 6:57 ├── hmouse-tag.elc lrwxrwxrwx 57 raxod502 16 Nov 6:57 ├── hpath.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hpath.el .rw-rw-r-- 45k raxod502 16 Nov 6:57 ├── hpath.elc lrwxrwxrwx 58 raxod502 16 Nov 6:57 ├── hrmail.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hrmail.el .rw-rw-r-- 6.9k raxod502 16 Nov 6:57 ├── hrmail.elc lrwxrwxrwx 61 raxod502 16 Nov 6:57 ├── hsettings.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hsettings.el .rw-rw-r-- 6.0k raxod502 16 Nov 6:57 ├── hsettings.elc lrwxrwxrwx 58 raxod502 16 Nov 6:57 ├── hsmail.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hsmail.el .rw-rw-r-- 6.1k raxod502 16 Nov 6:57 ├── hsmail.elc lrwxrwxrwx 60 raxod502 16 Nov 6:57 ├── hsys-org.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hsys-org.el .rw-rw-r-- 2.1k raxod502 16 Nov 6:57 ├── hsys-org.elc lrwxrwxrwx 60 raxod502 16 Nov 6:57 ├── hsys-www.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hsys-www.el .rw-rw-r-- 4.3k raxod502 16 Nov 6:57 ├── hsys-www.elc lrwxrwxrwx 55 raxod502 16 Nov 6:57 ├── htz.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/htz.el .rw-rw-r-- 10k raxod502 16 Nov 6:57 ├── htz.elc lrwxrwxrwx 62 raxod502 16 Nov 6:57 ├── hui-em-but.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hui-em-but.el .rw-rw-r-- 19k raxod502 16 Nov 6:57 ├── hui-em-but.elc lrwxrwxrwx 61 raxod502 16 Nov 6:57 ├── hui-jmenu.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hui-jmenu.el .rw-rw-r-- 8.2k raxod502 16 Nov 6:57 ├── hui-jmenu.elc lrwxrwxrwx 60 raxod502 16 Nov 6:57 ├── hui-menu.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hui-menu.el .rw-rw-r-- 16k raxod502 16 Nov 6:57 ├── hui-menu.elc lrwxrwxrwx 60 raxod502 16 Nov 6:57 ├── hui-mini.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hui-mini.el .rw-rw-r-- 24k raxod502 16 Nov 6:57 ├── hui-mini.elc lrwxrwxrwx 61 raxod502 16 Nov 6:57 ├── hui-mouse.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hui-mouse.el .rw-rw-r-- 49k raxod502 16 Nov 6:57 ├── hui-mouse.elc lrwxrwxrwx 62 raxod502 16 Nov 6:57 ├── hui-select.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hui-select.el .rw-rw-r-- 33k raxod502 16 Nov 6:57 ├── hui-select.elc lrwxrwxrwx 64 raxod502 16 Nov 6:57 ├── hui-treemacs.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hui-treemacs.el .rw-rw-r-- 3.2k raxod502 16 Nov 6:57 ├── hui-treemacs.elc lrwxrwxrwx 62 raxod502 16 Nov 6:57 ├── hui-window.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hui-window.el .rw-rw-r-- 43k raxod502 16 Nov 6:57 ├── hui-window.elc lrwxrwxrwx 62 raxod502 16 Nov 6:57 ├── hui-xe-but.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hui-xe-but.el lrwxrwxrwx 55 raxod502 16 Nov 6:57 ├── hui.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hui.el .rw-rw-r-- 28k raxod502 16 Nov 6:57 ├── hui.elc lrwxrwxrwx 56 raxod502 16 Nov 6:57 ├── hvar.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hvar.el .rw-rw-r-- 3.4k raxod502 16 Nov 6:57 ├── hvar.elc lrwxrwxrwx 60 raxod502 16 Nov 6:57 ├── hversion.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hversion.el .rw-rw-r-- 5.5k raxod502 16 Nov 6:57 ├── hversion.elc lrwxrwxrwx 55 raxod502 16 Nov 6:57 ├── hvm.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hvm.el lrwxrwxrwx 57 raxod502 16 Nov 6:57 ├── HY-ABOUT -> /home/raxod502/.emacs.d/straight/repos/hyperbole/HY-ABOUT lrwxrwxrwx 60 raxod502 16 Nov 6:57 ├── HY-ANNOUNCE -> /home/raxod502/.emacs.d/straight/repos/hyperbole/HY-ANNOUNCE lrwxrwxrwx 56 raxod502 16 Nov 6:57 ├── HY-COPY -> /home/raxod502/.emacs.d/straight/repos/hyperbole/HY-COPY lrwxrwxrwx 56 raxod502 16 Nov 6:57 ├── HY-NEWS -> /home/raxod502/.emacs.d/straight/repos/hyperbole/HY-NEWS lrwxrwxrwx 60 raxod502 16 Nov 6:57 ├── HY-WHY.kotl -> /home/raxod502/.emacs.d/straight/repos/hyperbole/HY-WHY.kotl lrwxrwxrwx 61 raxod502 16 Nov 6:57 ├── hycontrol.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hycontrol.el .rw-rw-r-- 77k raxod502 16 Nov 6:57 ├── hycontrol.elc lrwxrwxrwx 56 raxod502 16 Nov 6:57 ├── hypb.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hypb.el .rw-rw-r-- 26k raxod502 16 Nov 6:57 ├── hypb.elc .rw-rw-r-- 55k raxod502 16 Nov 6:57 ├── hyperbole-autoloads.el lrwxrwxrwx 69 raxod502 16 Nov 6:57 ├── hyperbole-banner.png -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hyperbole-banner.png lrwxrwxrwx 65 raxod502 16 Nov 6:57 ├── hyperbole-pkg.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hyperbole-pkg.el lrwxrwxrwx 61 raxod502 16 Nov 6:57 ├── hyperbole.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hyperbole.el .rw-rw-r-- 12k raxod502 16 Nov 6:57 ├── hyperbole.elc lrwxrwxrwx 63 raxod502 16 Nov 6:57 ├── hyrolo-demo.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hyrolo-demo.el .rw-rw-r-- 2.7k raxod502 16 Nov 6:57 ├── hyrolo-demo.elc lrwxrwxrwx 64 raxod502 16 Nov 6:57 ├── hyrolo-logic.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hyrolo-logic.el .rw-rw-r-- 7.9k raxod502 16 Nov 6:57 ├── hyrolo-logic.elc lrwxrwxrwx 63 raxod502 16 Nov 6:57 ├── hyrolo-menu.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hyrolo-menu.el .rw-rw-r-- 3.9k raxod502 16 Nov 6:57 ├── hyrolo-menu.elc lrwxrwxrwx 58 raxod502 16 Nov 6:57 ├── hyrolo.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hyrolo.el .rw-rw-r-- 48k raxod502 16 Nov 6:57 ├── hyrolo.elc lrwxrwxrwx 61 raxod502 16 Nov 6:57 ├── hywconfig.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/hywconfig.el .rw-rw-r-- 6.5k raxod502 16 Nov 6:57 ├── hywconfig.elc lrwxrwxrwx 56 raxod502 16 Nov 6:57 ├── INSTALL -> /home/raxod502/.emacs.d/straight/repos/hyperbole/INSTALL drwxrwxr-x - raxod502 16 Nov 6:57 ├── kotl lrwxrwxrwx 66 raxod502 16 Nov 6:57 │ ├── EXAMPLE.kotl -> /home/raxod502/.emacs.d/straight/repos/hyperbole/kotl/EXAMPLE.kotl lrwxrwxrwx 62 raxod502 16 Nov 6:57 │ ├── kcell.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/kotl/kcell.el .rw-rw-r-- 5.9k raxod502 16 Nov 6:57 │ ├── kcell.elc lrwxrwxrwx 64 raxod502 16 Nov 6:57 │ ├── kexport.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/kotl/kexport.el .rw-rw-r-- 7.6k raxod502 16 Nov 6:57 │ ├── kexport.elc lrwxrwxrwx 62 raxod502 16 Nov 6:57 │ ├── kfile.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/kotl/kfile.el .rw-rw-r-- 11k raxod502 16 Nov 6:57 │ ├── kfile.elc lrwxrwxrwx 62 raxod502 16 Nov 6:57 │ ├── kfill.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/kotl/kfill.el .rw-rw-r-- 8.6k raxod502 16 Nov 6:57 │ ├── kfill.elc lrwxrwxrwx 64 raxod502 16 Nov 6:57 │ ├── kimport.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/kotl/kimport.el .rw-rw-r-- 19k raxod502 16 Nov 6:57 │ ├── kimport.elc lrwxrwxrwx 63 raxod502 16 Nov 6:57 │ ├── klabel.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/kotl/klabel.el .rw-rw-r-- 19k raxod502 16 Nov 6:57 │ ├── klabel.elc lrwxrwxrwx 62 raxod502 16 Nov 6:57 │ ├── klink.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/kotl/klink.el .rw-rw-r-- 6.9k raxod502 16 Nov 6:57 │ ├── klink.elc lrwxrwxrwx 62 raxod502 16 Nov 6:57 │ ├── kmenu.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/kotl/kmenu.el .rw-rw-r-- 6.0k raxod502 16 Nov 6:57 │ ├── kmenu.elc lrwxrwxrwx 62 raxod502 16 Nov 6:57 │ ├── knode.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/kotl/knode.el .rw-rw-r-- 1.9k raxod502 16 Nov 6:57 │ ├── knode.elc lrwxrwxrwx 71 raxod502 16 Nov 6:57 │ ├── kotl-autoloads.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/kotl/kotl-autoloads.el lrwxrwxrwx 66 raxod502 16 Nov 6:57 │ ├── kotl-mode.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/kotl/kotl-mode.el .rw-rw-r-- 93k raxod502 16 Nov 6:57 │ ├── kotl-mode.elc lrwxrwxrwx 65 raxod502 16 Nov 6:57 │ ├── kprop-em.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/kotl/kprop-em.el .rw-rw-r-- 2.9k raxod502 16 Nov 6:57 │ ├── kprop-em.elc lrwxrwxrwx 65 raxod502 16 Nov 6:57 │ ├── kprop-xe.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/kotl/kprop-xe.el lrwxrwxrwx 66 raxod502 16 Nov 6:57 │ ├── kproperty.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/kotl/kproperty.el .rw-rw-r-- 556 raxod502 16 Nov 6:57 │ ├── kproperty.elc lrwxrwxrwx 62 raxod502 16 Nov 6:57 │ ├── kview.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/kotl/kview.el .rw-rw-r-- 42k raxod502 16 Nov 6:57 │ ├── kview.elc lrwxrwxrwx 63 raxod502 16 Nov 6:57 │ ├── kvspec.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/kotl/kvspec.el .rw-rw-r-- 7.9k raxod502 16 Nov 6:57 │ ├── kvspec.elc lrwxrwxrwx 62 raxod502 16 Nov 6:57 │ └── MANIFEST -> /home/raxod502/.emacs.d/straight/repos/hyperbole/kotl/MANIFEST lrwxrwxrwx 57 raxod502 16 Nov 6:57 ├── Makefile -> /home/raxod502/.emacs.d/straight/repos/hyperbole/Makefile drwxrwxr-x - raxod502 16 Nov 6:57 ├── man lrwxrwxrwx 56 raxod502 16 Nov 6:57 │ ├── dir -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/dir lrwxrwxrwx 66 raxod502 16 Nov 6:57 │ ├── hkey-help.txt -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/hkey-help.txt lrwxrwxrwx 66 raxod502 16 Nov 6:57 │ ├── hyperbole.css -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/hyperbole.css lrwxrwxrwx 67 raxod502 16 Nov 6:57 │ ├── hyperbole.html -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/hyperbole.html lrwxrwxrwx 67 raxod502 16 Nov 6:57 │ ├── hyperbole.info -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/hyperbole.info lrwxrwxrwx 66 raxod502 16 Nov 6:57 │ ├── hyperbole.pdf -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/hyperbole.pdf lrwxrwxrwx 67 raxod502 16 Nov 6:57 │ ├── hyperbole.texi -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/hyperbole.texi drwxrwxr-x - raxod502 16 Nov 6:57 │ ├── im lrwxrwxrwx 64 raxod502 16 Nov 6:57 │ │ ├── C-hh.png -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/C-hh.png lrwxrwxrwx 64 raxod502 16 Nov 6:57 │ │ ├── demo.eps -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/demo.eps lrwxrwxrwx 64 raxod502 16 Nov 6:57 │ │ ├── demo.png -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/demo.png lrwxrwxrwx 72 raxod502 16 Nov 6:57 │ │ ├── hyperbole-cv.eps -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/hyperbole-cv.eps lrwxrwxrwx 72 raxod502 16 Nov 6:57 │ │ ├── hyperbole-cv.png -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/hyperbole-cv.png lrwxrwxrwx 69 raxod502 16 Nov 6:57 │ │ ├── koutliner.eps -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/koutliner.eps lrwxrwxrwx 69 raxod502 16 Nov 6:57 │ │ ├── koutliner.png -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/koutliner.png lrwxrwxrwx 78 raxod502 16 Nov 6:57 │ │ ├── menu-customization.png -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/menu-customization.png lrwxrwxrwx 82 raxod502 16 Nov 6:57 │ │ ├── menu-display-referents.png -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/menu-display-referents.png lrwxrwxrwx 69 raxod502 16 Nov 6:57 │ │ ├── menu-find.png -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/menu-find.png lrwxrwxrwx 74 raxod502 16 Nov 6:57 │ │ ├── menu-hyperbole.eps -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/menu-hyperbole.eps lrwxrwxrwx 74 raxod502 16 Nov 6:57 │ │ ├── menu-hyperbole.png -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/menu-hyperbole.png lrwxrwxrwx 77 raxod502 16 Nov 6:57 │ │ ├── menu-key-bindings.png -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/menu-key-bindings.png lrwxrwxrwx 73 raxod502 16 Nov 6:57 │ │ ├── menu-koutline.eps -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/menu-koutline.eps lrwxrwxrwx 73 raxod502 16 Nov 6:57 │ │ ├── menu-koutline.png -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/menu-koutline.png lrwxrwxrwx 69 raxod502 16 Nov 6:57 │ │ ├── menu-rolo.eps -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/menu-rolo.eps lrwxrwxrwx 69 raxod502 16 Nov 6:57 │ │ ├── menu-rolo.png -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/menu-rolo.png lrwxrwxrwx 76 raxod502 16 Nov 6:57 │ │ ├── menu-url-browser.png -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/menu-url-browser.png lrwxrwxrwx 83 raxod502 16 Nov 6:57 │ │ ├── menu-web-search-browser.png -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/menu-web-search-browser.png lrwxrwxrwx 69 raxod502 16 Nov 6:57 │ │ ├── wgrid-2x2.png -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/wgrid-2x2.png lrwxrwxrwx 69 raxod502 16 Nov 6:57 │ │ ├── wgrid-2x3.png -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/wgrid-2x3.png lrwxrwxrwx 69 raxod502 16 Nov 6:57 │ │ ├── wgrid-3x5.png -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/wgrid-3x5.png lrwxrwxrwx 69 raxod502 16 Nov 6:57 │ │ └── wgrid-4x6.png -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/im/wgrid-4x6.png lrwxrwxrwx 65 raxod502 16 Nov 6:57 │ └── version.texi -> /home/raxod502/.emacs.d/straight/repos/hyperbole/man/version.texi lrwxrwxrwx 57 raxod502 16 Nov 6:57 ├── MANIFEST -> /home/raxod502/.emacs.d/straight/repos/hyperbole/MANIFEST lrwxrwxrwx 55 raxod502 16 Nov 6:57 ├── README -> /home/raxod502/.emacs.d/straight/repos/hyperbole/README lrwxrwxrwx 58 raxod502 16 Nov 6:57 ├── README.md -> /home/raxod502/.emacs.d/straight/repos/hyperbole/README.md lrwxrwxrwx 63 raxod502 16 Nov 6:57 ├── README.md.html -> /home/raxod502/.emacs.d/straight/repos/hyperbole/README.md.html lrwxrwxrwx 55 raxod502 16 Nov 6:57 ├── set.el -> /home/raxod502/.emacs.d/straight/repos/hyperbole/set.el .rw-rw-r-- 5.6k raxod502 16 Nov 6:57 ├── set.elc lrwxrwxrwx 63 raxod502 16 Nov 6:57 ├── smart-clib-sym -> /home/raxod502/.emacs.d/straight/repos/hyperbole/smart-clib-sym lrwxrwxrwx 58 raxod502 16 Nov 6:57 └── topwin.py -> /home/raxod502/.emacs.d/straight/repos/hyperbole/topwin.py ```
raxod502 commented 3 years ago

Unless you are saying you expect those subdirectories' contents to be linked into the top level of build/hyperbole, in which case I can look at this further to see if that's what package.el, and (if so) why straight.el is behaving differently.

infoparticle commented 3 years ago

Latest straight code fixed the problem! Thanks!

I ran my (simplified) standard emacs-init.el which has the following code. using c:\opt\emax64\bin\runemacs.exe -Q -l emacs-init.el

content of emacs-init.el ` (setq user-init-file (or load-file-name (buffer-file-name))) (setq user-emacs-directory (file-name-directory user-init-file))

(defvar bootstrap-version) (let ((bootstrap-file (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) (bootstrap-version 5)) (unless (file-exists-p bootstrap-file) (with-current-buffer (url-retrieve-synchronously "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el" 'silent 'inhibit-cookies) (goto-char (point-max)) (eval-print-last-sexp))) (load bootstrap-file nil 'nomessage))

(setq straight-use-package-by-default t) (straight-use-package 'use-package)

(use-package hyperbole) `

hyperbole built as expected, demos and koutliner all worked as expected! I could see all the required files/folders present in straight/build/hyperbole directory!