From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 05 06:25:52 2022 Received: (at 33094) by debbugs.gnu.org; 5 Jun 2022 10:25:52 +0000 Received: from localhost ([127.0.0.1]:60132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxnSB-0000H4-OH for submit@debbugs.gnu.org; Sun, 05 Jun 2022 06:25:52 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:43850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxnS9-0000Gn-8i for 33094@debbugs.gnu.org; Sun, 05 Jun 2022 06:25:50 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4LGCSP0VZ2z9sdG; Sun, 5 Jun 2022 12:25:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1654424741; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QoVOtjOLA00xqIDHx35kMBbo07W6MjTXReyyDegwx9Y=; b=uYwB/HCif6BegCm/LvZo2EriPEaKnFDWo8jyqQeIuJqWigFYE2kX7i4qD/F/QkeA/nU0X9 oGY4wggRaPzfI+UU0I2zyQyxO72DRRdDMDcmSx5f2sN57PS+gmAthjWGaFnsPdtKQRVEw9 A61yM1w4m4If4PdYTzp1uupWPH52FF1f17khS+w7EJ7icA7kMvZP5Tggw4l4RprxJfwMWH n03RUJsYCMYdBNc56I1Gg8MIKVlgWn6aR6OhRe3j3U790YzxS8t6KW8mRiFnZxQtSrWVLM 3haQRv241a5wGedcIAbSBG6O0+facoX1P7vEopzEC3iR3vv2rhiaDXdmE3HVrw== Date: Sun, 5 Jun 2022 12:25:36 +0200 From: Lars-Dominik Braun To: Ricardo Wurmus Subject: Re: latex-koma-script: scrlttr2: ERROR: Argument of \strip@prefix has an extra }. Message-ID: References: <87mtjst8tk.fsf@elephly.net> <87fsoj67gb.fsf@elephly.net> <877d9v5b40.fsf@elephly.net> <874k160z18.fsf@elephly.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ebPNN6lsS8W3Oeoq" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <874k160z18.fsf@elephly.net> X-Rspamd-Queue-Id: 4LGCSP0VZ2z9sdG X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 33094 Cc: 33094@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --ebPNN6lsS8W3Oeoq Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 --ebPNN6lsS8W3Oeoq Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="texlive-latex-base-bootstrap.diff" 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 --ebPNN6lsS8W3Oeoq--