From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +B+xCTlmRWO10AAAbAwnHQ (envelope-from ) for ; Tue, 11 Oct 2022 14:48:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oEW7CTlmRWPVFgEAauVa8A (envelope-from ) for ; Tue, 11 Oct 2022 14:48:57 +0200 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 B937382E3 for ; Tue, 11 Oct 2022 14:48:56 +0200 (CEST) Received: from localhost ([::1]:42762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiEgp-00021p-Qx for larch@yhetil.org; Tue, 11 Oct 2022 08:48:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiCsj-0005uV-O8 for bug-guix@gnu.org; Tue, 11 Oct 2022 06:53:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52062) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiCsg-0001K6-9m for bug-guix@gnu.org; Tue, 11 Oct 2022 06:53:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiCsg-0004wf-0o for bug-guix@gnu.org; Tue, 11 Oct 2022 06:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57790: Strange behavior with emacs-build-system Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 11 Oct 2022 10:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57790 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Fredrik Salomonsson , 57790@debbugs.gnu.org Received: via spool by 57790-submit@debbugs.gnu.org id=B57790.166548555218965 (code B ref 57790); Tue, 11 Oct 2022 10:53:01 +0000 Received: (at 57790) by debbugs.gnu.org; 11 Oct 2022 10:52:32 +0000 Received: from localhost ([127.0.0.1]:51139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiCsB-0004vp-LX for submit@debbugs.gnu.org; Tue, 11 Oct 2022 06:52:31 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:55226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiCs1-0004up-G1 for 57790@debbugs.gnu.org; Tue, 11 Oct 2022 06:52:25 -0400 Received: by mail-wm1-f46.google.com with SMTP id iv17so8349376wmb.4 for <57790@debbugs.gnu.org>; Tue, 11 Oct 2022 03:52:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=Vtgpo4BymkRFJVEeWHgRMLc30MUzD6Yn9u2fqBrL3RU=; b=k4cJaYi4rro23ZEv4/a0Qf0wLfqeoXpgNqO1TVnUCjmeruSo4f0DBfmZAEBqUwIvfb OfkN5xFPbDi33ui1u5pcXMHUjivMh8nea14GQ+UdfupYM20Jl0D5/edc4QVyC8jcVWMl TJKPgLukxTY6D4UOXshjIfJNIw1lWHPO9b87tsxRbGB2Of+aw0anPVjq5/nUO3+qgmnj 7Sz6xVAIgLP1IsfPQDI/NHBjUDtX/yNR7mYFjLsYoQiWUgcu7cOZY1jBfC4wvLWgrf6a 0GPan58i3pLqwEQNLznh3GRKzTCOWHMxVqS+UgaaVHkALZpsPlA0aWLlxoiXd+5AOHRK Q0jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=Vtgpo4BymkRFJVEeWHgRMLc30MUzD6Yn9u2fqBrL3RU=; b=LwpDc6w5zO7A8SbWioek6STaAjkw6U+ZKkuAtz5cL/c7rQJTdDWTTRVArGf8WCAbxU bOJujpuf5M+7/8IX5cn44pKu4Xnc321iWBC5Y/QWV4dE6no+2LURiMyUPxxdcQ0y9om0 QJNXpXeWe+tHH6+oPybHCdirzonq11UyrQPMWlV1T21vpdkmy7+UfabzVOq0C7iMIH87 FIWSQrjB1ksbWZFdVqF+kgRcZdwEE3ekDKiegrKKyH4O53adZIOWnycVdkoJvAwkUwPr mV1M7STB9cCPT03D4c7Kj6kapm+wyspb9Kp3DStELphbV+CkYVKEepvt8zb6RdpVHgxL r+dA== X-Gm-Message-State: ACrzQf1wp9ymDetK6LKQ76SIE074Dcq8so9J+L76WrqpIIUmMradEBaV RgEV5WFWRe4tWnVVXrlZGWhuloY6EYI= X-Google-Smtp-Source: AMsMyM4jgRDqz2BbDDer2S1IG3MmPH2A8N5MZBp5skBkkSJ7RdGvd5rt/la2i+/EdAdU/P02loy6kA== X-Received: by 2002:a05:600c:1910:b0:3b4:bb80:c951 with SMTP id j16-20020a05600c191000b003b4bb80c951mr23313199wmq.81.1665485535844; Tue, 11 Oct 2022 03:52:15 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id t10-20020a05600001ca00b0022ccae2fa62sm10912110wrx.22.2022.10.11.03.52.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 03:52:15 -0700 (PDT) From: zimoun In-Reply-To: <87v8pqbr0o.fsf@d2.com> References: <87v8pqbr0o.fsf@d2.com> Date: Tue, 11 Oct 2022 11:51:14 +0200 Message-ID: <86wn96ofhp.fsf@gmail.com> 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665492536; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=Vtgpo4BymkRFJVEeWHgRMLc30MUzD6Yn9u2fqBrL3RU=; b=hUjGFY+6ltG6MVFXT9W3vqvcjdoE5i2HRLKpIvNG7DR3JRDHU5PEAqxu5nXKXRv2XC7mwE fYJlmP1jY/XXiJlTeKpLaZDhC0DhMF7+OYZjGiHu795hTLfMUXmqp0c184PwvgKYoGvY34 h1t4dTULTE58rqBkfmnUJmItHgXNF9FIEdnqbj2+uK0JARaJUvwQW89qutqhu5yJONVeE9 nREQBLEKxcbXF0moWv0i4+aRCXow7MmhwUOhP102hQ/+4+mzFaKSyHJ2YRCQ6AUoRXi4jj 9bBoL6jHNsu7GLY01kDoh8le/3qbnBs0vBfIW/qCYgOTtGuWy7AHSFVBZgSn9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665492536; a=rsa-sha256; cv=none; b=r4hCtfghdvIlx4t6R+/M/Vbo+b7H3MgrgSml4IPsXf8kUN3ZuJrU5hkPUXDKTM1cf68IiP cnbkUs68akgbh40ausOUvpimQwB0rGVJ8HB515jTLtLeRimhyNw9hIOqQD6e5Jot2p9c94 HKcGx978ltCcyDTtdlbiY3SXy/3Ot9HhtJWCuICXLnOpWTpRrNWmkACn2aR8bch+wY/CnA qUR6lSiDBLI70g1wWUsgufXhAY66YG6EJJ6FbnWxAvaIVXGyncnZ7JWli6NTqetPua2AQA b898p+ca3eqnV3jkjdH3A3HSkAv3MvIzvS2gJuVIvuLdkF5W5oYES11U7vlBXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=k4cJaYi4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.60 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=k4cJaYi4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B937382E3 X-Spam-Score: 7.60 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2yPYAb/KgLfW Hi, On Wed, 14 Sep 2022 at 02:59, Fredrik Salomonsson wro= te: > If I name the local clone `issue.el` (name of the directory); > `guix=C2=A0build=C2=A0-f=C2=A0guix.scm` will fail. It will just copy the = file > `issue.el` and then `ert-runner` fails as there is no test directory. > > But if I name the local clone something else, e.g. `issue-el` then it > will copy all the files, `ert-runner` will be happy and > `guix=C2=A0build=C2=A0-f=C2=A0guix.scm` will succeed. > > I'm not sure if this is an issue in `emacs-build-system`, `local-file` > or plain old user error. Well, I guess it comes from =E2=80=99unpack=E2=80=99; which reads: --8<---------------cut here---------------start------------->8--- (define* (unpack #:key source #:allow-other-keys) "Unpack SOURCE into the build directory. SOURCE may be a compressed archive, a directory, or an Emacs Lisp file." (if (string-suffix? ".el" source) (begin (mkdir "source") (chdir "source") (copy-file source (store-file->elisp-source-file source)) #t) (gnu:unpack #:source source))) --8<---------------cut here---------------end--------------->8--- Well, I guess again that the =E2=80=99source=E2=80=99 should contain someth= ing like, (file-name (git-file-name name version) to avoid the issue. But the naive approach does not work with =E2=80=99local-file=E2=80=99. Cheers, simon