No rule to make target 'etc/guix-gc.timer', needed by 'all-am'.

  • Open
  • quality assurance status badge
Details
One participant
  • Massimo Zaniboni
Owner
unassigned
Submitted by
Massimo Zaniboni
Severity
normal

Debbugs page

Massimo Zaniboni wrote 2 weeks ago
(address . bug-guix@gnu.org)
8cb46874-9727-414b-8e29-003e8280ddea@dokmelody.org
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/50938and
the related patch

introduced again, by this recent patch

```
commit 3355de608cb2267435c2592fc7dc76a1dcc5c02d
Author: Efraim Flashner <efraim@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

Toggle diff (15 lines)
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
```
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 76598@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 76598
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help