GNU bug report logs -
#67973
docbook2x build failure
Previous Next
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
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 87 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.