unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#64906: 'guix shell -D po4a' fails (texlive-font-maps.drv build failure)
@ 2023-07-27 20:51 Maxim Cournoyer
       [not found] ` <handler.64906.B.169049112931615.ack@debbugs.gnu.org>
  2023-07-29  0:00 ` bug#64906: 'guix shell -D po4a' fails (texlive-font-maps.drv build failure) Nicolas Goaziou
  0 siblings, 2 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2023-07-27 20:51 UTC (permalink / raw)
  To: 64906

Hi,

While attempting to hack on po4a I've found 'guix shell -D po4a' would
fail like so:

--8<---------------cut here---------------start------------->8---
Transcript written on: {/tmp/texlive/share/texmf-dist}/../texmf-var/web2c/updmap.log
updmap: updating ls-R files.
`/gnu/store/rlbyrr5rnsmfi0aani1ibkrlszp7xiz9-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/b76nnrqi8g418ibr8i2h113wz2z?")
In ice-9/eval.scm:
    619:8 15 (_ #(#(#(#(#<directory (guile-user) 7ffff77?> ?) ?) ?) ?))
In ice-9/ftw.scm:
   475:33 14 (loop _ _ #(25 307354922 16877 1 999 30000 0 20 # # # ?) ?)
In srfi/srfi-1.scm:
   460:18 13 (fold #<procedure 7ffff50b7660 at ice-9/ftw.scm:475:38?> ?)
In unknown file:
          12 (_ #<procedure 7ffff4b98990 at ice-9/ftw.scm:477:44 ()> ?)
In ice-9/ftw.scm:
   475:33 11 (loop _ _ #(25 307354925 16877 1 999 30000 0 6 # # # ?) ?)
In srfi/srfi-1.scm:
   460:18 10 (fold #<procedure 7ffff50b72a0 at ice-9/ftw.scm:475:38?> ?)
In unknown file:
           9 (_ #<procedure 7ffff4b98510 at ice-9/ftw.scm:477:44 ()> ?)
In ice-9/ftw.scm:
   475:33  8 (loop _ _ #(25 307354926 16877 1 999 30000 0 38 # # # ?) ?)
In srfi/srfi-1.scm:
   460:18  7 (fold #<procedure 7ffff50cfdc0 at ice-9/ftw.scm:475:38?> ?)
In unknown file:
           6 (_ #<procedure 7ffff4b5cf00 at ice-9/ftw.scm:477:44 ()> ?)
In ice-9/ftw.scm:
   475:33  5 (loop _ _ #(25 307354931 16877 1 999 30000 0 12 # # # ?) ?)
In srfi/srfi-1.scm:
   460:18  4 (fold #<procedure 7ffff50cf9a0 at ice-9/ftw.scm:475:38?> ?)
In unknown file:
           3 (_ #<procedure 7ffff4b5c900 at ice-9/ftw.scm:477:44 ()> ?)
In ice-9/ftw.scm:
   505:39  2 (loop _ _ #(25 307354932 16877 1 999 30000 0 20 # # # ?) ?)
In guix/build/utils.scm:
   454:27  1 (_ "/gnu/store/rlbyrr5rnsmfi0aani1ibkrlszp7xiz9-texliv?" ?)
In unknown file:
           0 (copy-file "/gnu/store/rlbyrr5rnsmfi0aani1ibkrlszp7xiz?" ?)

ERROR: In procedure copy-file:
In procedure copy-file: Permission denied
--8<---------------cut here---------------end--------------->8---

I'm not sure if or how this problem is related to the other TexLive
issues recently discovered.

-- 
Thanks,
Maxim




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

* bug#64906: Acknowledgement ('guix shell -D po4a' fails (texlive-font-maps.drv build failure))
       [not found] ` <handler.64906.B.169049112931615.ack@debbugs.gnu.org>
@ 2023-07-27 21:11   ` Maxim Cournoyer
  0 siblings, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2023-07-27 21:11 UTC (permalink / raw)
  To: 64906

Hi,

I've isolated the part that fails to the second 'updmap-sys' invocation
in the 'texlive-font-maps' profile hook; the following allowed 'guix -D
po4a texlive-bin' to succeed without errors:

--8<---------------cut here---------------start------------->8---
modified   guix/profiles.scm
@@ -1847,14 +1847,14 @@ (define (texlive-font-maps manifest)
                 (error "failed to filter updmap.cfg")))
 
             ;; Generate font maps.
-            (invoke #$(file-append texlive-scripts "/bin/updmap-sys")
-                    (string-append "--cnffile=" updmap.cfg)
-                    (string-append "--dvipdfmxoutputdir="
-                                   maproot "dvipdfmx/updmap")
-                    (string-append "--dvipsoutputdir="
-                                   maproot "dvips/updmap")
-                    (string-append "--pdftexoutputdir="
-                                   maproot "pdftex/updmap"))
+            ;; (invoke #$(file-append texlive-scripts "/bin/updmap-sys")
+            ;;         (string-append "--cnffile=" updmap.cfg)
+            ;;         (string-append "--dvipdfmxoutputdir="
+            ;;                        maproot "dvipdfmx/updmap")
+            ;;         (string-append "--dvipsoutputdir="
+            ;;                        maproot "dvips/updmap")
+            ;;         (string-append "--pdftexoutputdir="
+            ;;                        maproot "pdftex/updmap"))
 
             ;; Create ls-R file.  I know, that's not *just* for font maps, but
             ;; we've generated new files, so there's no point in running it
--8<---------------cut here---------------end--------------->8---

-- 
Thanks,
Maxim




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

* bug#64906: 'guix shell -D po4a' fails (texlive-font-maps.drv build failure)
  2023-07-27 20:51 bug#64906: 'guix shell -D po4a' fails (texlive-font-maps.drv build failure) Maxim Cournoyer
       [not found] ` <handler.64906.B.169049112931615.ack@debbugs.gnu.org>
@ 2023-07-29  0:00 ` Nicolas Goaziou
  2023-07-29 15:44   ` Maxim Cournoyer
  1 sibling, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2023-07-29  0:00 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 64906-done

Hello,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:


> While attempting to hack on po4a I've found 'guix shell -D po4a' would
> fail like so:
>
> --8<---------------cut here---------------start------------->8---
> Transcript written on: {/tmp/texlive/share/texmf-dist}/../texmf-var/web2c/updmap.log
> updmap: updating ls-R files.
> `/gnu/store/rlbyrr5rnsmfi0aani1ibkrlszp7xiz9-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/b76nnrqi8g418ibr8i2h113wz2z?")
> In ice-9/eval.scm:
>     619:8 15 (_ #(#(#(#(#<directory (guile-user) 7ffff77?> ?) ?) ?) ?))
> In ice-9/ftw.scm:
>    475:33 14 (loop _ _ #(25 307354922 16877 1 999 30000 0 20 # # # ?) ?)
> In srfi/srfi-1.scm:
>    460:18 13 (fold #<procedure 7ffff50b7660 at ice-9/ftw.scm:475:38?> ?)
> In unknown file:
>           12 (_ #<procedure 7ffff4b98990 at ice-9/ftw.scm:477:44 ()> ?)
> In ice-9/ftw.scm:
>    475:33 11 (loop _ _ #(25 307354925 16877 1 999 30000 0 6 # # # ?) ?)
> In srfi/srfi-1.scm:
>    460:18 10 (fold #<procedure 7ffff50b72a0 at ice-9/ftw.scm:475:38?> ?)
> In unknown file:
>            9 (_ #<procedure 7ffff4b98510 at ice-9/ftw.scm:477:44 ()> ?)
> In ice-9/ftw.scm:
>    475:33  8 (loop _ _ #(25 307354926 16877 1 999 30000 0 38 # # # ?) ?)
> In srfi/srfi-1.scm:
>    460:18  7 (fold #<procedure 7ffff50cfdc0 at ice-9/ftw.scm:475:38?> ?)
> In unknown file:
>            6 (_ #<procedure 7ffff4b5cf00 at ice-9/ftw.scm:477:44 ()> ?)
> In ice-9/ftw.scm:
>    475:33  5 (loop _ _ #(25 307354931 16877 1 999 30000 0 12 # # # ?) ?)
> In srfi/srfi-1.scm:
>    460:18  4 (fold #<procedure 7ffff50cf9a0 at ice-9/ftw.scm:475:38?> ?)
> In unknown file:
>            3 (_ #<procedure 7ffff4b5c900 at ice-9/ftw.scm:477:44 ()> ?)
> In ice-9/ftw.scm:
>    505:39  2 (loop _ _ #(25 307354932 16877 1 999 30000 0 20 # # # ?) ?)
> In guix/build/utils.scm:
>    454:27  1 (_ "/gnu/store/rlbyrr5rnsmfi0aani1ibkrlszp7xiz9-texliv?" ?)
> In unknown file:
>            0 (copy-file "/gnu/store/rlbyrr5rnsmfi0aani1ibkrlszp7xiz?" ?)
>
> ERROR: In procedure copy-file:
> In procedure copy-file: Permission denied
> --8<---------------cut here---------------end--------------->8---
>
> I'm not sure if or how this problem is related to the other TexLive
> issues recently discovered.

This should be fixed in commit e43cbeafd1b632f39b08b3644af5230d5350a656.

Regards,
-- 
Nicolas Goaziou




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

* bug#64906: 'guix shell -D po4a' fails (texlive-font-maps.drv build failure)
  2023-07-29  0:00 ` bug#64906: 'guix shell -D po4a' fails (texlive-font-maps.drv build failure) Nicolas Goaziou
@ 2023-07-29 15:44   ` Maxim Cournoyer
  0 siblings, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2023-07-29 15:44 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 64906-done

Hello,

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

[...]

> This should be fixed in commit e43cbeafd1b632f39b08b3644af5230d5350a656.

Yay, thank you for the prompt resolution.

-- 
Thanks,
Maxim




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

end of thread, other threads:[~2023-07-29 17:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-27 20:51 bug#64906: 'guix shell -D po4a' fails (texlive-font-maps.drv build failure) Maxim Cournoyer
     [not found] ` <handler.64906.B.169049112931615.ack@debbugs.gnu.org>
2023-07-27 21:11   ` bug#64906: Acknowledgement ('guix shell -D po4a' fails (texlive-font-maps.drv build failure)) Maxim Cournoyer
2023-07-29  0:00 ` bug#64906: 'guix shell -D po4a' fails (texlive-font-maps.drv build failure) Nicolas Goaziou
2023-07-29 15:44   ` Maxim Cournoyer

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