* bug#48519: texlive-bin cannot be installed in a profile
@ 2021-05-19 11:13 raid5atemyhomework via Bug reports for GNU Guix
2021-05-19 11:51 ` Ricardo Wurmus
2021-05-20 14:32 ` Ricardo Wurmus
0 siblings, 2 replies; 3+ messages in thread
From: raid5atemyhomework via Bug reports for GNU Guix @ 2021-05-19 11:13 UTC (permalink / raw)
To: 48519, rekado
In recent commits, `texlive-bin` cannot be installed in a profile. This can be replicated by doing:
guix pull
guix install texlive-bin
Or with a specific recent commit:
guix time-machine --commit=b7c7a61 -- install -p tmp texlive-bin
Note that it fails at the "building Tex Live configuration" phase; `guix build texlive-bin` builds perfectly fine, it is the installing of the package into *any* profile which fails.
However, in a previous commit a few weeks ago, `texlive-bin` *could* be installed into a profile:
guix time-machine --commit=131265e -- install -p tmp texlive-bin # Succeeds
So, doing a `git bisect` between those two commits, I got to this commit:
```git
commit a6b8794c69446730b5f12eb8eefc5ef3b99c97dc
Author: Ricardo Wurmus <rekado@elephly.net>
Date: Mon May 3 15:34:46 2021 +0200
profiles: texlive-configuration: Refresh font maps.
* guix/profiles.scm (texlive-configuration): Run updmap to generate font maps
necessary for pdflatex and other tools.
guix/profiles.scm | 51 ++++++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 48 insertions(+), 3 deletions(-)
```
Its direct parent can install `texlive-bin` perfectly fine:
guix time-machine --commit=eb930be -- install -p tmp texlive-bin # Succeeds
The above commit fails:
guix time-machine --commit=a6b8794 -- install -p tmp texlive-bin # Fails
The specific error when constructing the profile is this:
```
updmap: open() failed: No such file or directory at /gnu/store/jy61rq7jhiqwjcmm4agr2hpk3f7ggnks-texlive-bin-20190410/bin/updmap line 2153.
updmap [ERROR]: The following map file(s) couldn't be found:
updmap [ERROR]: dvips35.map (in builtin)
updmap [ERROR]: pdftex35.map (in builtin)
updmap [ERROR]: ps2pk35.map (in builtin)
updmap [ERROR]: Did you run mktexlsr?
You can disable non-existent map entries using the option
--syncwithtrees.
Backtrace:
2 (primitive-load "/gnu/store/zxqc1b3asn8n7fd20815scdmp53?")
In ice-9/eval.scm:
619:8 1 (_ #f)
In guix/build/utils.scm:
654:6 0 (invoke _ . _)
guix/build/utils.scm:654:6: In procedure invoke:
ERROR:
1. &invoke-error:
program: "/gnu/store/jy61rq7jhiqwjcmm4agr2hpk3f7ggnks-texlive-bin-20190410/bin/updmap-sys"
arguments: ("--cnffile=/gnu/store/5bzfkhncqa507c9zmp7sljssdxr9g08f-texlive-configuration/share/texmf-config/web2c/updmap.cfg" "--dvipdfmxoutputdir=/gnu/store/5bzfkhncqa507c9zmp7sljssdxr9g08f-texlive-configuration/share/texmf-dist/fonts/map/updmap/dvipdfmx/" "--dvipsoutputdir=/gnu/store/5bzfkhncqa507c9zmp7sljssdxr9g08f-texlive-configuration/share/texmf-dist/fonts/map/updmap/dvips/" "--pdftexoutputdir=/gnu/store/5bzfkhncqa507c9zmp7sljssdxr9g08f-texlive-configuration/share/texmf-dist/fonts/map/updmap/pdftex/")
exit-status: 1
term-signal: #f
stop-signal: #f
```
I don't know how to debug this further, unfortunately.
***Is*** this an issue? It seems I can just remove `texlive-bin` and still have `pdflatex` and co working on my profile.
Thanks
raid5atemyhomework
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#48519: texlive-bin cannot be installed in a profile
2021-05-19 11:13 bug#48519: texlive-bin cannot be installed in a profile raid5atemyhomework via Bug reports for GNU Guix
@ 2021-05-19 11:51 ` Ricardo Wurmus
2021-05-20 14:32 ` Ricardo Wurmus
1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2021-05-19 11:51 UTC (permalink / raw)
To: raid5atemyhomework; +Cc: 48519
raid5atemyhomework <raid5atemyhomework@protonmail.com> writes:
> In recent commits, `texlive-bin` cannot be installed in a
> profile.
[…]
> ***Is*** this an issue?
Yes. The problem is that the texlive-configuration profile hook
is hooked to texlive-bin instead of texlive-base (which includes
texlive-bin). I’ve been meaning to change that but haven’t gotten
around to doing this.
--
Ricardo
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#48519: texlive-bin cannot be installed in a profile
2021-05-19 11:13 bug#48519: texlive-bin cannot be installed in a profile raid5atemyhomework via Bug reports for GNU Guix
2021-05-19 11:51 ` Ricardo Wurmus
@ 2021-05-20 14:32 ` Ricardo Wurmus
1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2021-05-20 14:32 UTC (permalink / raw)
To: raid5atemyhomework; +Cc: 48519-done
raid5atemyhomework <raid5atemyhomework@protonmail.com> writes:
> In recent commits, `texlive-bin` cannot be installed in a
> profile. […]
This should be fixed with commit
bd8e7621b880c529cc69102bd6817d79257526ee.
Only the presence of “texlive-base” triggers the profile hook now.
This is acceptable because any TeX Live subset will need to
include “texlive-base”.
--
Ricardo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-05-20 14:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19 11:13 bug#48519: texlive-bin cannot be installed in a profile raid5atemyhomework via Bug reports for GNU Guix
2021-05-19 11:51 ` Ricardo Wurmus
2021-05-20 14:32 ` Ricardo Wurmus
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).