unison does not build on core-updates-frozen

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Vivien Kraus
Owner
unassigned
Submitted by
Vivien Kraus
Severity
normal
V
V
Vivien Kraus wrote on 27 Oct 2021 14:26
(address . bug-guix@gnu.org)
6421dc96e833f18cc89c5ded4907e6103bedbbf6.camel@planete-kraus.eu
Dear guix hackers,

unison (gnu/packages/ocaml.scm) does not build (the install-doc phase
fails) on core-updates-frozen, because it lacks at least texlive-fonts-
ec as an input, and then it fails with:

dvips: ! Couldn't find header file: l3backend-dvips.pro

I tried to add texlive-latex-l3backend, but it does not fix the
problem.

Best regards,

Vivien
V
V
Vivien Kraus wrote on 4 Nov 2021 01:05
(address . 51435@debbugs.gnu.org)
87ee7wdbqs.fsf@planete-kraus.eu
So, trying to understand why the error happens, I added all the known
texlive packages (exported variables in gnu/packages/texlive.scm that
start with texlive- and that are packages), and it still fails, but if I
just add the full texlive it builds just fine.

Vivien
V
V
Vivien Kraus wrote on 4 Nov 2021 11:23
Re: bug#51435: Fix it (unison does not build on core-updates-frozen)
(address . 51435@debbugs.gnu.org)
87a6ikcj3h.fsf@planete-kraus.eu
Rekado on #guix told me that I had to create a simple texlive package
for the missing package, that’s what I did. Since I’m not familiar with
the texlive way of doing things, I’m not sure the homepage is that of
l3backend (and thus, I’m not sure of the license if it’s not), and I
need someone to review the description for the package too.

Vivien
From 093b913147b8f7e9aab66887ed1484e6aaeeb102 Mon Sep 17 00:00:00 2001
From: Vivien Kraus <vivien@planete-kraus.eu>
Date: Thu, 4 Nov 2021 10:59:18 +0100
Subject: [PATCH 1/2] gnu: Add texlive-dvips-l3backend.

* gnu/packages/tex.scm (texlive-dvips-l3backend): New variable.
---
gnu/packages/tex.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

Toggle diff (30 lines)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index bf427f1594..888ded3fce 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3513,6 +3513,23 @@ (define-public texlive-latex-l3packages
@end enumerate\n")
(license license:lppl1.3c+)))
+(define-public texlive-dvips-l3backend
+ (package
+ (inherit (simple-texlive-package
+ "texlive-dvips-l3backend"
+ (list
+ "/dvips/l3backend/")
+ (base32
+ "1hvj153h1pn93h6n76dv3mg9ai0mcz9q9mysfiqjfpqzijz9ikky")
+ #:trivial? #t))
+ (home-page "https://www.ctan.org/pkg/l3backend")
+ (synopsis "LaTeX3 backend drivers for dvips")
+ (description
+ "This package forms parts of expl3, and contains the code used to
+interface with backends (drivers) across the expl3 codebase. The functions
+here are defined for the dvips engine only.")
+ (license license:lppl1.3c+)))
+
(define-public texlive-fontspec
(let ((template (simple-texlive-package
"texlive-fontspec"
--
2.33.1
From a7568441319c4e42ec2e51dfddf62eacb0a054e2 Mon Sep 17 00:00:00 2001
From: Vivien Kraus <vivien@planete-kraus.eu>
Date: Thu, 4 Nov 2021 01:02:39 +0100
Subject: [PATCH 2/2] gnu: unison: Fix building the manual.

* gnu/packages/ocaml.scm (unison)[native-inputs]: Add the missing texlive inputs.
---
gnu/packages/ocaml.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Toggle diff (16 lines)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7b1363a5c3..5b190e7e8d 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1205,7 +1205,8 @@ (define-public unison
`(("ocaml" ,ocaml-4.09)
;; For documentation
("ghostscript" ,ghostscript)
- ("texlive" ,texlive-tiny)
+ ("texlive" ,(texlive-updmap.cfg
+ (list texlive-fonts-ec texlive-dvips-l3backend)))
("hevea" ,hevea)
("lynx" ,lynx)
("which" ,which)))
--
2.33.1
L
L
Ludovic Courtès wrote on 9 Nov 2021 00:46
Re: bug#51435: unison does not build on core-updates-frozen
(name . Vivien Kraus)(address . vivien@planete-kraus.eu)(address . 51435-done@debbugs.gnu.org)
87h7cmnrcg.fsf_-_@gnu.org
Hi,

Vivien Kraus <vivien@planete-kraus.eu> skribis:

Toggle quote (7 lines)
>>From 093b913147b8f7e9aab66887ed1484e6aaeeb102 Mon Sep 17 00:00:00 2001
> From: Vivien Kraus <vivien@planete-kraus.eu>
> Date: Thu, 4 Nov 2021 10:59:18 +0100
> Subject: [PATCH 1/2] gnu: Add texlive-dvips-l3backend.
>
> * gnu/packages/tex.scm (texlive-dvips-l3backend): New variable.

[...]

Toggle quote (7 lines)
>>From a7568441319c4e42ec2e51dfddf62eacb0a054e2 Mon Sep 17 00:00:00 2001
> From: Vivien Kraus <vivien@planete-kraus.eu>
> Date: Thu, 4 Nov 2021 01:02:39 +0100
> Subject: [PATCH 2/2] gnu: unison: Fix building the manual.
>
> * gnu/packages/ocaml.scm (unison)[native-inputs]: Add the missing texlive inputs.

Pushed as 648b81211fa1d14048a39fff59397ae90a5fef91.

Thanks!

Ludo’.
Closed
?