GNU bug report logs - #67973
docbook2x build failure

Previous Next

Package: guix;

Reported by: Greg Hogan <code <at> greghogan.com>

Date: Fri, 22 Dec 2023 19:03:01 UTC

Severity: normal

Done: Steve George <steve <at> futurile.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Steve George <steve <at> futurile.net>
To: Bruno Victal <mirai <at> makinata.eu>
Cc: Raghav Gururajan <rg <at> raghavgururajan.name>, 67973 <at> debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, Liliana Marie Prikler <liliana.prikler <at> gmail.com>, Greg Hogan <code <at> greghogan.com>
Subject: bug#67973: [PATCH core-updates 1/1] gnu: docbook2x: Fix build.
Date: Tue, 23 Apr 2024 14:26:16 +0100
Hi,

Builds fine on current core-updates, so closing.

Steve / Futurile

On 29 Dec, Bruno Victal wrote:
> The documentation step fails to build if the original configure script is
> removed.
> 
> * gnu/packages/docbook.scm (docbook2x)[source]: Preserve original configure
> script.
> [arguments]<#:phases>: Add 'autoreconf phase.
> <#:modules>: Use %default-gnu-modules.
> ---
>  gnu/packages/docbook.scm | 17 ++++++++---------
>  1 file changed, 8 insertions(+), 9 deletions(-)
> 
> diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
> index 3046846619..02e60222ac 100644
> --- a/gnu/packages/docbook.scm
> +++ b/gnu/packages/docbook.scm
> @@ -912,21 +912,20 @@ (define-public docbook2x
>                (modules '((guix build utils)))
>                (snippet
>                 ;; Fix a failing test (maybe it worked with old texinfo?)
> -               #~(begin
> -                   (substitute* "test/complete-manuals/at1.xml"
> -                     (("<bridgehead>")
> -                      "<bridgehead renderas=\"sect2\">"))
> -                   ;; Force a new autoreconf run.
> -                   (delete-file "configure")))))
> +               #~(substitute* "test/complete-manuals/at1.xml"
> +                   (("<bridgehead>")
> +                    "<bridgehead renderas=\"sect2\">")))))
>      (outputs '("out" "doc"))
>      (build-system gnu-build-system)
>      (arguments
>       (list
> -      #:modules '((guix build gnu-build-system)
> -                  (guix build utils)
> -                  (srfi srfi-26))
> +      #:modules `((srfi srfi-26)
> +                  ,@%default-gnu-modules)
>        #:phases
>        #~(modify-phases %standard-phases
> +          (add-after 'unpack 'autoreconf
> +            (lambda _
> +              (invoke "autoreconf" "-vif")))
>            (add-after 'install 'move-doc
>              (lambda _
>                (let* ((old (string-append #$output "/share/doc"))
> -- 
> 2.41.0
> 
> 
> 
> 




This bug report was last modified 1 year and 86 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.