GNU bug report logs - #80566
make[2]: *** No rule to make target '.git/hooks/pre-push', needed by 'all-am'. Stop.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Tomas Volf <~@wolfsden.cz>; dated Sat, 7 Mar 2026 17:38:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 80566 <at> debbugs.gnu.org:


Received: (at 80566) by debbugs.gnu.org; 9 Mar 2026 15:48:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 09 11:48:35 2026
Received: from localhost ([127.0.0.1]:46912 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vzcqQ-0002KK-Vd
	for submit <at> debbugs.gnu.org; Mon, 09 Mar 2026 11:48:35 -0400
Received: from wolfsden.cz ([37.205.8.62]:38306)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1vzcqO-0002K8-2m
 for 80566 <at> debbugs.gnu.org; Mon, 09 Mar 2026 11:48:33 -0400
Received: by wolfsden.cz (Postfix, from userid 104)
 id 1CA833C5A72; Mon,  9 Mar 2026 15:48:30 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1773071310; bh=8KHyLohBDiJFo0sFuZn9bU98kw8xLf6alaHn2RoM96k=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=CvxVu4KgmI4/WaAoMWT7KhPzJxJTDFWPu9b93Be0IIvSVRa/tMdEPaSOXJVqIcZeJ
 z+cwx+C7jC3FzymMEp9YCZ9Edsxo85QAdEfb5tmmge6Q7uHzdpvuh+P7y+hwtKUOeF
 Khcj+f//7ye0+m6Y1dPPFO/9rf9fyMsI73JfhztX0nUQYPV5VbLta/W8HWiFM5IhrI
 Kguj1zMQZTXucOUbXfCOSW/y6x9W6pvvF0Hvq/EwiGyGUUlU7DFcxxypBoTTRXQwzD
 JpLUpjaL0a1REtyckHaHxIvvT5sUn/pdv9XIiFsuPw28Ca7yZ9OWtL9sPJzEXmSy6e
 hFPTDQRUL/bd2R/XHUxqMOeh2UzSnCHdmnQGHxuYgQqeLKu79NnZB8syPGIj7C/PSv
 j6xcchP/mdVxX+Mh1yG8WJ4TOMCTipukAJl7dFAm4bARLEApg79wdCrLC/OXlSod3r
 KWl2WnAq+GU2rSaUqgisY4pR0JvpKlE9nLPBP8vvEXPfXIS0pV0dcD0VZ+35wxfhZR
 jImbPii1afv2EZRsSQoaMb0/YMToD5evrvZ4pcmkpIaBSNWIdnEYhXX331Y5/8soIX
 W8KsQUihjYcl3HNJGtwYKQcFeddB61VWxyvp/kSwwyCm8/jXHXNeV6WTqHJAUoasaX
 0LwnbFIcHccP7/LDIAWBEMTU=
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden
X-Spam-Level: 
X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED
 autolearn=ham autolearn_force=no version=3.4.6
Received: from localhost (unknown [128.0.188.242])
 by wolfsden.cz (Postfix) with ESMTPSA id 396033C55BB;
 Mon,  9 Mar 2026 15:48:29 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1773071309; bh=8KHyLohBDiJFo0sFuZn9bU98kw8xLf6alaHn2RoM96k=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=V4ek/TALyPXYP7QhNeBf9vU0Vdy5PQb9is3VtPIwOKOb1maV4AqmJiMtVEHb5B/dY
 czFAmAO0zTAma2MIOUx7ynIRIZQo8oHn5uYIFJ2fIykHF34gAsMBEeyA3x1QMmtvA7
 48PVBBnz5Q5g5fzIX2C7yzdJGxrAPno97eti6mYAzOyFtIEGsnSNYZAVSpAPe/wEyu
 5M4oiUSqvoUYEmWQ1DwM7UaqkST3dc0iA7ewiYv8TmOALq9artZ1vI/9F4jKcvZ0rs
 qQElbz6/tXMQawpGwWpK7eBktP/C8Ld8ZzYDj+PI8MyR7lDYX5VId2SkPT/IEfRbNt
 c+XUhJwrwYS19GdcwQ9DHeL0e2amoC3JTZHFcS/VkEZFLnR+qZa3EbR3gXeh693Ja2
 qq4TjUgnZrr4J4gqYB3R4aTTYV18BkvqPh9tFOw+7FuwJ2BQxc+AFV4NAvUC9PIPjh
 vijtfisHgbL7Z4nKGA/KiYCksYjEWMwhOooD3Pu6/WayvMD20r1zrTnMP87DTz0Px5
 06asQlA1f3zf+Pf0rvVSN6Dn2VOa5dErV8yOjZ4e4N+QzsvOSsXgKfFkCteVC98n2w
 N7RRT4fwK6XkcTsA6RkE5jdVZ/1zveChpkrhiHeykX2SNWSQoZ2CrLs4/JVoCFvF8B
 ifKwDN6V5QXaYY3LYEFcftVI=
From: Tomas Volf <~@wolfsden.cz>
To: Simon Tournier <zimon.toutoune@HIDDEN>
Subject: Re: bug#80566: make[2]: *** No rule to make target
 '.git/hooks/pre-push', needed by 'all-am'.  Stop.
In-Reply-To: <87tsuptf7u.fsf@HIDDEN> (Simon Tournier's message of "Mon, 09
 Mar 2026 12:27:49 +0100")
References: <877brna6dh.fsf@HIDDEN> <87tsuptf7u.fsf@HIDDEN>
Date: Mon, 09 Mar 2026 16:48:28 +0100
Message-ID: <87342980mr.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.7 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Simon Tournier <zimon.toutoune@HIDDEN> writes: > On Sat, 
 07 Mar 2026 at 18:36, Tomas Volf <~@wolfsden.cz> wrote: > >> if there is
 no .git/hooks directory, compilation of Guix fails: >> >> --8<cut herestart
 [...] Content analysis details:   (1.7 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.9 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [37.205.8.62 listed in sa-accredit.habeas.com]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.8 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [37.205.8.62 listed in bl.score.senderscore.com]
X-Debbugs-Envelope-To: 80566
Cc: 80566 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.7 (/)

Simon Tournier <zimon.toutoune@HIDDEN> writes:

> On Sat, 07 Mar 2026 at 18:36, Tomas Volf <~@wolfsden.cz> wrote:
>
>> if there is no .git/hooks directory, compilation of Guix fails:
>>
>> --8<---------------cut here---------------start------------->8---
>> $ git clone https://codeberg.org/guix/guix.git guix-proper
>> $ cd guix-proper
>> $ rm -r .git/hooks
>
> To me knowledge, the directory .git/hooks is created by =E2=80=99git init=
=E2=80=99 or
> =E2=80=99git clone=E2=80=99.

Yes, they are.  I deleted the directory as an attempt to remedy #80564.
As far as I can tell nothing in git actually requires this directory to
exist, so simply deleting it completely to fix the damage caused by the
Guix's build process seemed reasonable.

>> $ guix shell -CD guix -- ./bootstrap
>> $ guix shell -CD guix -- ./configure
>> $ guix shell -CD guix -- make
>> [..]
>> make[2]: *** No rule to make target '.git/hooks/pre-push', needed by 'al=
l-am'.  Stop.
>> --8<---------------cut here---------------end--------------->8---
>>
>> If the hooks directory is required, I think the build process should
>> ensure it actually exists.
>
> This is weird, because:
>
> GIT_HOOKS_DIR :=3D $(shell git rev-parse --git-path hooks 2>/dev/null)
> $(GIT_HOOKS_DIR):
> 	if [ -n "$(GIT_HOOKS_DIR)" ]; then mkdir -p "$@"; fi
>
> Hum?

I think it is because of the trailing / here:

--8<---------------cut here---------------start------------->8---
$(GIT_HOOKS_DIR)/%: etc/git/% | $(GIT_HOOKS_DIR)/
	if [ -n "$(GIT_HOOKS_DIR)" ]; then cp "$<" "$@"; fi
--8<---------------cut here---------------end--------------->8---

$(GIT_HOOKS_DIR)/ and $(GIT_HOOKS_DIR) are probably not the same target?
Removing the / from the order-only rule seems to fix the build, though I
have no idea what else it will break, I presume the original author had
some reason to put it there.

Tomas

--=20
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.




Information forwarded to bug-guix@HIDDEN:
bug#80566; Package guix. Full text available.

Message received at 80566 <at> debbugs.gnu.org:


Received: (at 80566) by debbugs.gnu.org; 9 Mar 2026 11:52:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 09 07:52:50 2026
Received: from localhost ([127.0.0.1]:44644 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vzZAI-0007py-Hm
	for submit <at> debbugs.gnu.org; Mon, 09 Mar 2026 07:52:50 -0400
Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:48531)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <zimon.toutoune@HIDDEN>)
 id 1vzZAD-0007pC-P6
 for 80566 <at> debbugs.gnu.org; Mon, 09 Mar 2026 07:52:46 -0400
Received: by mail-wm1-x32c.google.com with SMTP id
 5b1f17b1804b1-4853aec185aso8160025e9.1
 for <80566 <at> debbugs.gnu.org>; Mon, 09 Mar 2026 04:52:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1773057164; x=1773661964; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=aonM6W80zBtoIhUdUhiVcoDFFNjz9psRg1kYSu8KhBE=;
 b=JMJoWe2Z7fMtqcDbCUNG1wcQuVp2kmZneQ4IMRotwL0Y95YNXxNryNBUK+2dehqYoW
 FW+96SdiKnrYA5IChMfgk/JnZMrcbk9zcdaskzMZxANCwaEaR5CAqZ9CKuY7iCtzTF0F
 PSTF2l61XUoTvsfmnsX7DjQAqQNXUPe9UBpeotvTijR2qtqFYgT6hgJpOLc0hQvKChNk
 dZgzWUqosPEXl8y7G7J2kcs/Hgxy1JWqcpMO6c6qrPTYp0ZLe8YaPDyVwEJbQmruotye
 solsZ/P/qJ6oNH1YzHeYiWI8ZTZyd8ZCgQEnglm0SK2fo5wlOS+FQ5YqfauSUqp26gcC
 S4kg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1773057164; x=1773661964;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:to:from:x-gm-gg:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=aonM6W80zBtoIhUdUhiVcoDFFNjz9psRg1kYSu8KhBE=;
 b=FjGXMcf7lty6OJMMMTl1CdLN3I4bILaQ8niDSUu8swMbX1hj9/W3AE3KKSjFN/5ox4
 jAZ/rnRVBPC1471eHwjvf4QJptF4uQgPZYdMOVNBADL3OGRe+VaIa/r0Zv10sX9Py5Mh
 mfmAVACceXRQ1lPz2kd15DX+gglmfmmVghRAMjPN8F/ZDJmsE0WQFNiTKGCcFXxJMIGT
 XM5JIZXVHfPU2FwEA57F55WtEvVBjNws+mpJ5vbl425YGUS3GsIj1Vce7nXIT//976/4
 +FZIj0R7DXMnQ4aJpPg6Nn0AUS37LV3j3kVtSUGhLI8pe0j6VAizlTE+41Ua9NCfh2ma
 edIQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCWR1j6+UIlFPwU4NdcHxc3sXEijCk8PXTB+ehnSeXsfx+iikNPdUt3iqS33XzppyuXbVpk0nA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YwulH+lql0AkPXMpLdIlhSLHsLpwpLP6bE0hqf5aqouIMk7Ya5b
 z6CgJZrRTKNJ2l3Up5yW+DktzummQV4XXFKGp3An/VUNsb0FwtQFVRGL8lGAuQ==
X-Gm-Gg: ATEYQzx8nr5j712vzIbDFWvocxgTwg/3mWmcpvDyxx3LSZw6gDgdBJHUNQKzXFvufkU
 ef3hGPJrTg9/+wYYyno+RIzORez2Bq1prud4FbPqnYw8pXVjRgvxZV0oNMumuRKPEE2cF7PhgnF
 k/V+sHMadrLDBWixNyyt5bL+QX93pK8ypUtPJTAU7IVcTxnNyBn1lwjWlcB8bJRLkjDcp33NWBP
 jemn9qtCYYUePKwAaCDa6zBh1SVZ33HOEfUfVtxjEDLiS+TqCGePSPQH7UHYqqNL3BDZVcnQn0A
 ZlDBjm/lCUSdZjjn1MRe/co+KiEf5CjOc+I+sd80NEP+LLr7Eakw8aVZC5F4ZfnSswYB1/Q1SxA
 QohjVHjscl+UZN3JkjzrcDt8FoTa126d+lb7fPoXbZKf48F3pm+2ZJl/JQLRA5D68liw9Z1tv1z
 Xt0HBTWAB6HThJn7PIOGlEPukLZv/Uz1lUzryM8pWzdx5OdB2FDGyf4qAM4hE=
X-Received: by 2002:a05:600c:1911:b0:485:3949:e5c6 with SMTP id
 5b1f17b1804b1-4853949e773mr71196425e9.3.1773057164042; 
 Mon, 09 Mar 2026 04:52:44 -0700 (PDT)
Received: from lili (nat-dsi-209.net.univ-paris-diderot.fr. [81.194.30.209])
 by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-439dad8ec97sm28582994f8f.5.2026.03.09.04.52.43
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 09 Mar 2026 04:52:43 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: Tomas Volf <~@wolfsden.cz>, 80566 <at> debbugs.gnu.org
Subject: Re: bug#80566: make[2]: *** No rule to make target
 '.git/hooks/pre-push', needed by 'all-am'.  Stop.
In-Reply-To: <877brna6dh.fsf@HIDDEN>
References: <877brna6dh.fsf@HIDDEN>
Date: Mon, 09 Mar 2026 12:27:49 +0100
Message-ID: <87tsuptf7u.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 4.6 (++++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Hi, On Sat, 07 Mar 2026 at 18:36,
 Tomas Volf wrote: > if there is no .git/hooks directory,
 compilation of Guix fails: > > --8<cut herestart>8---
 > $ git clone https://codeberg.org/guix/guix.git guix-proper > $ [...] 
 Content analysis details:   (4.6 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
 [81.194.30.209 listed in zen.spamhaus.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (zimon.toutoune[at]gmail.com)
 1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
 headers
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2a00:1450:4864:20:0:0:0:32c listed in]
 [list.dnswl.org]
X-Debbugs-Envelope-To: 80566
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 3.6 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Hi, On Sat, 07 Mar 2026 at 18:36, Tomas Volf wrote: > if there
    is no .git/hooks directory, compilation of Guix fails: > > --8<cut herestart>8---
    > $ git clone https://codeberg.org/guix/guix.git guix-proper > $ [...] 
 
 Content analysis details:   (3.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [2a00:1450:4864:20:0:0:0:32c listed in]
                             [list.dnswl.org]
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [81.194.30.209 listed in zen.spamhaus.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (zimon.toutoune[at]gmail.com)
  1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
                             headers
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

Hi,

On Sat, 07 Mar 2026 at 18:36, Tomas Volf <~@wolfsden.cz> wrote:

> if there is no .git/hooks directory, compilation of Guix fails:
>
> --8<---------------cut here---------------start------------->8---
> $ git clone https://codeberg.org/guix/guix.git guix-proper
> $ cd guix-proper
> $ rm -r .git/hooks

To me knowledge, the directory .git/hooks is created by =E2=80=99git init=
=E2=80=99 or
=E2=80=99git clone=E2=80=99.

> $ guix shell -CD guix -- ./bootstrap
> $ guix shell -CD guix -- ./configure
> $ guix shell -CD guix -- make
> [..]
> make[2]: *** No rule to make target '.git/hooks/pre-push', needed by 'all=
-am'.  Stop.
> --8<---------------cut here---------------end--------------->8---
>
> If the hooks directory is required, I think the build process should
> ensure it actually exists.

This is weird, because:

--8<---------------cut here---------------start------------->8---
GIT_HOOKS_DIR :=3D $(shell git rev-parse --git-path hooks 2>/dev/null)
$(GIT_HOOKS_DIR):
	if [ -n "$(GIT_HOOKS_DIR)" ]; then mkdir -p "$@"; fi
--8<---------------cut here---------------end--------------->8---

Hum?

Cheers,
simon




Information forwarded to bug-guix@HIDDEN:
bug#80566; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Mar 2026 17:37:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 07 12:37:18 2026
Received: from localhost ([127.0.0.1]:48642 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vyvaY-0003cR-BX
	for submit <at> debbugs.gnu.org; Sat, 07 Mar 2026 12:37:18 -0500
Received: from lists.gnu.org ([2001:470:142::17]:43038)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1vyvaU-0003b6-MJ
 for submit <at> debbugs.gnu.org; Sat, 07 Mar 2026 12:37:16 -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 <~@wolfsden.cz>) id 1vyvaN-00038g-IA
 for bug-guix@HIDDEN; Sat, 07 Mar 2026 12:37:09 -0500
Received: from wolfsden.cz ([37.205.8.62])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1vyvaI-0000ad-DM
 for bug-guix@HIDDEN; Sat, 07 Mar 2026 12:37:06 -0500
Received: by wolfsden.cz (Postfix, from userid 104)
 id 3B0A33C1890; Sat,  7 Mar 2026 17:36:59 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1772905019; bh=AneUAtz48Qgp5+pj6HtB+SpOul3i5OJU8nywgG98Dgw=;
 h=From:To:Subject:Date;
 b=vLzOxl5pduaGMYyO7fMeooDHcVo8IdXUSQg/bH5n9/+O79NKjOsDoXmRqcXHxRd3R
 RdxSepudAD0zhXKQNBk5aikqug/pYF0TD18NFG+Tg1Cm7ccQV6WYdC48oE8xL6x5o1
 zxx54l9VLQ298y9E4+N1h+y0rLWTRrXMchLZC9mJSU5iQLFzH371QKA1ugLc6e64PT
 dKTLHpRxPPqvj6L2bQwnc86PMi00wc1MHnWxF3cfsvR0WoP+sP2Q01a7EPT0i1KDCj
 CT5gXW5o0kVt3kXU3YWPkHzDX7Ij/wnEyuXpCCkjqt6QVrzJc/D2EwTE5GjrXACy1s
 8NfZLvW5ySeSNDJTznoYnFy6jnRY3jxjJ9Gsdm55eVWbUKIOy8TpkqiHFQxdfRhe3I
 M2FeuWpUA4tLK8Z0cdRSYSIqFxkO843H0OaTqdeLqvc87pngoTw5O5/R6q4U+5xWdQ
 Lcz/MigLQnOPdTIkzh8vVz792nOuegvES41pkNs37v1xskGt/s2tVXRg1IizmIBG+J
 ibeodMMHj9QZ86O3Sgq5a2I/oMPQ583/ujwbHhebTPZHDTUKUD22ByrBtga7WfvOjR
 9YCFxt81PIFYKzZJCsuR/AkC+FRNF4rXTBUC5f3Ux2Qo/gvOe8Uo7h/FHWNrDasCG9
 SOfrlzMQCKap4wsXdDbTYDGE=
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden
X-Spam-Level: 
X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED
 autolearn=ham autolearn_force=no version=3.4.6
Received: from localhost (unknown [128.0.188.242])
 by wolfsden.cz (Postfix) with ESMTPSA id 5D5B73C1D5E
 for <bug-guix@HIDDEN>; Sat,  7 Mar 2026 17:36:58 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1772905018; bh=AneUAtz48Qgp5+pj6HtB+SpOul3i5OJU8nywgG98Dgw=;
 h=From:To:Subject:Date;
 b=dfQ32zPQIfVvpjsgdYENL9hN5zUYruoOa+xPB6vq6ci7YA/Uo3G3X51CuGXrMNiCH
 svuqxKcANK+Umb72pWZHVqvDWz5audwJDOAjbLPkCnbDa5pLmVbWNgtDm/xS61Iz6h
 yERUcfLsJVNJAL4XO44CNg528IHTD+JaTdc9v0mRfEsghUjp2/84pAnzcXk1XGQ2yU
 HH0IjKawPj/sbWbWGRrYNhDdXltUImrLndMyOn8njGv3CJxh5Sr393yFfTL+UpJ09v
 EQryg+YqyXcgmEh/jHBJId+ofvenFc0rUXmKEUcwSdGycx4SpOuqCiAgK2+dFo403x
 thIObbLwvH0wiB3sfTmGEajM40uMq3xGgRoGXo/YTKbtJh1fmMdGxAvqwoJB/dLuf0
 EBMwU512AWXRI6NmNds4UiftOW1+ObvygDj9JGzcO+gMYhC1u5iqWSxxMdY2lUqA6f
 tAbhSfP2/sOOxsuzLAe6dLPEjxPxc4T2hN5hDu79STt/8MzlZrUWvMcFpS/oyTRYVG
 c21elMRLjxNLDsorlsoxOnCuCy9yV2Kk+dt/ZZBrx90J/tpFzMr9pWTgrHXuf+4oGD
 8yU81AdYFzh5CnruznyoBvLMSBFSf+0NLIfhE4yoQwZHD99HDaExdSVJRrgZHTazb7
 heo3VHyaTtufVY664w03htIY=
From: Tomas Volf <~@wolfsden.cz>
To: bug-guix@HIDDEN
Subject: make[2]: *** No rule to make target '.git/hooks/pre-push', needed
 by 'all-am'.  Stop.
Date: Sat, 07 Mar 2026 18:36:58 +0100
Message-ID: <877brna6dh.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz;
 helo=wolfsden.cz
X-Spam_score_int: -3
X-Spam_score: -0.4
X-Spam_bar: /
X-Spam_report: (-0.4 / 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_VALIDITY_RPBL_BLOCKED=0.819, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.903,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)


Hello,

if there is no .git/hooks directory, compilation of Guix fails:

--8<---------------cut here---------------start------------->8---
$ git clone https://codeberg.org/guix/guix.git guix-proper
$ cd guix-proper
$ rm -r .git/hooks
$ guix shell -CD guix -- ./bootstrap
$ guix shell -CD guix -- ./configure
$ guix shell -CD guix -- make
[..]
make[2]: *** No rule to make target '.git/hooks/pre-push', needed by 'all-am'.  Stop.
--8<---------------cut here---------------end--------------->8---

If the hooks directory is required, I think the build process should
ensure it actually exists.

Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.




Acknowledgement sent to Tomas Volf <~@wolfsden.cz>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#80566; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 9 Mar 2026 16:00:03 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.