From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wH2xLm6eUmFzdQEAgWs5BA (envelope-from ) for ; Tue, 28 Sep 2021 06:47:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AFRtKm6eUmHnJQAA1q6Kng (envelope-from ) for ; Tue, 28 Sep 2021 04:47:42 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6EBA22A8DA for ; Tue, 28 Sep 2021 06:47:42 +0200 (CEST) Received: from localhost ([::1]:51936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mV51p-0002YR-34 for larch@yhetil.org; Tue, 28 Sep 2021 00:47:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mV51b-0002YA-VF for help-guix@gnu.org; Tue, 28 Sep 2021 00:47:27 -0400 Received: from out2.migadu.com ([2001:41d0:2:aacc::]:28970) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mV51X-0000kz-28 for help-guix@gnu.org; Tue, 28 Sep 2021 00:47:27 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1632804437; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=hcKrrGojq09wnnQhqMWAykbRdYUYMLVM8lXoQlECBPE=; b=VbzM9pCWRtfDgtRmKodvo5paSTp/8vcLe5Tj/vB8bnj6fLn2bSDIRgmewaZilEx4ivJT28 9wzikp7S5EAdrLncbconparHObpiZo47GOOMYXyLOR0DkKedsn0i4yR0Wg70k2Pd/u3LNz jSTHPj0L6ZOfDsBYDzX9dr8tkZJ3fWs= From: Sarah Morgensen To: phodina Subject: Re: Apply patch to read-only file Date: Mon, 27 Sep 2021 21:47:14 -0700 In-Reply-To: phodina@protonmail.com's message of "Mon, 27 Sep 2021 22:57:16 +0000" Message-ID: <861r59ux0t.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:41d0:2:aacc::; envelope-from=iskarian@mgsn.dev; helo=out2.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632804462; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=hcKrrGojq09wnnQhqMWAykbRdYUYMLVM8lXoQlECBPE=; b=VCxigTw2VPNcAYiUiJu2oYK0dIZfY8QfG6pjitFi6tWAhHXPIfJcy5UPL2wkH9UXedg0UL lOQ0AkDJE7Z0FMff8g+RFRKeDxlmK7jQMFwmo2xUVgavG8ADwgQjI3NWFM0ga233A0I715 cBxL3r7sIhVv66tZF5xTOY/V1PY2gzGuzx4bgauB4b6qvLISpwyBvQeikbuGekwIqtSUaL Ac1T7c6XsC5rFUMBzfktXHiJXhN4Xa75/8zyNWI5tvnYXK+P1VxLJ5XoY1s5NS5vg9Xj2y FZ2DJKnPpKVxsYiwEVSRDhos05J4ptluVuzN0VFHb5tL2X8DQAXWQxSxyxLaIQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632804462; a=rsa-sha256; cv=none; b=gjA0Vzn+2Ds3fMa/0/6JrL3hhIuupEtsmDLdR2CX0EXh8FkpQ9gKYhHzsNKmES4Lr153xG JL4i4zodQcXaRvxTqw7bN8oqIp8KgYBtj9IcQ0be1T4Oegumt3AMQTniZdE57oD1+Hi47w C8iBel+3oOGQbCUgBz2VvT3FgNCqN4xsihduF1GZKzQnIakM2s152kV+V82k8J0esa8Fml bp7jDG8sxPQUO4njIIR5FaET92RrikxrRZDK77p7NwJ3OCma+zDbVWBUhr1fCeg0RZcZQa uXJJA5YQ8xYzWAGv2sUFVzPDqz3+BGIQukoRVWpDbDAntxmI/vC43gfXw9pQUg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=VbzM9pCW; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=VbzM9pCW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 6EBA22A8DA X-Spam-Score: -1.69 X-Migadu-Scanner: scn1.migadu.com X-TUID: i8AKhSykQFZH Hello Petr, phodina writes: > Hi Guillaume, > > Sure, here's the formatted file. My appology for the issue with the mail client. > > --8<---------------cut here---------------start------------->8--- > > (define-module (realmd) > #:use-module (guix packages) > #:use-module (gnu packages) > #:use-module (gnu packages image) > #:use-module (gnu packages glib) > #:use-module (gnu packages autotools) > #:use-module (gnu packages pkg-config) > #:use-module (gnu packages polkit) > #:use-module (guix git-download) > #:use-module (guix build-system gnu) > #:use-module ((guix licenses) #:prefix license:)) > > (define-public realmd > (package > (name "realmd") > (version "0.17.0") > (source (origin > (method git-fetch) > (uri (git-reference > (url "https://github.com/freedesktop/realmd") > (commit version))) > (file-name (git-file-name name version)) > (modules '((guix build utils))) > (snippet > '(begin > (delete-file "configure.ac") > ;(make-file-writable "configure.ac") > #t)) > (patches '("endgame/packages/patches/realmd-guixsd-support.patch")) > (sha256 > (base32 > "1c6q2a86kk2f1akzc36nh52hfwsmmc0mbp6ayyjxj4zsyk9zx5bf")))) > (build-system gnu-build-system) > (arguments > `(#:phases > (modify-phases %standard-phases > (add-after 'unpack 'make-git-checkout-writable > (lambda* (#:key inputs #:allow-other-keys) > (make-file-writable "configure.ac")) > (add-after 'unpack 'apply-patches > (for-each > (lambda (file) > (invoke "patch" "--force" "-p1" "-input" "endgame/packages/patches/realmd-guixsd-support.patch")))) > )))) > > ; gnuzilla.scm > ; jami.scm > (native-inputs `(("pkg-config" ,pkg-config) > ("autoconf" ,autoconf) > ("intltool" ,intltool) > ("automake" ,automake))) > (inputs `(("glib" ,glib) > ("polkit" ,polkit))) > (synopsis "DBus service for configuring kerberos and other online identities") > (description "Dbus system service that manages discovery and enrollment > in realms/domains like Active Directory or IPA.") > (home-page "https://www.freedesktop.org/software/realmd/") > (license license:lgpl2.1))) Is the issue maybe from deleting "configure.ac" in the snippet, then trying to modify its permissions in 'make-git-checkout-writable'? -- Sarah