diff options
| author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-12-05 12:52:50 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:11 +0200 |
| commit | 4e959b078df2b37971182f9a5194ba739aabe7a0 (patch) | |
| tree | 7c1c0e2af5ac001e9fde7eca8588dfaee2a269fd /gnu | |
| parent | 09d914e5031cb88c22f850d1944ba0a9db9a22c5 (diff) | |
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
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/autotools.scm | 54 |
1 files changed, 45 insertions, 9 deletions
diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm index e16e594ad84..9a8023f7d32 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") |
