Subject: bug#52979: closed (Re: bug#52979: Modular texlive has problems finding fonts)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 04 Jan 2022 14:30:03 +0000

Your bug report

#52979: Modular texlive has problems finding fonts

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
52979: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52979
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#52979: Modular texlive has problems finding fonts
From: Ricardo Wurmus <[email-masked]>
To: Jelle Licht <[email-masked]>
Cc: [email-masked]
Date: Tue, 04 Jan 2022 15:28:17 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Ricardo Wurmus <[email-masked]> writes:

> So, two things to do here:
>
> 1) patch mktexpk, mktexnam, mktexnam.opt,
> share/texmf-dist/web2c/mktexupd, et al to find “sed” and “awk”.

Done.

> 2) figure out why pdflatex tries to use bitmap fonts at all when other
> files exist.

Not done, but the problem has gone away after fixing the former problem.

This now works on wip-texlive, which I just pushed.

-- 
Ricardo

Subject: Modular texlive has problems finding fonts
From: Jelle Licht <[email-masked]>
To: [email-masked]
Date: Mon, 03 Jan 2022 17:18:01 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

As discussed on #guix on IRC, several folks including myself ran into
issues getting the following some-file.tex:

--8<---------------cut here---------------start------------->8---
\documentclass[11pt]{article}
\begin{document}
Hello friends
\end{document}
--8<---------------cut here---------------end--------------->8---

... to typeset with the following manifest.scm:
--8<---------------cut here---------------start------------->8---
(specifications->manifest
 '("texlive-base"
   "texlive-fonts-ec"
   "texlive-amsfonts"
   "texlive-fira"
   "texlive-inconsolata"))
--8<---------------cut here---------------end--------------->8---

... with command: 
`guix shell --pure coreutils grep sed gawk -m manifest.scm -- pdflatex some-file

Note that the monolithic texlive seems to work:
`guix shell --pure coreutils grep sed gawk texlive -- pdflatex some-file'

On IRC, rekado /w strace identified that texlive does not seem to be
entering the subdirectory containing the font files, as it seems to be
loading texlive-bin's texmf.cnf, instead of the one generated by
`(@ (guix profiles) texlive-configuration)'.

It seems some of the talks in the guix-maintenance repository can
currently also not be built for the same or similar reason.