GNU bug report logs - #48519
texlive-bin cannot be installed in a profile

Previous Next

Package: guix;

Reported by: raid5atemyhomework <raid5atemyhomework <at> protonmail.com>

Date: Wed, 19 May 2021 11:14:01 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48519 in the body.
You can then email your comments to 48519 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#48519; Package guix. (Wed, 19 May 2021 11:14:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to raid5atemyhomework <raid5atemyhomework <at> protonmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 19 May 2021 11:14:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: raid5atemyhomework <raid5atemyhomework <at> protonmail.com>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>, Ricardo Wurmus <rekado <at> elephly.net>
Subject: texlive-bin cannot be installed in a profile
Date: Wed, 19 May 2021 11:13:07 +0000
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 <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#48519; Package guix. (Wed, 19 May 2021 11:52:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: raid5atemyhomework <raid5atemyhomework <at> protonmail.com>
Cc: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: Re: texlive-bin cannot be installed in a profile
Date: Wed, 19 May 2021 13:51:39 +0200
raid5atemyhomework <raid5atemyhomework <at> 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




Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Thu, 20 May 2021 14:33:01 GMT) Full text and rfc822 format available.

Notification sent to raid5atemyhomework <raid5atemyhomework <at> protonmail.com>:
bug acknowledged by developer. (Thu, 20 May 2021 14:33:02 GMT) Full text and rfc822 format available.

Message #13 received at 48519-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: raid5atemyhomework <raid5atemyhomework <at> protonmail.com>
Cc: 48519-done <at> debbugs.gnu.org
Subject: Re: texlive-bin cannot be installed in a profile
Date: Thu, 20 May 2021 16:32:35 +0200
raid5atemyhomework <raid5atemyhomework <at> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 18 Jun 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 311 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.