unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#64473] [PATCH] doc: Update GDB "guix shell" example to use autoconf-2.69
@ 2023-07-05 10:58 Michael Ford
  2023-07-17 22:19 ` bug#64473: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Ford @ 2023-07-05 10:58 UTC (permalink / raw)
  To: 64473

GDB has switched to using autoconf 2.69 for development
(d0ac1c44885daf68f631befa37e3f3bad318fbbf).
Running the GDB shell example, and then using autoreconf currently fails with:

guix shell -D -f ../guix/doc/environment-gdb.scm --pure
autoreconf
configure.ac:35: error: Please use exactly Autoconf 2.69 instead of 2.64.
config/override.m4:12: _GCC_AUTOCONF_VERSION_CHECK is expanded from...
configure.ac:35: the top level
autom4te: /gnu/store/2awzcd1jdd8h65ahdn62ydllrs2s2pk1-m4-1.4.19/bin/m4
failed with exit status: 1
aclocal: error: autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

Update the example environment to use 2.69. At the same time, remove
the outdated comment from the autoconf-2.64 package. At this point,
the package could possibly also be removed, but I'm not sure about the
procedure around removing packages, so left it as-is.

From 2af09ead05834a8f8c56fa30b4b2d00461b132c2 Mon Sep 17 00:00:00 2001
From: fanquake <fanquake@gmail.com>
Date: Wed, 5 Jul 2023 11:52:24 +0100
Subject: [PATCH] doc: Update GDB "guix shell" example to use autoconf-2.69

* doc/environment-gdb.scm: Change to use autoconf-2.69.
* gnu/packages/autotools.scm: Remove outdated GDB comment.
---
 doc/environment-gdb.scm    | 2 +-
 gnu/packages/autotools.scm | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/doc/environment-gdb.scm b/doc/environment-gdb.scm
index 0534e594de..9517200ffd 100644
--- a/doc/environment-gdb.scm
+++ b/doc/environment-gdb.scm
@@ -9,4 +9,4 @@
 (package
   (inherit gdb)
   (native-inputs (modify-inputs (package-native-inputs gdb)
-                   (prepend autoconf-2.64 automake texinfo))))
+                   (prepend autoconf-2.69 automake texinfo))))
diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm
index fc6bb196f1..5ffefec4a1 100644
--- a/gnu/packages/autotools.scm
+++ b/gnu/packages/autotools.scm
@@ -158,7 +158,6 @@ (define-public autoconf-2.68
         "1fjm21k2na07f3vasf288a0zx66lbv0hd3l9bvv3q8p62s3pg569"))))))

 (define-public autoconf-2.64
-  ;; As of GDB 7.8, GDB is still developed using this version of Autoconf.
   (package (inherit autoconf)
     (version "2.64")
     (source
-- 
2.41.0




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#64473: [PATCH] doc: Update GDB "guix shell" example to use autoconf-2.69
  2023-07-05 10:58 [bug#64473] [PATCH] doc: Update GDB "guix shell" example to use autoconf-2.69 Michael Ford
@ 2023-07-17 22:19 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-07-17 22:19 UTC (permalink / raw)
  To: Michael Ford; +Cc: 64473-done

Hi,

Michael Ford <fanquake@gmail.com> skribis:

>>From 2af09ead05834a8f8c56fa30b4b2d00461b132c2 Mon Sep 17 00:00:00 2001
> From: fanquake <fanquake@gmail.com>
> Date: Wed, 5 Jul 2023 11:52:24 +0100
> Subject: [PATCH] doc: Update GDB "guix shell" example to use autoconf-2.69
>
> * doc/environment-gdb.scm: Change to use autoconf-2.69.
> * gnu/packages/autotools.scm: Remove outdated GDB comment.

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-17 22:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-05 10:58 [bug#64473] [PATCH] doc: Update GDB "guix shell" example to use autoconf-2.69 Michael Ford
2023-07-17 22:19 ` bug#64473: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).