From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UAOEGfQA/WBXqwAAgWs5BA (envelope-from ) for ; Sun, 25 Jul 2021 08:13:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UGkOFfQA/WDwVAAAbx9fmQ (envelope-from ) for ; Sun, 25 Jul 2021 06:13:08 +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 941A223F4 for ; Sun, 25 Jul 2021 08:13:07 +0200 (CEST) Received: from localhost ([::1]:38678 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7XNq-0005Y3-Nk for larch@yhetil.org; Sun, 25 Jul 2021 02:13:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7XNn-0005Xv-9S for guix-patches@gnu.org; Sun, 25 Jul 2021 02:13:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35818) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m7XNn-0004OE-1x for guix-patches@gnu.org; Sun, 25 Jul 2021 02:13:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m7XNm-0007Xs-GX for guix-patches@gnu.org; Sun, 25 Jul 2021 02:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49729] [PATCH core-updates] build-system/gnu: Make gzip files writable before resetting timestamps. Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Jul 2021 06:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49729@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162719353928948 (code B ref -1); Sun, 25 Jul 2021 06:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Jul 2021 06:12:19 +0000 Received: from localhost ([127.0.0.1]:47364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7XN4-0007Wq-Qg for submit@debbugs.gnu.org; Sun, 25 Jul 2021 02:12:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:54410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7XN1-0007Wf-Em for submit@debbugs.gnu.org; Sun, 25 Jul 2021 02:12:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7XN0-0005Ws-UP for guix-patches@gnu.org; Sun, 25 Jul 2021 02:12:14 -0400 Received: from out1.migadu.com ([2001:41d0:2:863f::]:22534) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7XMw-0003bp-Im for guix-patches@gnu.org; Sun, 25 Jul 2021 02:12:14 -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=1627193526; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=BUxwaVAnUiyHnTCDo9HkPm7jYEyyZMd8FhPPcEFzJNM=; b=dmCboz3OOMjhuhw0cNVVgNchG/YKR6mWx4cOvZXTJGK1j147rzvooJjMQpew+3tfpolaXW YefJMuut12uRT0L/doazD4YqFwn9CwQAlEtwAqrFrHwzWfSL0SYnZERr9plYh/uiMJa4q5 3CxPwiz7osy86ZNjeNUgIP/Hj/d6gD8= From: Sarah Morgensen Date: Sat, 24 Jul 2021 23:12:04 -0700 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Auth-User: iskarian@mgsn.dev Received-SPF: pass client-ip=2001:41d0:2:863f::; envelope-from=iskarian@mgsn.dev; helo=out1.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627193588; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=BUxwaVAnUiyHnTCDo9HkPm7jYEyyZMd8FhPPcEFzJNM=; b=HjTy4GgLshbgDVKrUXjBhtKoVDu1YWvA7rqO0YkKPlXm76Q+GnY8iR2EqcM647RubCrLbF GPIHn7obrDW/lOIovkh9B6H5kZn3byfCFqsMpS8UKr6/fNYmy6m8NLlVM5DRfCrfeyaAgL s4RAlqoXCljEEb4WxWvu64mQw3RN+9WJorg1Nu506OC+CV8RcPTl5AJWK7aqYYw0VNqREt zfIm/sot2pMybb7bJ58S2dPmVw3jOFS5n6ldaipbkpiaRtQII2wJE9dmKnRhohDFx0p1WI bc14fcHNPb2QYwfKg6cr2r1if9lxrWo6fOnvf1/Pu8WLmi/n97gB4wtXtyaf8Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627193588; a=rsa-sha256; cv=none; b=Sz/gGaRzXBcHWHUPtf66AFMfcuTE6ziO8oFyUWWbYxmw+XYhprn6+hPEqa20CszH27wogj TRGwrQic9ZdovLPaY6ELoVVsmtNS6S/7RPWGLDkZ2I65WbGu/uOXhWw9i+IUwuxA95OZMI MP4AG4XLvZoRkiu6d8CLDoME8UI1+AzNrw276PqVXwt3E/dydFOEhcFmaVHbNM7VK+IHDc tEgvvjLkATfZMS5ZBr4YGu5CzNwT7SL4Xt+zpahKP3RFkiw7M1/aNLcSN1kjs1iMnvg2/G KrhsUWeo1kAyX6guML8ZjWbBVsHXwbHHVaGPUhYen4n/3pjgfcA8KK7gMdYQwQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=dmCboz3O; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=dmCboz3O; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 941A223F4 X-Spam-Score: 3.68 X-Migadu-Scanner: scn1.migadu.com X-TUID: GJw7Iyx1tc20 guix/build/gnu-build-system.scm (reset-gzip-timestamps): Ensure gzip files are writable before resetting their timestamps. --- Hello Guix, There have been a number of instances of packages having to add their own phase before 'reset-gzip-timestamps to make the gzip files writable--perhaps the gnu build system can take care of this itself? WDYT? -- Sarah guix/build/gnu-build-system.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm index d0f7413268..d84411c090 100644 --- a/guix/build/gnu-build-system.scm +++ b/guix/build/gnu-build-system.scm @@ -598,6 +598,8 @@ and 'man/'. This phase moves directories to the right place if needed." (string-suffix? ".tgz" file)) (gzip-file? file))) #:stat lstat))) + ;; Ensure the files are writable. + (for-each make-file-writable files) (for-each reset-gzip-timestamp files))) (match outputs base-commit: 7bef3be1d318beebaf48ac6daa3140205ba18e98 -- 2.31.1