unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55280: Failed to build "texlive-font-maps"
@ 2022-05-05 19:36 Panagiotis Vlantis
  2023-08-27  8:39 ` bug#55280: Closing Andreas Enge
  0 siblings, 1 reply; 2+ messages in thread
From: Panagiotis Vlantis @ 2022-05-05 19:36 UTC (permalink / raw)
  To: 55280

Hello,

I am trying to build a profile on my desktop (guix on a foreign distro)
that includes packages that depend on "texlive-font-maps",
the building process of which, strangely enough, fails.

The reason why this is strange is that the exact same profile builds
on my laptop (same setup, guix on a foreign distro)
without any issues whatsoever.

According to the logs on my desktop, the error occurs at the beginning of
copying generated map files from /gnu/store/ to /tmp/.

After noticing that "copy-file: Permission denied" errors can occur when
a file already exists at the destination, I took a better look at the
logs of both my desktop and laptop builds and noticed that updmap reports
detecting font map files under /tmp/texlive/ on the desktop
and none on the laptop (see the list of generated and overriding files
in the logs)

I cannot verify if this is indeed the problem because,
after running "guix package" with "--keep-failed" on my desktop and
checking the tree of the remaining build directory,
I get this (no, the curly brackets are not a typo):

    /tmp/guix-build-texlive-font-maps.drv-0
    └── {
        └── tmp
            └── texlive
                └── share
                    ├── texmf-dist}
                    └── texmf-var
                        └── web2c
                            └── updmap.log

    7 directories, 1 file


Unfortunately, I am not capable of debugging this beyond this point so
any assistance/suggestions would be much appreciated.

I attach below the last sections of the corresponding log files from
both my machines. Please let me know if anything else could be of help.

Greetings,
Panagiotis



Desktop (build failure):

  Files generated:
    /gnu/store/365gv7z515zwja7rr1g76z2bwbwsakgv-texlive-font-maps/share/texmf-dist/fonts/map/dvips/updmap:
         15852 2022-05-05 18:55:50 builtin35.map
         21325 2022-05-05 18:55:50 download35.map
         73462 2022-05-05 18:55:50 psfonts_pk.map
        277038 2022-05-05 18:55:50 psfonts_t1.map
        277033 2022-05-05 18:55:50 ps2pk.map
            14 2022-05-05 18:55:50 psfonts.map -> psfonts_t1.map
    /gnu/store/365gv7z515zwja7rr1g76z2bwbwsakgv-texlive-font-maps/share/texmf-dist/fonts/map/pdftex/updmap:
        277040 2022-05-05 18:55:50 pdftex_dl14.map
        275375 2022-05-05 18:55:50 pdftex_ndl14.map
            15 2022-05-05 18:55:50 pdftex.map -> pdftex_dl14.map
    /gnu/store/365gv7z515zwja7rr1g76z2bwbwsakgv-texlive-font-maps/share/texmf-dist/fonts/map/dvipdfmx/updmap:
           375 2022-05-05 18:55:50 kanjix.map

  WARNING: updmap has found mismatched files!

  The following files have been generated as listed above,
  but will not be found because overriding files exist, listed below.
   builtin35.map: /tmp/texlive/share/texmf-dist/fonts/map/dvips/updmap/builtin35.map
   download35.map: /tmp/texlive/share/texmf-dist/fonts/map/dvips/updmap/download35.map
   kanjix.map: /tmp/texlive/share/texmf-dist/fonts/map/dvipdfmx/updmap/kanjix.map
   pdftex.map: /tmp/texlive/share/texmf-dist/fonts/map/pdftex/updmap/pdftex.map
   pdftex_dl14.map: /tmp/texlive/share/texmf-dist/fonts/map/pdftex/updmap/pdftex_dl14.map
   pdftex_ndl14.map: /tmp/texlive/share/texmf-dist/fonts/map/pdftex/updmap/pdftex_ndl14.map
   ps2pk.map: /tmp/texlive/share/texmf-dist/fonts/map/dvips/updmap/ps2pk.map
   psfonts.map: /tmp/texlive/share/texmf-dist/fonts/map/dvips/updmap/psfonts.map
   psfonts_pk.map: /tmp/texlive/share/texmf-dist/fonts/map/dvips/updmap/psfonts_pk.map
   psfonts_t1.map: /tmp/texlive/share/texmf-dist/fonts/map/dvips/updmap/psfonts_t1.map
  (Run updmap --help for full documentation of updmap.)

  Transcript written on "{/tmp/texlive/share/texmf-dist}/../texmf-var/web2c/updmap.log".
  updmap: Updating ls-R files.
  `/gnu/store/365gv7z515zwja7rr1g76z2bwbwsakgv-texlive-font-maps/share/texmf-dist/fonts/map/dvipdfmx/updmap/kanjix.map' -> `/tmp/texlive/share/texmf-dist/fonts/map/dvipdfmx/updmap/kanjix.map'
  Backtrace:
            16 (primitive-load "/gnu/store/6v94vggyrsvy9ndyf7jwfx6p28g?")
  In ice-9/eval.scm:
      619:8 15 (_ #(#(#(#(#<directory (guile-user) 7ffff4f?> ?) ?) ?) ?))
  In ice-9/ftw.scm:
     475:32 14 (loop _ _ #(27 2247464 16877 1 986 984 0 20 # # # # 0 ?) ?)
  In srfi/srfi-1.scm:
     460:18 13 (fold #<procedure 7ffff4ec13c0 at ice-9/ftw.scm:475:38?> ?)
  In unknown file:
            12 (_ #<procedure 7ffff4fc7450 at ice-9/ftw.scm:477:44 ()> ?)
  In ice-9/ftw.scm:
     475:32 11 (loop _ _ #(27 2247467 16877 1 986 984 0 6 1651776950 ?) ?)
  In srfi/srfi-1.scm:
     460:18 10 (fold #<procedure 7ffff4ec7540 at ice-9/ftw.scm:475:38?> ?)
  In unknown file:
             9 (_ #<procedure 7ffff4ff2e70 at ice-9/ftw.scm:477:44 ()> ?)
  In ice-9/ftw.scm:
     475:32  8 (loop _ _ #(27 2247468 16877 1 986 984 0 38 # # # # 0 ?) ?)
  In srfi/srfi-1.scm:
     460:18  7 (fold #<procedure 7ffff4ece300 at ice-9/ftw.scm:475:38?> ?)
  In unknown file:
             6 (_ #<procedure 7ffff4ff2810 at ice-9/ftw.scm:477:44 ()> ?)
  In ice-9/ftw.scm:
     475:32  5 (loop _ _ #(27 2247473 16877 1 986 984 0 12 # # # # 0 ?) ?)
  In srfi/srfi-1.scm:
     460:18  4 (fold #<procedure 7ffff4edb9c0 at ice-9/ftw.scm:475:38?> ?)
  In unknown file:
             3 (_ #<procedure 7ffff4ff2180 at ice-9/ftw.scm:477:44 ()> ?)
  In ice-9/ftw.scm:
     505:39  2 (loop _ _ #(27 2247474 16877 1 986 984 0 20 # # # # 0 ?) ?)
  In guix/build/utils.scm:
     404:27  1 (_ "/gnu/store/365gv7z515zwja7rr1g76z2bwbwsakgv-texliv?" ?)
  In unknown file:
             0 (copy-file "/gnu/store/365gv7z515zwja7rr1g76z2bwbwsakg?" ?)

  ERROR: In procedure copy-file:
  In procedure copy-file: Permission denied



Laptop (successful build):

  Files generated:
    /gnu/store/d9admknpp57xs3zs3yzhq8qr8k8cvmnh-texlive-font-maps/share/texmf-dist/fonts/map/dvips/updmap:
         15852 2022-02-19 20:14:00 builtin35.map
         21325 2022-02-19 20:14:00 download35.map
         23952 2022-02-19 20:14:00 psfonts_pk.map
        225021 2022-02-19 20:14:00 psfonts_t1.map
        225016 2022-02-19 20:14:00 ps2pk.map
            14 2022-02-19 20:14:00 psfonts.map -> psfonts_t1.map
    /gnu/store/d9admknpp57xs3zs3yzhq8qr8k8cvmnh-texlive-font-maps/share/texmf-dist/fonts/map/pdftex/updmap:
        225023 2022-02-19 20:14:00 pdftex_dl14.map
        223358 2022-02-19 20:14:00 pdftex_ndl14.map
            15 2022-02-19 20:14:00 pdftex.map -> pdftex_dl14.map
    /gnu/store/d9admknpp57xs3zs3yzhq8qr8k8cvmnh-texlive-font-maps/share/texmf-dist/fonts/map/dvipdfmx/updmap:
           375 2022-02-19 20:14:00 kanjix.map

  WARNING: updmap has found mismatched files!

  The following files have been generated as listed above,
  but will not be found because overriding files exist, listed below.
   builtin35.map: 
   download35.map: 
   kanjix.map: 
   pdftex.map: 
   pdftex_dl14.map: 
   pdftex_ndl14.map: 
   ps2pk.map: 
   psfonts.map: 
   psfonts_pk.map: 
   psfonts_t1.map: 
  (Run updmap --help for full documentation of updmap.)

  Transcript written on "{/tmp/texlive/share/texmf-dist}/../texmf-var/web2c/updmap.log".
  updmap: Updating ls-R files.
  `/gnu/store/d9admknpp57xs3zs3yzhq8qr8k8cvmnh-texlive-font-maps/share/texmf-dist/fonts/map/dvipdfmx/updmap/kanjix.map' -> `/tmp/texlive/share/texmf-dist/fonts/map/dvipdfmx/updmap/kanjix.map'
  `/gnu/store/d9admknpp57xs3zs3yzhq8qr8k8cvmnh-texlive-font-maps/share/texmf-dist/fonts/map/pdftex/updmap/pdftex_dl14.map' -> `/tmp/texlive/share/texmf-dist/fonts/map/pdftex/updmap/pdftex_dl14.map'
  `/gnu/store/d9admknpp57xs3zs3yzhq8qr8k8cvmnh-texlive-font-maps/share/texmf-dist/fonts/map/pdftex/updmap/pdftex_ndl14.map' -> `/tmp/texlive/share/texmf-dist/fonts/map/pdftex/updmap/pdftex_ndl14.map'
  `/gnu/store/d9admknpp57xs3zs3yzhq8qr8k8cvmnh-texlive-font-maps/share/texmf-dist/fonts/map/pdftex/updmap/pdftex.map' -> `/tmp/texlive/share/texmf-dist/fonts/map/pdftex/updmap/pdftex.map'
  `/gnu/store/d9admknpp57xs3zs3yzhq8qr8k8cvmnh-texlive-font-maps/share/texmf-dist/fonts/map/dvips/updmap/download35.map' -> `/tmp/texlive/share/texmf-dist/fonts/map/dvips/updmap/download35.map'
  `/gnu/store/d9admknpp57xs3zs3yzhq8qr8k8cvmnh-texlive-font-maps/share/texmf-dist/fonts/map/dvips/updmap/builtin35.map' -> `/tmp/texlive/share/texmf-dist/fonts/map/dvips/updmap/builtin35.map'
  `/gnu/store/d9admknpp57xs3zs3yzhq8qr8k8cvmnh-texlive-font-maps/share/texmf-dist/fonts/map/dvips/updmap/psfonts_t1.map' -> `/tmp/texlive/share/texmf-dist/fonts/map/dvips/updmap/psfonts_t1.map'
  `/gnu/store/d9admknpp57xs3zs3yzhq8qr8k8cvmnh-texlive-font-maps/share/texmf-dist/fonts/map/dvips/updmap/psfonts_pk.map' -> `/tmp/texlive/share/texmf-dist/fonts/map/dvips/updmap/psfonts_pk.map'
  `/gnu/store/d9admknpp57xs3zs3yzhq8qr8k8cvmnh-texlive-font-maps/share/texmf-dist/fonts/map/dvips/updmap/ps2pk.map' -> `/tmp/texlive/share/texmf-dist/fonts/map/dvips/updmap/ps2pk.map'
  `/gnu/store/d9admknpp57xs3zs3yzhq8qr8k8cvmnh-texlive-font-maps/share/texmf-dist/fonts/map/dvips/updmap/psfonts.map' -> `/tmp/texlive/share/texmf-dist/fonts/map/dvips/updmap/psfonts.map'
  `/gnu/store/d9admknpp57xs3zs3yzhq8qr8k8cvmnh-texlive-font-maps/share/texmf-dist/web2c/updmap.cfg' -> `/tmp/texlive/share/texmf-dist/web2c/updmap.cfg'



A subset of the packages in my profile which depend on "texlive-font-maps"
are the following:
- texlive-base
- texlive-bin
- texlive-pdftex
- texlive-latex-base
- texlive-latex-graphics
- texlive-latex-amsmath
- texlive-latex-preview
- texlive-fonts-latex
- texlive-fonts-ec
- texlive-amsfonts
- texlive-hyperref
- texlive-url
- texlive-latex-parskip
- texlive-latex-kvoptions
- texlive-etoolbox
- texlive-preprint
- texlive-xcolor
- texlive-wrapfig
- texlive-ulem
- texlive-capt-of
- texlive-xmltex
- texlive-lm
- texlive-capt-of
- texlive-unicode-data




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-27  8:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-05 19:36 bug#55280: Failed to build "texlive-font-maps" Panagiotis Vlantis
2023-08-27  8:39 ` bug#55280: Closing Andreas Enge

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).