From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ALXuOJTo4mBrQAAAgWs5BA (envelope-from ) for ; Mon, 05 Jul 2021 13:10:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 51GINJTo4mBLVQAAbx9fmQ (envelope-from ) for ; Mon, 05 Jul 2021 11:10:12 +0000 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 15A7DD5A6 for ; Mon, 5 Jul 2021 13:10:12 +0200 (CEST) Received: from localhost ([::1]:39772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0MUM-0000OZ-4l for larch@yhetil.org; Mon, 05 Jul 2021 07:10:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0MUE-0000NS-LU for bug-guix@gnu.org; Mon, 05 Jul 2021 07:10:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60909) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0MUE-0001FK-EA for bug-guix@gnu.org; Mon, 05 Jul 2021 07:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0MUE-0008TF-7u for bug-guix@gnu.org; Mon, 05 Jul 2021 07:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#25952: offloading: empty machines file leads to error Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 05 Jul 2021 11:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25952 X-GNU-PR-Package: guix X-GNU-PR-Keywords: moreinfo To: Tobias Geerinckx-Rice Received: via spool by 25952-submit@debbugs.gnu.org id=B25952.162548337832517 (code B ref 25952); Mon, 05 Jul 2021 11:10:02 +0000 Received: (at 25952) by debbugs.gnu.org; 5 Jul 2021 11:09:38 +0000 Received: from localhost ([127.0.0.1]:44220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0MTq-0008SO-8V for submit@debbugs.gnu.org; Mon, 05 Jul 2021 07:09:38 -0400 Received: from mail-wr1-f41.google.com ([209.85.221.41]:45728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0MTn-0008Rd-Aq for 25952@debbugs.gnu.org; Mon, 05 Jul 2021 07:09:35 -0400 Received: by mail-wr1-f41.google.com with SMTP id i8so8723119wrp.12 for <25952@debbugs.gnu.org>; Mon, 05 Jul 2021 04:09:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=gCgrSIIPgC24k9WkXMD+A1PR2B4Sq7/gpla1+ngRFPk=; b=QRMEwh8cdvUWZfI8MRb0QxSJ4Gjc1lvrbnN1lSTjMW7H3eOp92U/lMuoUVzIJzVB66 iCOE5C45EPvgqug5VrSdOulFdJDbOO0+NaxYuRv83TBThmq7MAc283tveRBQrw269waZ ToVwLkYm7WqWgChYOL5OHhuVEhPQ7gog4rfcUh9xYHfhJKVjFlhk9aqWAQkScVmYJnKH 2oCqwybOs8g4tbRDMV1LomHUbgsQs/tXJ37V6kmDBr5B2QwUT3NwLx3saPORXHwaCY49 3H/GBw17wED56aYz6ectH63SrxDiiF200Auexr5b+0jszqtcC6/583YWDNW/OfVOZ3Tw ZVmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=gCgrSIIPgC24k9WkXMD+A1PR2B4Sq7/gpla1+ngRFPk=; b=R7fYrI3nd8mfwfApuFlzpBvLIkFeiOLIRjYiEREIkjvH8JUtUuhA/cHJ+idFOd5PY1 dk6eF4FTf2i2f5k/FaOp9trbbbdYEBHAqCJeT7HhA4hY+Z/kWIyWX/IhMbZmF14sl9FD ckLx7CkvEMzITUJWJMT6YR38hL5VQtbAs+6Y/AAMz+O48niiyIKzdSBTi5d2PafCfT07 rq2ulmnthQcA5w/Bm0k9v619ocsyiz/ZtGSSALBc6s0vxRSI32hFtGfVkDeW3LZF44/i 59d3dNTzR4kk6H/EudaIuLeaPZi74y4WamJ+0akPB6l86TCKW+MzdKi9w9MJ7PaMXn3M y+zg== X-Gm-Message-State: AOAM530+kROi2iXtR3uJgt8w22nmJU8NqiHaGNkF2aDYzOntYxmwzEFY jV59rqPDWiAKKPA911SeH4U= X-Google-Smtp-Source: ABdhPJwCW1Ue8Oc6YggnGsOQA40aLrstYlCi0k9/JNaIxTYNlvXhw7KoAAOtgaAoMmVS8MmbIBLPHw== X-Received: by 2002:a5d:4001:: with SMTP id n1mr15284792wrp.159.1625483369533; Mon, 05 Jul 2021 04:09:29 -0700 (PDT) Received: from pfiuh02 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id s9sm1884401wrn.87.2021.07.05.04.09.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jul 2021 04:09:29 -0700 (PDT) From: zimoun References: <20170303165648.wg5nypcizxr2n6t5@abyayala> <87tv03ycvo.fsf@nckx> <87k0wwqng4.fsf@gmail.com> Date: Mon, 05 Jul 2021 13:07:05 +0200 In-Reply-To: <87k0wwqng4.fsf@gmail.com> (zimoun's message of "Mon, 14 Sep 2020 19:26:35 +0200") Message-ID: <87wnq5j9ye.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) 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: , Cc: 25952@debbugs.gnu.org, contact.ng0@cryptolab.net Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625483412; 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=gCgrSIIPgC24k9WkXMD+A1PR2B4Sq7/gpla1+ngRFPk=; b=ouCbynmt9xqbKxFvu9a+928UEcJPlXyrqbjQUkQcWOkmVYsKHhI0vKaohFK+qW2WPCQ7HH mBx6IKUyp85354yQfo9KyHlI0HyUQrFobEH5zXuVrfPySPhBB1YTS1C2xkW6N4rzeVu5/D eCLH2/bufgCV/pblbXOOW/pipGnKhBahKnyhdBOxzfxZSRHMxYTN4gAls0psHkO6kLoX99 srkk8b/svNWsscBoiRFbRfbWV7xxmIFNBOPMrPH2KW/T3uqjYlUaRW45qhEEubSdQGdbUu Vg+1zYCDao09wKo7BlLM2R6GYn3dcOqTAe6zTioOOjztVMF7RFBdFIjgJ8Dy8Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625483412; a=rsa-sha256; cv=none; b=pUAwhS8lJRxtFScc2UXo78JAzow8hXmz5HqjAlSirJ7Sm0X1ztDKTAoQRLk2mjglx4Z1zw El5mEWydzCYY2mfKH+knxxV0kxMfulif7N3ZSEN5S6MdVEh/3X3/B6JDj3K9Q2ZTuc7cYW EIMSZXlcC0+PwrgPnQmCivPmVU5QGhxJabiPT0xWsKaddurVdyKIiuBTeA9O7CH2kflaaZ AS27NdcVEPJbrIFoHGYcaSXz/suj5ZQxgw2TnN5ColHV1UCQOHWIaxRBsZidQ6v+bSnhio KPVbca9U6KIxwBoT3mwfiLDXWqn97L4oOjYsbpr1PPDgcwEqL/AVDstRvxVXDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=QRMEwh8c; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=QRMEwh8c; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 15A7DD5A6 X-Spam-Score: -1.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: gNEQleasx7ke Hi, For reference: . On Mon, 14 Sep 2020 at 19:26, zimoun wrote: > On Tue, 26 May 2020 at 00:43, zimoun wrote: >> On Mon, 25 May 2020 at 22:32, Tobias Geerinckx-Rice wrote: >> >>> The issue is that files such as /etc/guix/machines.scm (but this >>> applies equally to /etc/guix/acl & so on) are expected to evaluate >>> to a sexp. >>> >>> An empty file does not a valid sexp make, so Guix throws an >>> prickly backtrace @ your face & dies. This is unlike most other >>> configuration formats where an empty file or one consisting >>> entirely of comments is a no-op. >> >> Hum? I am not sure to get the point. Are we talking about this kind >> of situations, e.g., >> >> touch /tmp/empty.scm >> guix package -m /tmp/empty.scm -p /tmp/empy >> >> or >> >> echo ";; hello" > /tmp/comment.scm >> guix package -m /tmp/comment.scm -p /tmp/comment >> >> or >> >> echo "(define x 42)" > /tmp/answer.scm >> guix package -m /tmp/answer.scm -p /tmp/answer >> >> >> ? > > If we are talking about such cases, I think we can close this bug > report. > > >>> We should decide whether =E2=80=98=E2=80=99 is a valid sexp (oh dear, p= hilosophy) >>> or throw something softer at people. >> >> Throw something more "helping" than e.g., >> >> Backtrace: >> 1 (primitive-load "/home/simon/.config/guix/current/bin/g=E2= =80=A6") >> In guix/ui.scm: >> 1936:12 0 (run-guix-command _ . _) >> >> guix/ui.scm:1936:12: In procedure run-guix-command: >> In procedure struct-vtable: Wrong type argument in position 1 >> (expecting struct): # >> >> ? > > More helping as suggested for example in this message: > > > > If yes, the bug report should be renamed. And probably goes to the > Guile bug tracker. :-) What do we do? What is the next action? Close? If not, please provide explanations about what the issue really is and what could be the plan to fix it. :-) Cheers, simon