Subject: bug#73192: [PATCH] gnu: icedove-l10n: Fix build.

From: André Batista <[email-masked]>
Date: Thu, 19 Sep 2024 19:39:05 -0300

Fixes <https://issues.guix.gnu.org/73192>

* gnu/packages/gnuzilla.scm (make-l10n-package)[arguments]<#:phases>:
On 'build phase unconditionally use 'system*' to invoke 'mach', as
'invoke' does not work for icedove any longer.

Reported-by: bdju <[email-masked]>.
---
 gnu/packages/gnuzilla.scm | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index d7b9aa72e9..d25577111b 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1684,13 +1684,11 @@ (define (find-file dir name)
                                               'thunderbird
                                               '#$project))))
                      (format #t "processing locale `~a'...~%" l)
-                     (if (eq? 'icecat '#$project)
-                         ;; XXX: For some reasons, for IceCat, there are some
-                         ;; parsing errors that cause the build system to
-                         ;; return an unclean exit code; use system* to ignore
-                         ;; errors.
-                         (system* "./mach" "build" (string-append "langpack-" l))
-                         (invoke "./mach" "build" (string-append "langpack-" l)))
+                     ;; XXX: For some reasons, on version 115, there are some
+                     ;; parsing errors that cause the build system to
+                     ;; return an unclean exit code; use system* to ignore
+                     ;; errors.
+                     (system* "./mach" "build" (string-append "langpack-" l))
                      (mkdir-p ext-dir)
                      (let ((xpi (find-file "obj" (string-append
                                                   "\\." l "\\.langpack\\.xpi$"))))

base-commit: d4fbd1ab341de85c1e5c77e0f7adc5aae056be15
-- 
2.45.2