Closed psionic-k closed 7 months ago
What's the output of M-x elpaca-info eat
?
It should show you exactly what commands were used to compile and install the info as well as any warnings.
For example, installing from M-x elpaca-manager
generates the following on my system:
[2024-01-11 22:54:27] Compiling Info files
[2024-01-11 22:54:27] $/usr/bin/makeinfo /home/n/.emacs.d/elpaca/repos/eat/eat.texi -o /home/n/.emacs.d/elpaca/builds/eat/eat.info /home/n/.emacs.d/elpaca/repos/eat/fdl.texi -o /home/n/.emacs.d/elpaca/builds/eat/fdl.info /home/n/.emacs.d/elpaca/repos/eat/gpl.texi -o /home/n/.emacs.d/elpaca/builds/eat/gpl.info
[2024-01-11 22:54:27] eat.texi:49: warning: node `Top' lacks menu item for `Sixel' despite being its Up target
[2024-01-11 22:54:27] fdl.texi: warning: document without nodes
[2024-01-11 22:54:27] gpl.texi: warning: document without nodes
[2024-01-11 22:54:27] Continued by: elpaca--compile-info-process-sentinel
[2024-01-11 22:54:27] Info compiled
[2024-01-11 22:54:27] Installing Info files
[2024-01-11 22:54:27] Continued by: elpaca--install-info
[2024-01-11 22:54:27] /home/n/.emacs.d/elpaca/builds/eat/gpl.info
[2024-01-11 22:54:27] $/usr/bin/install-info /home/n/.emacs.d/elpaca/builds/eat/gpl.info /home/n/.emacs.d/elpaca/builds/eat/dir
[2024-01-11 22:54:27] install-info: warning: no info dir entry in `/home/n/.emacs.d/elpaca/builds/eat/gpl.info'
[2024-01-11 22:54:27] Continued by: elpaca--install-info-process-sentinel
[2024-01-11 22:54:27] Info installed
[2024-01-11 22:54:27] /home/n/.emacs.d/elpaca/builds/eat/fdl.info
[2024-01-11 22:54:27] $/usr/bin/install-info /home/n/.emacs.d/elpaca/builds/eat/fdl.info /home/n/.emacs.d/elpaca/builds/eat/dir
[2024-01-11 22:54:27] install-info: warning: no info dir entry in `/home/n/.emacs.d/elpaca/builds/eat/fdl.info'
[2024-01-11 22:54:27] Continued by: elpaca--install-info-process-sentinel
[2024-01-11 22:54:27] Info installed
[2024-01-11 22:54:27] Adding Info path
[2024-01-11 22:54:27] Continued by: elpaca--add-info-path
Looks like there are some warnings. There's also this upstream issue: https://codeberg.org/akib/emacs-eat/issues/124
Looks like EAT also uses a Makefile to generate info files.
You could bypass Elpaca's default Info steps and use a :pre-build
step to use make
to generate the info. e.g.
(elpaca (eat :build (:not elpaca--compile-info elpaca--install-info)
:pre-build ("make" "eat.info")))
Sorry for late reply. Did an update. Doc license & license are installed. eat.info is in the makeinfo
command but missing in the output. Isn't that also what your logs show?
[2024-01-18 15:43:55] Compiling Info files
[2024-01-18 15:43:55] $/run/current-system/sw/bin/makeinfo /home/satoshi/.emacs.d/elpaca/repos/eat/eat.texi -o /home/psi/.emacs.d/elpaca/builds/eat/eat.info /home/psi/.emacs.d/elpaca/repos/eat/fdl.texi -o /home/psi/.emacs.d/elpaca/builds/eat/fdl.info /home/psi/.emacs.d/elpaca/repos/eat/gpl.texi -o /home/psi/.emacs.d/elpaca/builds/eat/gpl.info
[2024-01-18 15:43:55] fdl.texi: warning: document without nodes
[2024-01-18 15:43:55] gpl.texi: warning: document without nodes
[2024-01-18 15:43:55] Continued by: elpaca--compile-info-process-sentinel
[2024-01-18 15:43:55] Info compiled
[2024-01-18 15:43:55] Installing Info files
[2024-01-18 15:43:55] Continued by: elpaca--install-info
[2024-01-18 15:43:55] /home/psi/.emacs.d/elpaca/builds/eat/gpl.info
[2024-01-18 15:43:55] $/run/current-system/sw/bin/install-info /home/psi/.emacs.d/elpaca/builds/eat/gpl.info /home/psi/.emacs.d/elpaca/builds/eat/dir
[2024-01-18 15:43:55] install-info: warning: no info dir entry in `/home/psi/.emacs.d/elpaca/builds/eat/gpl.info'
[2024-01-18 15:43:55] Continued by: elpaca--install-info-process-sentinel
[2024-01-18 15:43:55] Info installed
[2024-01-18 15:43:55] /home/psi/.emacs.d/elpaca/builds/eat/fdl.info
[2024-01-18 15:43:55] $/run/current-system/sw/bin/install-info /home/psi/.emacs.d/elpaca/builds/eat/fdl.info /home/psi/.emacs.d/elpaca/builds/eat/dir
[2024-01-18 15:43:55] install-info: warning: no info dir entry in `/home/psi/.emacs.d/elpaca/builds/eat/fdl.info'
[2024-01-18 15:43:55] Continued by: elpaca--install-info-process-sentinel
[2024-01-18 15:43:55] Info installed
[2024-01-18 15:43:55] Adding Info path
[2024-01-18 15:43:55] Continued by: elpaca--add-info-path
[2024-01-18 15:43:55] Continued by: elpaca--dispatch-build-commands
[2024-01-18 15:43:55] ✓ 4.649 secs
eat.info is in the
makeinfo
command but missing in the output. Isn't that also what your logs show?
I'm not sure why that is.
Probably a quirk of the makeinfo
command.
Ignoring the license files does the trick. See the test case below.
elpaca | 039fbb1 HEAD -> master, origin/master, origin/HEAD |
isntaller | 0.6 |
emacs | GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.39, cairo version 1.18.0) of 2024-01-16 |
git | git version 2.43.0 |
Might be a bug in makeinfo itself or a misunderstanding of the command on my part. Taking Elpaca out of the picture altogether you can try this on the command line:
$ cd /tmp/
$ git clone https://codeberg.org/akib/emacs-eat.git
$ cd ./emacs-eat
$ makeinfo fdl.texi -o fdl.info gpl.texi -o gpl.info eat.texi -o eat.info
On my system that will skip creating the first info file specified (regardless of argument order). Padding it with a nonsense value produces all three info files:
$ makeinfo /dev/null -o null.info fdl.texi -o fdl.info gpl.texi -o gpl.info eat.texi -o eat.info
bug in makeinfo
Agree. Emailed the texinfo bug address:
Subject: Multiple input/output neglects to produce some files
From: Psionic K <psionik@positron.solutions>
To: bug-texinfo@gnu.org
The eat package for Emacs contains multiple info files.
https://codeberg.org/akib/emacs-eat
An issue was found where the eat.info was not being produced.
Padding the output arguments with garbage values results in all three
files being output correctly:
https://github.com/progfolio/elpaca/issues/241
Passing the eat.texi alone also works. Building one by one is another workaround option for Elpaca. These older versions of makeinfo will be alive for a while.
The easiest user workaround was to generate the manual by hand. Another option would be to omit the other two manuals using a custom :files
value. I didn't try it.
I have nothing further to add from here. Leaving open in case you will add a workaround to close the issue.
I reached out to the mailing list this morning as well:
https://lists.gnu.org/archive/html/bug-texinfo/2024-01/msg00014.html
We'll see what they say.
Another option would be to omit the other two manuals using a custom :files value. I didn't try it.
It works in the test case in my last comment. Unless it's a complete misunderstanding on my part, I'll likely leave the makeinfo subprocess as is.
Confirmation
Elpaca Version
Elpaca a7c5333 HEAD -> master, personal/master installer: 0.6 emacs-version: GNU Emacs 29.1.90 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw3d scroll bars) git --version: git version 2.42.0
Operating System
NixOS
Linux chalupas 6.1.61 #1-NixOS SMP PREEMPT_DYNAMIC Thu Nov 2 08:35:33 UTC 2023 x86_64 GNU/Linux
Description
https://codeberg.org/akib/emacs-eat
In my repos/eat, the eat.texi is present. However, no eat.info was generated. I merged and rebuilt to verify.
The texinfo specifies what looks like a correct output name:
I don't see anything obviously wrong on their end. It's in the root directory and matches the package name.