all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Brian Cully via Guix-patches via <guix-patches@gnu.org>
To: 63091@debbugs.gnu.org
Cc: Brian Cully <bjc@spork.org>
Subject: [bug#63091] [PATCH v3 2/2] gnu: sssd: Fix build
Date: Wed,  3 May 2023 21:14:05 -0400	[thread overview]
Message-ID: <0c4cdbd1e849579e8b76db2d3a6cb2d5747c66f1.1683162845.git.bjc@spork.org> (raw)
In-Reply-To: <f0c1971bc8a482b2e0d5e487d522d2231011823d.1683162845.git.bjc@spork.org>

* gnu/packages/sssd.scm (sssd) [native-inputs]: Add python-toolchain.
[ensure-no-mtimes-pre-1980]: New phase.
---
 gnu/packages/sssd.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

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 @@ (define-module (gnu packages sssd)
   #: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 @@ (define-public sssd
     (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 @@ (define-public sssd
                              "/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 @@ (define-public sssd
            p11-kit ; for PKCS#11 support
            pcre2
            popt
-           python
+           python ; for wrap-program phase
            samba/pinned
            talloc
            tdb
@@ -286,6 +291,7 @@ (define-public sssd
            libxslt
            openssh ; for tests
            pkg-config
+           python-toolchain
            po4a
            softhsm ; for tests
            `(,util-linux "lib"))) ; for uuid.h, reqired for KCM
-- 
2.39.2





  reply	other threads:[~2023-05-04  1:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-26 14:58 [bug#63091] [PATCH] gnu: sssd: Fix failing tests by using samba/pinned input Brian Cully via Guix-patches via
2023-04-26 15:02 ` Brian Cully via Guix-patches via
2023-04-28 14:03 ` [bug#63091] [PATCH v2 1/2] " Brian Cully via Guix-patches via
2023-04-28 14:03   ` [bug#63091] [PATCH v2 2/2] gnu: sssd: Fix build Brian Cully via Guix-patches via
2023-04-28 19:02     ` [bug#63091] [PATCH] gnu: sssd: Fix failing tests by using samba/pinned input Ludovic Courtès
2023-04-28 19:14       ` Brian Cully via Guix-patches via
2023-05-04  1:14 ` [bug#63091] [PATCH v3 1/2] " Brian Cully via Guix-patches via
2023-05-04  1:14   ` Brian Cully via Guix-patches via [this message]
2023-05-19 14:14   ` bug#63091: [PATCH] " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0c4cdbd1e849579e8b76db2d3a6cb2d5747c66f1.1683162845.git.bjc@spork.org \
    --to=guix-patches@gnu.org \
    --cc=63091@debbugs.gnu.org \
    --cc=bjc@spork.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.