From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kLuAC6qrM2fPTwEAe85BDQ:P1 (envelope-from ) for ; Tue, 12 Nov 2024 19:25:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id kLuAC6qrM2fPTwEAe85BDQ (envelope-from ) for ; Tue, 12 Nov 2024 20:25:30 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=mfqEdYbn; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=QeSS4oXI; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731439530; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=pA6Wya/ebEpWQGsCyMCG1EoBaEBEFDsiw9ZgVuFEUzI=; b=LClU4wRhvOoeZbdMjKMhJ+3NF09p8DX7eMK2pCf++QYNOmiFVhFxjuZuNrJ2cTO+pOFkPj 4QX27ebcU0E/PB9H+TxmSTxq97GCgYYGaBvAku2ZW3ld61LwsoIkOw4BJyrBoFi/zkSSWm XesZxSK8YePauKO2wbFsR/qPABFriR6Ce0xDOBkoPklM3hCGR35oZkGTcGYDELpEJPJWB2 CjHVKUPtlhEgrmokC2DJcWX6ZoiGvX6rHK+gPBOHJuxYS6yvG347vjX8SD7SwraIS8P5bL 5vZvieKDPI5SYbu+N4y4AsVujsXRl5EiVd0nsyxvegNmMl5i+b7imSjM14Ivng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731439530; a=rsa-sha256; cv=none; b=Be9XUGE9cquyKxxA+SDNwU+vscnpdz5hdarbcaWZZ/7ozu7NDYGarp5SUcY+LGDrRzp6EL kZuOQQwDtjR6MHqjmygSJHcpUpqhBwr2vnKGgw45fbzGCFZiUNLoFc6ZSBNcAeT/MWIpbd MmkS+EZhkgRTdzc3h8+NDziVMAgiNNeJ0xxIq5soEXhCgfTe1ZSVozj4syvIEsBoV/4oZV RpiE1JTLTNbUwuDNWCqhDrpVaw+yOJvB/CKqSpLaXj9uNkpQYfTb3HK/czUQfHLFCnN82r qXBcotZdgGEBECz7t9TsoYZWQVpq53e4w5ESeBrooBVQwnb6Jd2bVOKwFxfa9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=mfqEdYbn; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=QeSS4oXI; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) 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 6BE1D5ECA8 for ; Tue, 12 Nov 2024 20:25:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAwVn-0002Jf-MJ; Tue, 12 Nov 2024 14:25:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAwVb-0002DT-Ev for bug-guix@gnu.org; Tue, 12 Nov 2024 14:25:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tAwVb-0001An-2V for bug-guix@gnu.org; Tue, 12 Nov 2024 14:25:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=pA6Wya/ebEpWQGsCyMCG1EoBaEBEFDsiw9ZgVuFEUzI=; b=mfqEdYbnDYA5CvpjHv5Sjec7Daam8Y55O3/Zjv16sH4GqSMyqBPmcVCFd/EsRbN6wit31mItZMXyVzfw6dakaf8CI8ljaAksJohH82glDTs+/T9tIGWXPXDD99wTEDYeo8+98RvegmknEqD0vunYny7RNglNvG8bT/I816OsLAIpBvTwRHvoy2+mrA96ghCSrFVOL3OTpMLGipU/mf+ckadsLiV48Xe8SItn9p97L36c6+uMVoEWprsDU974yRg05VGjsKc6dc26QYeER6HSUoM5TcwpbGrh0S7r04Y3RfQNqwXCtxJaJs29a38mc8vmm3+FrKry+lUmSVr3GMOrBA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tAwVa-0008IN-LN for bug-guix@gnu.org; Tue, 12 Nov 2024 14:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#67240: dev: =?UTF-8?Q?=E2=80=9Cmake=E2=80=9D?= of Guix fails, non-existent .git/hooks directory Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 12 Nov 2024 19:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67240 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 67240-done@debbugs.gnu.org Received: via spool by 67240-done@debbugs.gnu.org id=D67240.173143944431806 (code D ref 67240); Tue, 12 Nov 2024 19:25:02 +0000 Received: (at 67240-done) by debbugs.gnu.org; 12 Nov 2024 19:24:04 +0000 Received: from localhost ([127.0.0.1]:39553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAwUe-0008Gv-4D for submit@debbugs.gnu.org; Tue, 12 Nov 2024 14:24:04 -0500 Received: from mail-wr1-f51.google.com ([209.85.221.51]:45316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAwUb-0008GU-Nk for 67240-done@debbugs.gnu.org; Tue, 12 Nov 2024 14:24:02 -0500 Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-37d4c1b1455so4019909f8f.3 for <67240-done@debbugs.gnu.org>; Tue, 12 Nov 2024 11:24:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731439381; x=1732044181; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=pA6Wya/ebEpWQGsCyMCG1EoBaEBEFDsiw9ZgVuFEUzI=; b=QeSS4oXI/noia15ETQeFOKzxlVOg/lrC460NCKoYmq0rQPfO0ueIptr7RvQHM7hEKK sJh+DFpofCJE6dfPKcm1Yk9vBJC69z9ONCBeJbakOY8/92cm4cza6jrRZr3Xex76rovk eFnJFijCq8mCTlSk5vCNGA1fF5mtVMcsyB6wVCrZVDWUk80yqNxYxr44Il7ASEQIlPbQ 42yxEVO6Zb7huPohkHOj/6N7z8rOOchDmYp7JXA6qaw05HwNvONhvHT+B0Zq6M63bRyw YcjUoKErl8rzLPbwrDc669kTRcvDQEkm5WKRiN4JMEtSSZnm70SMtKCu/lO4Iq9ehcaX hIZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731439381; x=1732044181; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pA6Wya/ebEpWQGsCyMCG1EoBaEBEFDsiw9ZgVuFEUzI=; b=lbEoQOew8wl8DD1xVXBEO9qB3rWW0VYEaV4f9z3MikJ/JEaVOZeuZDqh81ZRiucOZL 2uLaynTvoSYWuFgJTb0e7GJBmSSlHhtKcAQBhhOJwAwfkGOyW8pURQKddOS47EaN3gr8 Nm+VviqL3NHfdeU4Yb+CmG6lU3kv58qVE+OCzlfYLtc0l4GJ+5QGahDc61BM1wkNHTf5 FAIjNHvSc7jvYA1hbsKOv7Yqgn8zvzhC04pPwaa7qNaeL+LT7pOrYhNvpfWzkD+Va/qH f02sgvI/4qrBQKiFrMQIiTV6HD2rAdT7x6XaiQZOz7vPGglSPVpdeNkDWJfwX2rMt7MP URYg== X-Gm-Message-State: AOJu0YyhWpwInzNk5vMKUIL2pzXTzv3oejG6Gc6EMmJM/tLiQz7dkcRo sf4+dz6ifT5W86qCUDdCfOq6scLmyOcZkrnRrH5hZDjGXxT+SFM9sF5nrw== X-Google-Smtp-Source: AGHT+IFKsi1pthXAw30+STOWnmCI71CdehG2fSBHs6wtDtXLLUmqSxaX29P50WOwtH8+ZLi1iPJUeQ== X-Received: by 2002:a5d:5f95:0:b0:37c:cc4b:d1ea with SMTP id ffacd0b85a97d-3820834a0d2mr3026525f8f.53.1731439380599; Tue, 12 Nov 2024 11:23:00 -0800 (PST) Received: from lili (roam-nat-fw-prg-194-254-61-45.net.univ-paris-diderot.fr. [194.254.61.45]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432b0562642sm222980615e9.21.2024.11.12.11.22.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 11:23:00 -0800 (PST) From: Simon Tournier In-Reply-To: <87cyj16idu.fsf@gmail.com> References: <87wmug9ybw.fsf@gmail.com> <87cyj16idu.fsf@gmail.com> Date: Tue, 12 Nov 2024 20:20:18 +0100 Message-ID: <87v7wsb6od.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 0.38 X-Spam-Score: 0.38 X-Migadu-Queue-Id: 6BE1D5ECA8 X-Migadu-Scanner: mx13.migadu.com X-TUID: RDpsDizOaJQr Hi, On Tue, 12 Nov 2024 at 16:06, Maxim Cournoyer w= rote: >> cp: cannot create regular file '.git/hooks/pre-push': No such file or di= rectory >> make[2]: *** [Makefile:7454: .git/hooks/pre-push] Error 1 >> make[2]: Leaving directory '/home/simon/src/guix/guix' >> make[1]: *** [Makefile:6137: all-recursive] Error 1 >> make[1]: Leaving directory '/home/simon/src/guix/guix' >> make: *** [Makefile:4253: all] Error 2 [...] >> + mkdir -p .git/hooks; \ >> cp etc/git/pre-push .git/hooks/pre-push; \ > > If you could come up with a reproducer, I don't mind applying such a > change, but so far it seems unnecessary? Bah I barely clone. ;-) Well, I am not able to reproduce too. Maybe an issue with a clone that had been completed at once. Anyway. In all, I think it=E2=80=99s always a good idea to check if the folder destination exists before copying. It costs almost nothing and it avoids spurious annoyances, as initially reported. Cheers, simon