From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: help-guix@gnu.org
Subject: Re: LaTeX: Need help with packaging a book in GNU Guix
Date: Tue, 29 Aug 2023 21:26:49 +0300 [thread overview]
Message-ID: <871qflemc6.fsf@gmail.com> (raw)
In-Reply-To: <87jztenhgp.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 29 Aug 2023 14:47:18 +0200")
[-- Attachment #1: Type: text/plain, Size: 2715 bytes --]
Hello Nicolas!
> I then suggest to add `texlive-fontspec' (a few kB) instead of `texlive'
> (3 GB) to the inputs.
Thanks, that worked out indeed. I've added other LaTeX packages as
well, searching by the required ".sty" files.
But then, I ran into the following error:
--8<---------------cut here---------------start------------->8---
Package rerunfilecheck Info: Checksums for `sparc.out':
(rerunfilecheck) Before: <no file>
(rerunfilecheck) After: 8A9E5CFD2193CCDADFE90D96E3F45333;20690.
runsystem(rm sparc.pyg)...executed.
)
Here is how much of TeX's memory you used:
66386 strings out of 476682
1790478 string characters out of 5779954
2503753 words of memory out of 5000000
84784 multiletter control sequences out of 15000+600000
516911 words of font info for 97 fonts, out of 8000000 for 9000
1348 hyphenation exceptions out of 8191
94i,16n,92p,2254b,2061s stack positions out of 10000i,1000n,20000p,200000b,200000s
Output written on sparc.xdv (133 pages, 2587352 bytes).
GLOSSARY sparc
INDEX sparc
/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh: /gnu/store/05770yhxad3d3p4q7rgw8clh0y1gi5sc-texlive-glossaries-66594/bin/makeglossaries: /usr/bin/env: bad interpreter: No such file or directory
make: *** [Makefile:77: make_glossary] Error 1
make: *** Waiting for unfinished jobs....
--8<---------------cut here---------------end--------------->8---
It looks like "makeglossaries" cannot find "/usr/bin/env" program. I
checked where "env" can be found inside the builder context:
--8<---------------cut here---------------start------------->8---
(arguments
(list #:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'debug
(lambda _
(invoke "which" "env")))
--8<---------------cut here---------------end--------------->8---
And the full path is:
/gnu/store/yr39rh6wihd1wv6gzf7w4w687dwzf3vb-coreutils-9.1/bin/env
But "makeglossaries" script seems to have a wrong path:
--8<---------------cut here---------------start------------->8---
$ head -1 /gnu/store/05770yhxad3d3p4q7rgw8clh0y1gi5sc-texlive-glossaries-66594/bin/makeglossaries
#!/usr/bin/env perl
--8<---------------cut here---------------end--------------->8---
Maybe there should be a symlink to "/bin/env" or something. Strangely
enough when I add "texlive" to the inputs, the problem is gone.
Any ideas?
Thanks!
- avp
--
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 519 bytes --]
next prev parent reply other threads:[~2023-08-29 18:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-28 3:51 LaTeX: Need help with packaging a book in GNU Guix Artyom V. Poptsov
2023-08-29 9:01 ` Nicolas Goaziou
2023-08-29 12:42 ` Artyom V. Poptsov
2023-08-29 12:47 ` Nicolas Goaziou
2023-08-29 18:26 ` Artyom V. Poptsov [this message]
2023-08-29 18:55 ` Nicolas Goaziou
2023-08-29 19:19 ` Artyom V. Poptsov
2023-08-31 18:00 ` Artyom V. Poptsov
2023-09-01 3:15 ` Artyom V. Poptsov
2023-09-01 5:24 ` Dr. Arne Babenhauserheide
2023-09-01 8:26 ` Andreas Enge
2023-09-01 10:58 ` Nicolas Goaziou
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=871qflemc6.fsf@gmail.com \
--to=poptsov.artyom@gmail.com \
--cc=help-guix@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/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.
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).