From: Lars-Dominik Braun <lars@6xq.net>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: 33094@debbugs.gnu.org
Subject: bug#33094: latex-koma-script: scrlttr2: ERROR: Argument of \strip@prefix has an extra }.
Date: Sun, 5 Jun 2022 12:25:36 +0200 [thread overview]
Message-ID: <YpyEoB2JdHhuRuCu@noor.fritz.box> (raw)
In-Reply-To: <874k160z18.fsf@elephly.net>
[-- Attachment #1: Type: text/plain, Size: 1009 bytes --]
Hi Ricardo,
> The correct solution to this problem would be to add a little build
> cycle: build a bootstrap version of pdflatex (and the other formats) so
> that we can build babel; then rebuild pdflatex (and all the other
> formats, and everything that goes into texlive-latex-base) in an
> environment where babel exists.
indeed, adding this package variation to the manifest fixed the issue for me:
---snip---
(define-public texlive-latex-base-fixed
(package
(inherit texlive-latex-base)
(name "texlive-latex-base-fixed")
(propagated-inputs (modify-inputs (package-propagated-inputs texlive-latex-base)
(append texlive-babel)))))
---snap---
Looking at `guix refresh -l texlive-latex-base` a change like that would
be a world rebuild though. I tried adding something similar to
Guix’ tree, but there’s a loop somewhere I can’t figure out
(see attached patch). I’m guessing through texlive-build-system’s
#:texlive-latex-base.
Cheers,
Lars
[-- Attachment #2: texlive-latex-base-bootstrap.diff --]
[-- Type: text/plain, Size: 1232 bytes --]
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 4831cf0933..703846a1ad 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -2943,9 +2943,9 @@ (define-public texlive-latexconfig
formats.")
(license license:lppl)))
-(define-public texlive-latex-base
+(define-public texlive-latex-base-bootstrap
(let ((template (simple-texlive-package
- "texlive-latex-base"
+ "texlive-latex-base-bootstrap"
(list "/doc/latex/base/"
"/source/latex/base/"
;; Almost all files in /tex/latex/base are generated, but
@@ -3174,6 +3174,18 @@ (define-public texlive-latex-base
contain.")
(license license:lppl1.3c+))))
+(define-public texlive-latex-base
+ (let ((base texlive-latex-base-bootstrap))
+ (package
+ (inherit base)
+ (name "texlive-latex-base")
+ (arguments
+ `(#:texlive-latex-base texlive-latex-base-bootstrap
+ ,@(package-arguments base)))
+ (propagated-inputs
+ (modify-inputs (package-propagated-inputs base)
+ (append texlive-babel))))))
+
(define-public texlive-latex-atveryend
(package
(inherit (simple-texlive-package
next prev parent reply other threads:[~2022-06-05 10:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-19 13:35 bug#33094: latex-koma-script: scrlttr2: ERROR: Argument of \strip@prefix has an extra } Pierre Neidhardt
[not found] ` <handler.33094.B.15399561855233.ack@debbugs.gnu.org>
2018-10-19 14:07 ` bug#33094: Acknowledgement (latex-koma-script: scrlttr2: ERROR: Argument of \strip@prefix has an extra }.) Pierre Neidhardt
2022-01-19 8:38 ` bug#33094: latex-koma-script: scrlttr2: ERROR: Argument of \strip@prefix has an extra } Ricardo Wurmus
2022-02-15 23:15 ` Ricardo Wurmus
2022-02-16 11:00 ` Ricardo Wurmus
2022-02-16 12:14 ` Ricardo Wurmus
2022-05-26 12:05 ` Lars-Dominik Braun
2022-05-31 10:32 ` Ricardo Wurmus
2022-06-05 10:25 ` Lars-Dominik Braun [this message]
2022-06-05 11:00 ` Liliana Marie Prikler
2022-06-05 17:48 ` Lars-Dominik Braun
2023-08-26 9:04 ` Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YpyEoB2JdHhuRuCu@noor.fritz.box \
--to=lars@6xq.net \
--cc=33094@debbugs.gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).