From f1400fe08fcb2500028f83df999d5e9c7f67f219 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Wed, 3 May 2023 21:14:05 -0400 Subject: gnu: sssd: Fix build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/sssd.scm (sssd) [native-inputs]: Add python-toolchain. [ensure-no-mtimes-pre-1980]: New phase. Signed-off-by: Ludovic Courtès --- gnu/packages/sssd.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu/packages/sssd.scm') diff --git a/gnu/packages/sssd.scm b/gnu/packages/sssd.scm index 4e585a62de..25ff300aa9 100644 --- a/gnu/packages/sssd.scm +++ b/gnu/packages/sssd.scm @@ -27,6 +27,7 @@ #:use-module (guix download) #:use-module (guix gexp) #:use-module (guix git-download) + #:use-module (guix modules) #:use-module (guix utils) #:use-module (guix build utils) #:use-module (guix build-system gnu) @@ -151,6 +152,8 @@ fundamental object types for C.") (build-system gnu-build-system) (arguments (list + #:imported-modules (source-module-closure + '((guix build python-build-system))) #:make-flags #~(list (string-append "CFLAGS=-DRENEWAL_PROG_PATH=\\\"" #$(this-package-input "adcli") "/sbin/adcli" @@ -184,6 +187,8 @@ fundamental object types for C.") "/xml/dtd/docbook/catalog.xml")) #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'ensure-no-mtimes-pre-1980 + (@@ (guix build python-build-system) ensure-no-mtimes-pre-1980)) (add-after 'patch-source-shebangs 'patch-more-shebangs (lambda _ (substitute* '("src/tools/analyzer/sss_analyze" @@ -266,7 +271,7 @@ fundamental object types for C.") p11-kit ; for PKCS#11 support pcre2 popt - python + python ; for wrap-program phase samba/pinned talloc tdb @@ -286,6 +291,7 @@ fundamental object types for C.") libxslt openssh ; for tests pkg-config + python-toolchain po4a softhsm ; for tests `(,util-linux "lib"))) ; for uuid.h, reqired for KCM -- cgit v1.2.3