[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/74: gnu: Re-Add automake-1.16.5.
From: |
guix-commits |
Subject: |
16/74: gnu: Re-Add automake-1.16.5. |
Date: |
Mon, 16 Dec 2024 03:34:54 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit c81f8033120fbe41b7beb8e2387b541c2b186212
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Dec 5 12:52:50 2024 +0100
gnu: Re-Add automake-1.16.5.
* gnu/packages/autotools.scm (automake): Rename to...
(automake-1.16.5): ...this, and downgrade version to 1.16.5.
[arguments]: Rename phase "skip-test" to "skip-tests", skip 8 more tests
that fail with gcc-14.
[source]: Move to...
(automake): ...this new variable.
[arguments]: Replace "skip-tests" phase.
Change-Id: Iacc2ca3bc84f0a4b261663b9178922bcb1c18578
---
gnu/packages/autotools.scm | 54 ++++++++++++++++++++++++++++++++++++++--------
1 file changed, 45 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm
index 10c01640ce..2f9d66660e 100644
--- a/gnu/packages/autotools.scm
+++ b/gnu/packages/autotools.scm
@@ -32,6 +32,7 @@
(define-module (gnu packages autotools)
#:use-module (guix licenses)
#:use-module (gnu packages)
+ #:use-module (gnu packages gcc)
#:use-module (gnu packages perl)
#:use-module (gnu packages python)
#:use-module (gnu packages m4)
@@ -317,17 +318,17 @@ output is indexed in many ways to simplify browsing.")
(home-page "https://josefsson.org/autobuild/")
(license gpl3+)))
-(define-public automake
+(define-public automake-1.16.5
(package
(name "automake")
- (version "1.17")
+ (version "1.16.5")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/automake/automake-"
version ".tar.xz"))
(sha256
(base32
- "146rkdcwri2dkwn3pjrjs9v0wm4xyav9vvq4yw5vj4qy87yc2849"))
+ "0sdl32qxdy7m06iggmkkvf7j520rmmgbsjzbm7fgnxwxdp6mh7gh"))
(patches
(search-patches "automake-skip-amhello-tests.patch"))))
(build-system gnu-build-system)
@@ -359,16 +360,23 @@ output is indexed in many ways to simplify browsing.")
;; that occur during the test suite.
(setenv "SHELL" sh)
(setenv "CONFIG_SHELL" sh))))
- (add-before 'check 'skip-test
+ (add-before 'check 'skip-tests
(lambda _
(substitute*
;; This test requires 'etags' and fails if it's missing.
+ ;; Skip it.
'("t/tags-lisp-space.sh"
- ;; This test fails, probably a timestamp thing:
- ;; make: Nothing to be done for 'all'.
- "t/remake-aclocal-version-mismatch.sh")
- (("^#!.*" all)
- (string-append all "exit 77;\n")))))
+ ;; These tests fail with gcc-14
+ "t/c-demo.sh"
+ "t/depcomp-auto.tap"
+ "t/depcomp-cpp.tap"
+ "t/depcomp-dashmstdout.tap"
+ "t/depcomp-gcc.tap"
+ "t/dist-vs-built-sources.sh"
+ "t/link_cond.sh"
+ "t/subobj-clean-pr10697.sh")
+ (("^#!.*" all)
+ (string-append all "exit 77;\n")))))
#$@(if (%current-target-system)
#~((add-after 'install 'patch-non-shebang-references
@@ -430,6 +438,34 @@ intuitive format and then Automake works with Autoconf to
produce a robust
Makefile, simplifying the entire process for the developer.")
(license gpl2+))) ; some files are under GPLv3+
+(define-public automake
+ (package/inherit automake-1.16.5
+ (name "automake")
+ (version "1.17")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnu/automake/automake-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "146rkdcwri2dkwn3pjrjs9v0wm4xyav9vvq4yw5vj4qy87yc2849"))
+ (patches
+ (search-patches "automake-skip-amhello-tests.patch"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments automake-1.16.5)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'skip-tests
+ (lambda _
+ (substitute*
+ ;; This test requires 'etags' and fails if it's missing.
+ '("t/tags-lisp-space.sh"
+ ;; This test fails, probably a timestamp thing:
+ ;; make: Nothing to be done for 'all'.
+ "t/remake-aclocal-version-mismatch.sh")
+ (("^#!.*" all)
+ (string-append all "exit 77;\n")))))))))))
+
(define-public libtool
(package
(name "libtool")
- branch core-packages-team created (now c66eea6b16), guix-commits, 2024/12/16
- 06/74: gnu: bash-minimal: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/16
- 14/74: gnu: automake: Fix build with gcc-14., guix-commits, 2024/12/16
- 03/74: Revert "Partial revert "gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd."", guix-commits, 2024/12/16
- 12/74: gnu: gettext: Update to 0.23., guix-commits, 2024/12/16
- 10/74: gnu: zip: Fix build with gcc-14., guix-commits, 2024/12/16
- 13/74: gnu: unzip: Fix build with gcc-14., guix-commits, 2024/12/16
- 04/74: gnu: commencement: gcc-boot0: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/16
- 11/74: gnu: gettext: Fix build with gcc-14., guix-commits, 2024/12/16
- 16/74: gnu: Re-Add automake-1.16.5.,
guix-commits <=
- 05/74: gnu: gcc-boot0: Fix building on powerpc64le-linux., guix-commits, 2024/12/16
- 21/74: gnu: torsocks: Fix build with gcc-14., guix-commits, 2024/12/16
- 24/74: gnu: go-1.21.5: Skip test failing with gcc-14., guix-commits, 2024/12/16
- 26/74: gnu: xmlto: Fix build with gcc-14., guix-commits, 2024/12/16
- 49/74: gnu: Use cryptsetup-minimal instead of cryptsetup., guix-commits, 2024/12/16
- 35/74: gnu: zziplib: Update to 0.13.78; fixes build with gcc-14., guix-commits, 2024/12/16
- 46/74: gnu: pth: Fix build with gcc-14., guix-commits, 2024/12/16
- 53/74: gnu: slim: Fix build with gcc-14., guix-commits, 2024/12/16
- 52/74: gnu: talloc: Update to 2.4.2; fixes build with gcc-14., guix-commits, 2024/12/16
- 60/74: gnu: m4: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/16