From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 14 11:49:53 2019 Received: (at submit) by debbugs.gnu.org; 14 Jun 2019 15:49:53 +0000 Received: from localhost ([127.0.0.1]:37665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hboSf-0001hX-AR for submit@debbugs.gnu.org; Fri, 14 Jun 2019 11:49:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:46941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hboSd-0001hR-OE for submit@debbugs.gnu.org; Fri, 14 Jun 2019 11:49:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59822) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hboSb-0002Fg-Cp for bug-guix@gnu.org; Fri, 14 Jun 2019 11:49:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hboSZ-0007Ls-FW for bug-guix@gnu.org; Fri, 14 Jun 2019 11:49:49 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:36128) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hboSZ-00074j-AJ for bug-guix@gnu.org; Fri, 14 Jun 2019 11:49:47 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hboS4-0005Xb-Lr for bug-guix@gnu.org; Fri, 14 Jun 2019 11:49:16 -0400 Date: Fri, 14 Jun 2019 11:49:16 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net To: bug-guix@gnu.org Subject: Circular dependency in gnu/services: mcron -> base -> admin -> mcron Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="925712948-1517492859-1560526690=:7537" Content-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 104.248.1.95 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --925712948-1517492859-1560526690=:7537 Content-Type: text/plain; FORMAT=flowed; CHARSET=ISO-8859-7 Content-Transfer-Encoding: 8BIT Content-ID: Hi Guix, As discussed on IRC with Ludo¢ and Ricardo, 4252dace19945f56192477e8cb07973c20a526ba introduced a circular dependency among gnu/services modules, by adding a dependency between from base -> admin, resulting in the full dependency chain: mcron -> base -> admin -> mcron I ran into this when building a channel. The error reported by guix pull was: ``` (repl-version 0 0) (exception misc-error (value #f) (value "Unbound variable: ~s") (value (mcron-service-type)) (value #f)) ``` Ludo¢ determined the full error was: ``` gnu/services/admin.scm:161:21: Unbound variable: mcron-service-type ``` by running the repl directly: ``` echo '(primitive-load "/gnu/store/vf892np8mnh2zx9dppcv9k25xk648n2d-inferior-script.scm")' \ | "/gnu/store/j7vxgnaqwimrzsnd8zhq9x1jdp7afl0s-guix-ca45da9fc/bin/guix" "repl" ``` Options for solving this problem include moving the guix-publish service into another module. However, this would break the API of (gnu service base), so we should be careful when doing that. It doesn't look like guix-publish is used elsewhere in the Guix code proper currently. For now, we might want to revert 4252dace19945f56192477e8cb07973c20a526ba. Best, Jack --925712948-1517492859-1560526690=:7537-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 15 12:42:29 2019 Received: (at 36207-done) by debbugs.gnu.org; 15 Jun 2019 16:42:29 +0000 Received: from localhost ([127.0.0.1]:39131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcBl7-0004rw-7S for submit@debbugs.gnu.org; Sat, 15 Jun 2019 12:42:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcBl5-0004rj-2T for 36207-done@debbugs.gnu.org; Sat, 15 Jun 2019 12:42:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hcBkz-0005Hi-OR; Sat, 15 Jun 2019 12:42:21 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=50462 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hcBkv-0000Jb-2R; Sat, 15 Jun 2019 12:42:19 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Jack Hill Subject: Re: bug#36207: Circular dependency in gnu/services: mcron -> base -> admin -> mcron References: Date: Sat, 15 Jun 2019 18:42:15 +0200 In-Reply-To: (Jack Hill's message of "Fri, 14 Jun 2019 11:49:16 -0400 (EDT)") Message-ID: <87d0jeajh4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36207-done Cc: 36207-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Jack, Jack Hill skribis: > As discussed on IRC with Ludo=E2=80=99 and Ricardo, > 4252dace19945f56192477e8cb07973c20a526ba introduced a circular > dependency among gnu/services modules, by adding a dependency between > from base ->=20 > admin, resulting in the full dependency chain: > > mcron -> base -> admin -> mcron > > I ran into this when building a channel. The error reported by guix > pull was: > > ``` > (repl-version 0 0) > (exception misc-error (value #f) (value "Unbound variable: ~s") (value (m= cron-service-type)) (value #f)) > ``` This is fixed (surprisingly easily!) by commit f3d797005374e5333c7596fe86b4a524ab1b9b11. Let me know if you notice anything wrong! Thanks for the bug report, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 15 16:21:26 2019 Received: (at 36207-done) by debbugs.gnu.org; 15 Jun 2019 20:21:27 +0000 Received: from localhost ([127.0.0.1]:39250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcFB0-0005CZ-KL for submit@debbugs.gnu.org; Sat, 15 Jun 2019 16:21:26 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:48578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcFAy-0005C9-6r for 36207-done@debbugs.gnu.org; Sat, 15 Jun 2019 16:21:25 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hcFAq-00011z-0L; Sat, 15 Jun 2019 16:21:16 -0400 Date: Sat, 15 Jun 2019 16:21:15 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net To: =?ISO-8859-15?Q?Ludovic_Court=E8s?= Subject: Re: bug#36207: Circular dependency in gnu/services: mcron -> base -> admin -> mcron In-Reply-To: <87d0jeajh4.fsf@gnu.org> Message-ID: References: <87d0jeajh4.fsf@gnu.org> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="925712948-1513263653-1560630076=:7537" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36207-done Cc: 36207-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --925712948-1513263653-1560630076=:7537 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Sat, 15 Jun 2019, Ludovic Courtès wrote: > This is fixed (surprisingly easily!) by commit > f3d797005374e5333c7596fe86b4a524ab1b9b11. Neat! > Let me know if you notice anything wrong! Everything looks good and works well for me. > Thanks for the bug report, Thanks for the quick fix. Best, Jack --925712948-1513263653-1560630076=:7537-- From unknown Sat Jun 21 12:22:42 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 14 Jul 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator