guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/11: HACK gnu: guix: Disable building failing ko, ru, zh_CN docs for t


From: guix-commits
Subject: 11/11: HACK gnu: guix: Disable building failing ko, ru, zh_CN docs for the Hurd.
Date: Thu, 18 Jan 2024 14:07:52 -0500 (EST)

janneke pushed a commit to branch hurd-team
in repository guix.

commit 2bed53405b275422620a22d8ceb74f95e81948e7
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun Jan 14 10:47:19 2024 +0100

    HACK gnu: guix: Disable building failing ko, ru, zh_CN docs for the Hurd.
    
    Building guix-ru.info fails when building foor the Hurd.
    
        guix.ru.texi:3489: @node `??????????????????????' previously defined
        guix.ru.texi:2535: here is the previous definition as @node
        guix.ru.texi:27473: warning: node `?????????????? ??????????????????' 
unreferenced
        make[2]: *** [Makefile:5287: doc/guix.ru.info] Error 1
    
    Building guix-zn-CN.info fails when building for the Hurd.
    
        guix.zh_CN.texi:651: @node `??????' previously defined
        guix.zh_CN.texi:522: here is the previous definition as @node
        make[2]: *** [Makefile:5352: doc/guix.zh_CN.info] Error 1
    
    Building guix-cookbook.ko fails when building foor the Hurd.
    
        guix-cookbook.ko.texi:781: @node `??????' previously defined
        guix-cookbook.ko.texi:522: here is the previous definition as @node
        guix-cookbook.ko.texi:1023: @node `????????? ??????' previously defined
        guix-cookbook.ko.texi:536: here is the previous definition as @node
        guix-cookbook.ko.texi:1574: @node `?????? ??????' previously defined
        guix-cookbook.ko.texi:801: here is the previous definition as @node
        guix-cookbook.ko.texi:1610: @node `??????' previously defined
        guix-cookbook.ko.texi:522: here is the previous definition as @node
        guix-cookbook.ko.texi:1629: @node `????????? ??????' previously defined
        guix-cookbook.ko.texi:536: here is the previous definition as @node
        guix-cookbook.ko.texi:4802: @node `?????? ??????' previously defined
        guix-cookbook.ko.texi:801: here is the previous definition as @node
        guix-cookbook.ko.texi:5327: @node `?????? ??????' previously defined
        guix-cookbook.ko.texi:801: here is the previous definition as @node
        guix-cookbook.ko.texi:4812: warning: node `Guix environment via direnv' 
unreferenced
        make[2]: *** [Makefile:5549: doc/guix-cookbook.ko.info] Error 1
    
    * gnu/packages/package-management.scm (guix)[arguments]: When building for 
the
    Hurd, add 'drop-broken-language-docs' phase.
    
    Change-Id: I83db9f7597534790895982928e387b2e3a8ffb8f
---
 gnu/packages/package-management.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/package-management.scm 
b/gnu/packages/package-management.scm
index 55e930e510..a010940f20 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -270,6 +270,16 @@ $(prefix)/etc/openrc\n")))
                               (substitute* "tests/gexp.scm"
                                 (("2\\.0") "3.0")))))
                         '())
+                    ,@(if (target-hurd?)
+                        `((add-after 'unpack 'drop-broken-language-docs
+                            (lambda _
+                              (substitute* "doc/local.mk"
+                                (("de es fr pt_BR ru zh_CN") "de es fr pt_BR")
+                                (("%D%/guix.ru.texi") "")
+                                (("%D%/guix.zh_CN.texi") "")
+                                (("de fr ko sk") "de fr sk")
+                                (("%D%/guix-cookbook.ko.texi") "")))))
+                        '())
                     ,@(if (system-hurd?)
                           `((add-after 'unpack 'disable-tests/hurd
                               (lambda _



reply via email to

[Prev in Thread] Current Thread [Next in Thread]