[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/23: gnu: ccache: Update to 4.4.2.
From: |
guix-commits |
Subject: |
11/23: gnu: ccache: Update to 4.4.2. |
Date: |
Sun, 3 Oct 2021 13:28:20 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 9b9c74eaa79cf69ab1b612e5ab02b93d93f2516c
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Oct 3 16:09:27 2021 +0200
gnu: ccache: Update to 4.4.2.
* gnu/packages/ccache.scm (ccache): Update to 4.4.2.
[source]: Remove patch.
[arguments]: Substitute nonexistent compgen.
* gnu/packages/patches/ccache-fix-basedir-test.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
---
gnu/local.mk | 1 -
gnu/packages/ccache.scm | 14 +++++++-----
gnu/packages/patches/ccache-fix-basedir-test.patch | 26 ----------------------
3 files changed, 8 insertions(+), 33 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index d415b89..4db3ccd 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -915,7 +915,6 @@ dist_patch_DATA =
\
%D%/packages/patches/calibre-remove-test-unrar.patch \
%D%/packages/patches/casync-renameat2-declaration.patch \
%D%/packages/patches/catdoc-CVE-2017-11110.patch \
- %D%/packages/patches/ccache-fix-basedir-test.patch \
%D%/packages/patches/circos-remove-findbin.patch \
%D%/packages/patches/cdparanoia-fpic.patch \
%D%/packages/patches/cdrtools-3.01-mkisofs-isoinfo.patch \
diff --git a/gnu/packages/ccache.scm b/gnu/packages/ccache.scm
index 844a0d5..44b0ef6 100644
--- a/gnu/packages/ccache.scm
+++ b/gnu/packages/ccache.scm
@@ -31,16 +31,14 @@
(define-public ccache
(package
(name "ccache")
- (version "4.4.1")
+ (version "4.4.2")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/ccache/ccache/releases/download/v"
version "/ccache-" version ".tar.xz"))
(sha256
- (base32 "0nc1mlmj92lfa25d12nzf5n55az6zfx38n0z1qqkkzjxn6sxzmpb"))
- (patches
- (search-patches "ccache-fix-basedir-test.patch"))))
+ (base32 "186b5lfbdd48cvbxqv2yh93pgr8lhahl1jzw00k2rmjzmbxwl04j"))))
(build-system cmake-build-system)
(native-inputs `(("perl" ,perl) ; for test/run
("which" ,(@ (gnu packages base) which))))
@@ -53,9 +51,13 @@
#:phases
(modify-phases %standard-phases
- (add-before 'configure 'setup-tests
+ (add-before 'configure 'fix-shell
+ ;; Run early whilst we're still in the source directory.
(lambda _
- (substitute* '("unittest/test_hashutil.cpp"
"test/suites/base.bash")
+ (substitute* (list "test/run"
+ "test/suites/base.bash"
+ "unittest/test_hashutil.cpp")
+ (("compgen -e") "env | cut -d= -f1")
(("#!/bin/sh") (string-append "#!" (which "sh"))))))
(add-before 'check 'set-home
;; Tests require a writable HOME.
diff --git a/gnu/packages/patches/ccache-fix-basedir-test.patch
b/gnu/packages/patches/ccache-fix-basedir-test.patch
deleted file mode 100644
index c5f6de7..0000000
--- a/gnu/packages/patches/ccache-fix-basedir-test.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From ad18f15287b83cee5a45b63e02b31c6a601a134f Mon Sep 17 00:00:00 2001
-From: Tobias Geerinckx-Rice <me@tobias.gr>
-Date: Mon, 27 Sep 2021 19:36:30 +0200
-Subject: [PATCH] gnu: ccache: Fix basedir test.
-
-Applied upstream.
----
- test/suites/basedir.bash | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/test/suites/basedir.bash b/test/suites/basedir.bash
-index 479c632..34e5cb7 100644
---- a/test/suites/basedir.bash
-+++ b/test/suites/basedir.bash
-@@ -269,7 +269,7 @@ EOF
- EOF
- backdate test.h
-
-- pwd="$(/bin/pwd -P)"
-+ pwd="$(pwd -P)"
- $REAL_COMPILER -c $pwd/test.c 2>reference.stderr
-
- CCACHE_ABSSTDERR=1 CCACHE_BASEDIR="$pwd" $CCACHE_COMPILE -c $pwd/test.c
2>ccache.stderr
---
-2.33.0
-
- branch master updated (c98c9c5 -> 91389d4), guix-commits, 2021/10/03
- 04/23: bash completion: Complete ‘guix weather’ packages., guix-commits, 2021/10/03
- 05/23: bash completion: Complete ‘guix build’ file names., guix-commits, 2021/10/03
- 07/23: bash completion: Fix ‘system’ & ‘container’ subcommands., guix-commits, 2021/10/03
- 02/23: bash completion: Consolidate similar $command ‘if’ branches., guix-commits, 2021/10/03
- 03/23: bash completion: Append to $COMPREPLY where possible., guix-commits, 2021/10/03
- 08/23: gnu: os-prober: Update to 1.79., guix-commits, 2021/10/03
- 11/23: gnu: ccache: Update to 4.4.2.,
guix-commits <=
- 14/23: gnu: dnsmasq: Prepare for cross-compilation., guix-commits, 2021/10/03
- 15/23: gnu: sx: Update to 2.1.7., guix-commits, 2021/10/03
- 17/23: gnu: yadifa: Update to 2.5.1 [security fixes]., guix-commits, 2021/10/03
- 09/23: gnu: libhx: Update to 4.0.1., guix-commits, 2021/10/03
- 10/23: gnu: snapraid: Update to 11.6., guix-commits, 2021/10/03
- 13/23: gnu: dnsmasq: Update to 2.86., guix-commits, 2021/10/03
- 16/23: gnu: sx: Don't propagate xauth., guix-commits, 2021/10/03
- 18/23: gnu: corsix-th: Update to 0.65.1., guix-commits, 2021/10/03
- 19/23: gnu: freeorion: Don't use unstable tarball., guix-commits, 2021/10/03
- 20/23: gnu: freeorion: Update to 0.4.10.2., guix-commits, 2021/10/03