GNU bug report logs - #76598
No rule to make target 'etc/guix-gc.timer', needed by 'all-am'.

Previous Next

Package: guix;

Reported by: Massimo Zaniboni <mzan <at> dokmelody.org>

Date: Wed, 26 Feb 2025 21:06:02 UTC

Severity: normal

To reply to this bug, email your comments to 76598 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#76598; Package guix. (Wed, 26 Feb 2025 21:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Massimo Zaniboni <mzan <at> dokmelody.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 26 Feb 2025 21:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Massimo Zaniboni <mzan <at> dokmelody.org>
To: bug-guix <at> gnu.org
Subject: No rule to make target 'etc/guix-gc.timer', needed by 'all-am'.
Date: Wed, 26 Feb 2025 22:04:45 +0100
Hi,

if I reubild the guix repository after a "make clean", I obtain this 
error message

```
 GEN      etc/openrc/guix-daemon
  GEN      etc/gnu-store.mount
  GEN      etc/guix-daemon.service
  GEN      etc/guix-publish.service
  GEN      etc/guix-gc.service
make[2]: *** No rule to make target 'etc/guix-gc.timer', needed by 
'all-am'.  Stop.
make[2]: Leaving directory 
'/mnt/bcachefs/home/mzan/lavoro/admin/custom-guix-repo'
make[1]: *** [Makefile:6605: all-recursive] Error 1
make[1]: Leaving directory 
'/mnt/bcachefs/home/mzan/lavoro/admin/custom-guix-repo'
make: *** [Makefile:4623: all] Error 2
```

It seems this bug of 3 years ago https://issues.guix.gnu.org/50938 and 
the related patch 
https://lists.nongnu.org/archive/html/guix-patches/2021-09/msg01676.html

introduced again, by this recent patch

```
commit 3355de608cb2267435c2592fc7dc76a1dcc5c02d
Author: Efraim Flashner <efraim <at> flashner.co.il>
Date:   Wed Feb 26 09:53:39 2025 +0200

    nix: Install guix-gc systemd timer.

    * nix/local.mk (nodist_systemdservice_DATA): Add etc/guix-gc.timer.

    Change-Id: I6f71d68f77ff07976f9ec16c37dba99ebedd9b9d

diff --git a/nix/local.mk b/nix/local.mk
index 0d23a48a..262b6714 100644
--- a/nix/local.mk
+++ b/nix/local.mk
@@ -158,7 +158,8 @@ nodist_systemdservice_DATA =                        \
   etc/gnu-store.mount                          \
   etc/guix-daemon.service                      \
   etc/guix-publish.service                     \
-  etc/guix-gc.service
+  etc/guix-gc.service                          \
+  etc/guix-gc.timer

 etc/%.mount: etc/%.mount.in    \
                         $(top_builddir)/config.status
```




This bug report was last modified 37 days ago.

Previous Next


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