[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: |
Sun, 15 Dec 2024 10:03:16 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 7ee39cc05a3f9bf12df2593982a39406133fb0be
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")
- 18/74: gnu: bdb: Use automake-1.16.5., (continued)
- 18/74: gnu: bdb: Use automake-1.16.5., guix-commits, 2024/12/15
- 32/74: gnu: serf: Update to 1.3.10 and fix build with gcc-14., guix-commits, 2024/12/15
- 25/74: gnu: python-lxml: Update to 5.2.2; fixes build with gcc-14., guix-commits, 2024/12/15
- 31/74: gnu: libxaw3d: Update to 1.6.6, fixes build with gcc-14., guix-commits, 2024/12/15
- 36/74: gnu: texlive-xdvi-bin: Fix build with gcc-14., guix-commits, 2024/12/15
- 10/74: gnu: zip: Fix build with gcc-14., guix-commits, 2024/12/15
- 01/74: Revert "Partial revert "gnu: bootstrap: %bootstrap-gcc: Also wrap g++ for the 64bit Hurd."", guix-commits, 2024/12/15
- 06/74: gnu: bash-minimal: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/15
- 05/74: gnu: gcc-boot0: Fix building on powerpc64le-linux., guix-commits, 2024/12/15
- 07/74: gnu: commencement: gcc-final: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/15
- 16/74: gnu: Re-Add automake-1.16.5.,
guix-commits <=
- 11/74: gnu: gettext: Fix build with gcc-14., guix-commits, 2024/12/15
- 15/74: gnu: automake: Update to 1.17; fixes build with gcc-14., guix-commits, 2024/12/15
- 19/74: gnu: elfutils: Update to 0.192; fixes build with gcc-14., guix-commits, 2024/12/15
- 27/74: gnu: cmake-bootstrap: Fix build with gcc-14., guix-commits, 2024/12/15
- 26/74: gnu: xmlto: Fix build with gcc-14., guix-commits, 2024/12/15
- 29/74: gnu: llvm-13: Fix build with gcc-14., guix-commits, 2024/12/15
- 22/74: gnu: expect: Fix build with gcc-14., guix-commits, 2024/12/15
- 28/74: gnu: nlohmann-json: Update to 3.11.3; fixes build with gcc-14., guix-commits, 2024/12/15
- 34/74: gnu: gcc-boot0: Fix building for aarch64-linux., guix-commits, 2024/12/15
- 24/74: gnu: go-1.21.5: Skip test failing with gcc-14., guix-commits, 2024/12/15