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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67973 in the body.
You can then email your comments to 67973 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#67973; Package guix. (Fri, 22 Dec 2023 19:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Greg Hogan <code <at> greghogan.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 22 Dec 2023 19:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Greg Hogan <code <at> greghogan.com>
To: maxim.cournoyer <at> gmail.com, mirai <at> makinata.eu, 
 Raghav Gururajan <rg <at> raghavgururajan.name>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>, bug-guix <at> gnu.org
Subject: docbook2x build failure
Date: Fri, 22 Dec 2023 14:01:49 -0500
[Message part 1 (text/plain, inline)]
Build log attached. Am building from the most recent upstream commit
to core-updates (eff2e20688). bug#65479 "Docbook & XML/SGML
improvements" was merged to core-updates on October 10.

--8<---------------cut here---------------start------------->8---
Making all in documentation
make[2]: Entering directory
'/tmp/guix-build-docbook2x-0.8.8.drv-0/docbook2X-0.8.8/xslt/documentation'
../../perl/db2x_xsltproc -C ../../xslt/catalog.xml -s ./ss-texi.xsl -o
docbook2man-xslt.txml docbook2man-xslt.xml \
        -g output-file="docbook2man-xslt"
docbook2man-xslt.xml:1: parser error : Document is empty

^
unable to parse docbook2man-xslt.xml
make[2]: *** [Makefile:808: docbook2man-xslt.txml] Error 6
make[2]: Leaving directory
'/tmp/guix-build-docbook2x-0.8.8.drv-0/docbook2X-0.8.8/xslt/documentation'
make[1]: *** [Makefile:389: all-recursive] Error 1
make[1]: Leaving directory
'/tmp/guix-build-docbook2x-0.8.8.drv-0/docbook2X-0.8.8/xslt'
make: *** [Makefile:411: all-recursive] Error 1
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "1")
exit-status: 2 term-signal: #f stop-signal: #f>
phase `build' failed after 0.4 seconds
command "make" "-j" "1" failed with status 2
build process 4 exited with status 256
--8<---------------cut here---------------end--------------->8---
[b8slfkxkrj83shnglrpjhq5ykcxwq1-docbook2x-0.8.8.drv.gz (application/gzip, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#67973; Package guix. (Fri, 29 Dec 2023 22:15:02 GMT) Full text and rfc822 format available.

Message #8 received at 67973 <at> debbugs.gnu.org (full text, mbox):

From: Bruno Victal <mirai <at> makinata.eu>
To: Greg Hogan <code <at> greghogan.com>
Cc: 67973 <at> debbugs.gnu.org, Raghav Gururajan <rg <at> raghavgururajan.name>,
 Bruno Victal <mirai <at> makinata.eu>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH core-updates 0/1] gnu: docbook2x: Fix build.
Date: Fri, 29 Dec 2023 22:13:46 +0000
Hi Greg,

Thanks for noticing, it turned out to be a regression introduced in v3.

Bruno Victal (1):
  gnu: docbook2x: Fix build.

 gnu/packages/docbook.scm | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)


base-commit: e769385a7e348c8ba97614d889d7e8625fd8226a
-- 
2.41.0





Information forwarded to bug-guix <at> gnu.org:
bug#67973; Package guix. (Fri, 29 Dec 2023 22:15:02 GMT) Full text and rfc822 format available.

Message #11 received at 67973 <at> debbugs.gnu.org (full text, mbox):

From: Bruno Victal <mirai <at> makinata.eu>
To: Greg Hogan <code <at> greghogan.com>
Cc: 67973 <at> debbugs.gnu.org, Raghav Gururajan <rg <at> raghavgururajan.name>,
 Bruno Victal <mirai <at> makinata.eu>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH core-updates 1/1] gnu: docbook2x: Fix build.
Date: Fri, 29 Dec 2023 22:13:47 +0000
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





Information forwarded to bug-guix <at> gnu.org:
bug#67973; Package guix. (Wed, 06 Mar 2024 18:50:01 GMT) Full text and rfc822 format available.

Message #14 received at 67973 <at> debbugs.gnu.org (full text, mbox):

From: Greg Hogan <code <at> greghogan.com>
To: Bruno Victal <mirai <at> makinata.eu>
Cc: Raghav Gururajan <rg <at> raghavgururajan.name>, 67973 <at> debbugs.gnu.org,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: Re: [PATCH core-updates 0/1] gnu: docbook2x: Fix build.
Date: Wed, 6 Mar 2024 13:47:52 -0500
On Fri, Dec 29, 2023 at 5:14 PM Bruno Victal <mirai <at> makinata.eu> wrote:
>
> Hi Greg,
>
> Thanks for noticing, it turned out to be a regression introduced in v3.
>
> Bruno Victal (1):
>   gnu: docbook2x: Fix build.
>
>  gnu/packages/docbook.scm | 17 ++++++++---------
>  1 file changed, 8 insertions(+), 9 deletions(-)
>
>
> base-commit: e769385a7e348c8ba97614d889d7e8625fd8226a
> --
> 2.41.0

Hi Bruno,

Can this issue be closed? I am now able to build dockbook2x on
core-updates, and I believe this was fixed by Josselin Poiret in
d3a45711392fcecff640915c8bd881ff82559757 (also on 2023/12/29).


Greg




Added indication that bug 67973 blocks70456 Request was from Steve George <steve <at> futurile.net> to control <at> debbugs.gnu.org. (Mon, 22 Apr 2024 09:41:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#67973; Package guix. (Tue, 23 Apr 2024 13:28:07 GMT) Full text and rfc822 format available.

Message #19 received at 67973 <at> debbugs.gnu.org (full text, mbox):

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: Re: 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
> 
> 
> 
> 




bug closed, send any further explanations to 67973 <at> debbugs.gnu.org and Greg Hogan <code <at> greghogan.com> Request was from Steve George <steve <at> futurile.net> to control <at> debbugs.gnu.org. (Tue, 23 Apr 2024 13:29:11 GMT) Full text and rfc822 format available.

Message sent on to Greg Hogan <code <at> greghogan.com>:
bug#67973. (Tue, 23 Apr 2024 13:29:15 GMT) Full text and rfc822 format available.

Message #24 received at 67973-submitter <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: control <at> debbugs.gnu.org
Cc: 67973-submitter <at> debbugs.gnu.org
Subject: closing 67973
Date: Tue, 23 Apr 2024 14:27:21 +0100
close 67973 
thanks





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 22 May 2024 11:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 65 days ago.

Previous Next


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