Subject: Unable to build 'texlive-union's

From: Xinglu Chen <[email-masked]>
Date: Mon, 29 Mar 2021 21:18:26 +0200

I am trying to update 'python-ipython' and 'python-ipython-documentation',
when building 'python-ipython-documentation', the texlive-union fails to
build because the 'updmap-sys' command fails.  I also tried building
'python-matplotlib-documentation' which also has some texlive depencies
and it fails for the same reason.

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix build --keep-going python-ipython-documentation
The following derivations will be built:
   /gnu/store/xrzvl0r4r53ahgh4kjbbdlggmr6f5cbd-python-ipython-documentation-7.22.0.drv
   /gnu/store/q8q7mrg76c741qsdhs0196pv41pdb16a-texlive-union-51265.drv
building /gnu/store/q8q7mrg76c741qsdhs0196pv41pdb16a-texlive-union-51265.drv...
updmap will read the following updmap.cfg files (in precedence order):
  /gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg
updmap may write changes to the following updmap.cfg file:
  /gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg
updmap [WARNING]: generated map uptex-tc-arphic.map (from uptex-tc-@tcEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map otf-up-ipaex.map (from otf-up-@jaEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map otf-ipaex.map (from otf-@jaEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map ptex-ipaex.map (from ptex-@jaEmbed@@jaVariant@.map) does not exist, not activating it!
updmap [WARNING]: generated map uptex-ko-baekmuk.map (from uptex-ko-@koEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map otf-tc-arphic.map (from otf-tc-@tcEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map uptex-ipaex.map (from uptex-@jaEmbed@@jaVariant@.map) does not exist, not activating it!
updmap [WARNING]: generated map uptex-sc-arphic.map (from uptex-sc-@scEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map otf-sc-arphic.map (from otf-sc-@scEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map otf-ko-baekmuk.map (from otf-ko-@koEmbed@.map) does not exist, not activating it!
Missing map files found, disabling
	Acorn.map (in /gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg)
	Alegreya.map (in /gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg)
	AnnSton.map (in /gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg)
	AnonymousPro.map (in /gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg)
	ArrowsADF.map (in /gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg)
	ArtNouv.map (in /gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg)
	ArtNouvc.map (in /gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg)
	BaskervilleF.map (in /gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg)

[...]

	zi4.map (in /gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg)
in /gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg
Do you really want to continue (y/N)? answer =Y=
/gnu/store/ri7l711cx2jrcf1scywm66knc64rv28i-texlive-bin-20190410/share/texmf-dist/scripts/texlive/updmap.pl --syncwithtrees finished.
Now you need to run updmap normally to recreate map files.
updmap will read the following updmap.cfg files (in precedence order):
  /gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg
updmap may write changes to the following updmap.cfg file:
  /gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg
dvips output dir: "/gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-dist/fonts/map/dvips/updmap/"
pdftex output dir: "/gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-dist/fonts/map/pdftex/updmap/"
dvipdfmx output dir: "/gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-dist/fonts/map/dvipdfmx/updmap/"
updmap [WARNING]: generated map otf-ko-baekmuk.map (from otf-ko-@koEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map otf-up-ipaex.map (from otf-up-@jaEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map otf-sc-arphic.map (from otf-sc-@scEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map uptex-ko-baekmuk.map (from uptex-ko-@koEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map ptex-ipaex.map (from ptex-@jaEmbed@@jaVariant@.map) does not exist, not activating it!
updmap [WARNING]: generated map otf-ipaex.map (from otf-@jaEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map otf-tc-arphic.map (from otf-tc-@tcEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map uptex-tc-arphic.map (from uptex-tc-@tcEmbed@.map) does not exist, not activating it!
updmap [WARNING]: generated map uptex-ipaex.map (from uptex-@jaEmbed@@jaVariant@.map) does not exist, not activating it!
updmap [WARNING]: generated map uptex-sc-arphic.map (from uptex-sc-@scEmbed@.map) does not exist, not activating it!
print() on closed filehandle FILE at /gnu/store/ri7l711cx2jrcf1scywm66knc64rv28i-texlive-bin-20190410/share/texmf-dist/scripts/texlive/updmap.pl line 1145.
print() on closed filehandle FILE at /gnu/store/ri7l711cx2jrcf1scywm66knc64rv28i-texlive-bin-20190410/share/texmf-dist/scripts/texlive/updmap.pl line 1145.
updmap: can't write lines to >/gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-dist/fonts/map/pdftex/updmap//pdftex_ndl14.map: Permission denied at /gnu/store/ri7l711cx2jrcf1scywm66knc64rv28i-texlive-bin-20190410/share/texmf-dist/scripts/texlive/updmap.pl line 533.

updmap is creating new map files
using the following configuration:
  LW35 font names                  : URWkb (/gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg)
  prefer outlines                  : true (/gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg)
  texhash enabled                  : true
  download standard fonts (dvips)  : true (/gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg)
  download standard fonts (pdftex) : true (/gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg)
  jaEmbed replacement string       : ipaex (/gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg)
  jaVariant replacement string     : <empty> (default)
  scEmbed replacement string       : arphic (/gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg)
  tcEmbed replacement string       : arphic (/gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg)
  koEmbed replacement string       : baekmuk (/gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg)
  create a mapfile for pxdvi       : false (default)

Scanning for LW35 support files  [  3 files]
Scanning for MixedMap entries    [  6 files]
Scanning for KanjiMap entries    [  0 files]
Scanning for Map entries         [  3 files]

Generating output for dvipdfmx...
Generating output for ps2pk...
Generating output for dvips...
Generating output for pdftex...
Backtrace:
           4 (primitive-load "/gnu/store/vizkacqiybxrqyl1ka4s0y4qdqg?")
In ice-9/eval.scm:
   191:35  3 (_ _)
    619:8  2 (_ #(#(#<directory (guile-user) 7ffff3bb5f00> "/gn?") #))
    619:8  1 (_ #(#(#(#<directory (guile-user) 7ffff3bb5f00> #) #) ?))
In guix/build/utils.scm:
    654:6  0 (invoke _ . _)

guix/build/utils.scm:654:6: In procedure invoke:
ERROR:
  1. &invoke-error:
      program: "updmap-sys"
      arguments: ("--cnffile=/gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-config/web2c/updmap.cfg" "--dvipdfmxoutputdir=/gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-dist/fonts/map/dvipdfmx/updmap/" "--dvipsoutputdir=/gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-dist/fonts/map/dvips/updmap/" "--pdftexoutputdir=/gnu/store/gcf90pp6gzkagbhfynnhc6sbmkb1sfwg-texlive-union-51265/share/texmf-dist/fonts/map/pdftex/updmap/")
      exit-status: 13
      term-signal: #f
      stop-signal: #f
builder for `/gnu/store/q8q7mrg76c741qsdhs0196pv41pdb16a-texlive-union-51265.drv' failed with exit code 1
build of /gnu/store/q8q7mrg76c741qsdhs0196pv41pdb16a-texlive-union-51265.drv failed
View build log at '/var/log/guix/drvs/q8/q7mrg76c741qsdhs0196pv41pdb16a-texlive-union-51265.drv.bz2'.
cannot build derivation `/gnu/store/xrzvl0r4r53ahgh4kjbbdlggmr6f5cbd-python-ipython-documentation-7.22.0.drv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/xrzvl0r4r53ahgh4kjbbdlggmr6f5cbd-python-ipython-documentation-7.22.0.drv' failed
--8<---------------cut here---------------end--------------->8---

Any ideas?