GNU bug report logs - #64906
'guix shell -D po4a' fails (texlive-font-maps.drv build failure)

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Thu, 27 Jul 2023 20:53:01 UTC

Severity: normal

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

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 64906 in the body.
You can then email your comments to 64906 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#64906; Package guix. (Thu, 27 Jul 2023 20:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 27 Jul 2023 20:53:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: 'guix shell -D po4a' fails (texlive-font-maps.drv build failure)
Date: Thu, 27 Jul 2023 16:51:54 -0400
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




Information forwarded to bug-guix <at> gnu.org:
bug#64906; Package guix. (Thu, 27 Jul 2023 21:12:01 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 64906 <at> debbugs.gnu.org
Subject: Re: bug#64906: Acknowledgement ('guix shell -D po4a' fails
 (texlive-font-maps.drv build failure))
Date: Thu, 27 Jul 2023 17:11:00 -0400
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




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Sat, 29 Jul 2023 00:01:03 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Sat, 29 Jul 2023 00:01:03 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 64906-done <at> debbugs.gnu.org
Subject: Re: bug#64906: 'guix shell -D po4a' fails (texlive-font-maps.drv
 build failure)
Date: Sat, 29 Jul 2023 02:00:30 +0200
Hello,

Maxim Cournoyer <maxim.cournoyer <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#64906; Package guix. (Sat, 29 Jul 2023 15:45:01 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 64906-done <at> debbugs.gnu.org
Subject: Re: bug#64906: 'guix shell -D po4a' fails (texlive-font-maps.drv
 build failure)
Date: Sat, 29 Jul 2023 11:44:26 -0400
Hello,

Nicolas Goaziou <mail <at> nicolasgoaziou.fr> writes:

[...]

> This should be fixed in commit e43cbeafd1b632f39b08b3644af5230d5350a656.

Yay, thank you for the prompt resolution.

-- 
Thanks,
Maxim




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

This bug report was last modified 1 year and 352 days ago.

Previous Next


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