unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: raid5atemyhomework via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 48519@debbugs.gnu.org, rekado@elephly.net
Subject: bug#48519: texlive-bin cannot be installed in a profile
Date: Wed, 19 May 2021 11:13:07 +0000	[thread overview]
Message-ID: <Oj4dwVx-m6QfQZOZtNq-wJtPIca7xZU7X-3GwTtBghKb9uu5Uem0ZHz17ygJfkEZv0Wjei6Sqz1ONVrMavgC-PhtMb0VwD9Y5GLpB6dqQtA=@protonmail.com> (raw)

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




             reply	other threads:[~2021-05-19 11:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-19 11:13 raid5atemyhomework via Bug reports for GNU Guix [this message]
2021-05-19 11:51 ` bug#48519: texlive-bin cannot be installed in a profile Ricardo Wurmus
2021-05-20 14:32 ` Ricardo Wurmus

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='Oj4dwVx-m6QfQZOZtNq-wJtPIca7xZU7X-3GwTtBghKb9uu5Uem0ZHz17ygJfkEZv0Wjei6Sqz1ONVrMavgC-PhtMb0VwD9Y5GLpB6dqQtA=@protonmail.com' \
    --to=bug-guix@gnu.org \
    --cc=48519@debbugs.gnu.org \
    --cc=raid5atemyhomework@protonmail.com \
    --cc=rekado@elephly.net \
    /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.
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).