From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mP2bAN5LIWNztwAAbAwnHQ (envelope-from ) for ; Wed, 14 Sep 2022 05:34:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YC+xAN5LIWPWuAAA9RJhRA (envelope-from ) for ; Wed, 14 Sep 2022 05:34:54 +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 E1F0F63EF for ; Wed, 14 Sep 2022 05:34:52 +0200 (CEST) Received: from localhost ([::1]:51582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYIdM-0007Lf-9H for larch@yhetil.org; Tue, 13 Sep 2022 23:00:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYId9-0007LW-58 for bug-guix@gnu.org; Tue, 13 Sep 2022 23:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36336) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYId8-0000HJ-Q1 for bug-guix@gnu.org; Tue, 13 Sep 2022 23:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oYId8-0003QP-Lh for bug-guix@gnu.org; Tue, 13 Sep 2022 23:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57790: Strange behavior with emacs-build-system Resent-From: Fredrik Salomonsson Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 14 Sep 2022 03:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57790 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 57790@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166312435513071 (code B ref -1); Wed, 14 Sep 2022 03:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Sep 2022 02:59:15 +0000 Received: from localhost ([127.0.0.1]:53266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYIcN-0003Ok-8h for submit@debbugs.gnu.org; Tue, 13 Sep 2022 22:59:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:43328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYIcK-0003Oc-4x for submit@debbugs.gnu.org; Tue, 13 Sep 2022 22:59:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYIcJ-0007J6-Uz for bug-guix@gnu.org; Tue, 13 Sep 2022 22:59:11 -0400 Received: from mout02.posteo.de ([185.67.36.66]:59493) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYIcH-0000CB-Ir for bug-guix@gnu.org; Tue, 13 Sep 2022 22:59:11 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 82E33240101 for ; Wed, 14 Sep 2022 04:59:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1663124346; bh=Lz8K6ESWIdfHcc8oVTBel5zlntXCb7/IMxU7FNDwKPI=; h=From:To:Subject:Date:From; b=PWSbrFnclEpRV3BOJzkHoXFM4FNbIriBIeqfRgNiNt+tw8UChpdVyA4VGm60HnJ7q +M+TMt2XuJdsW4VQ4RfFnJRMxl9JAl0xKiK6iKZP9uPvvyIrePbljRv8uBW5ZIt8Pe 6StfR7gdXU5C7dg8Lvq5ZULislWOMSS6pQPsl/hrMnTYLL88drYHl2Ry2HIBiopOtl X6VBZ4wsUa2fLsN6W7kYoAHqJ8im8altrbFVucziZ9f0JrSAkZLxB2/61NEAaBaPJH T2AtiVteaL9LBW1lcB/mYFWdrNpyxNkkTkhdih4KXimV2WjVDjfumnPnGntvj8hKLM UpCrpBnLA/j1A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MS4mT496tz9rxG for ; Wed, 14 Sep 2022 04:59:05 +0200 (CEST) From: Fredrik Salomonsson Date: Wed, 14 Sep 2022 02:59:03 +0000 Message-ID: <87v8pqbr0o.fsf@d2.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=plattfot@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663126492; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ZuYUdMKJSppPPwbmJfnxBRNEcgUUilzPFFyE48Jc064=; b=AcYxlmDvw7ZFPZNdneIn6cb1+Ucqw5712aJ8kGVXh04qcXn+zsPQSkypR/GO2tpil+u1he 5W5vLNWoYqaGMHsyNad9vF6NeOXNUaC3Fiv749VSZOJmVrhkiqf2nvxcVpN7t3UV2z68YL WDWr/zsh9upU37it2Dt2GdlQ8jn+hdKpnU+Du1bs5996Q/s/28hSOywGGmZQ6VpDmFf98P Qeze9MKOFgvnEP8C59fsrSe+UBvWlrfhQK+1tcIyu/GJIy08jrqCwY9rCDa5+aD1R7Spa7 Sz2lQ9zGkzgO2BQFQfQkscBI9UdCYIXYs271ki/gzDqjVEg/ZsoRL8ew8nj8rg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663126492; a=rsa-sha256; cv=none; b=QYAj7ggRZMn2mC6264TOOWcazM0rFmpmCdGCk0sZHBHRW7nTKvk5+hg6Ad4LujLo3iIPcs Opu6c5yoyDjAdvr8xDY4v0MzE7g+OLrp6hxMsdxzY2Dhacw/LFwhJs8QCd923il3jtz8jE yBqpU+oMqYeBBYR6Xgn7kXrl94h0EMYCiweLil4pbMencmpYPsiye/GBFVb6H21HhQsXaR tj59OsvITTnhJ2xwiz7WuGGITk8AndOKqbZz2S8gjhMF4rLb/OIQw6PGoeQTU4jopsqxIb zL+P5abkO6VdJ0HbhhGtiAPQnLmCOYa4i/a/4UqfejgLSGDcLBCOw1I95LZ02Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=PWSbrFnc; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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: 4.39 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=PWSbrFnc; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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: E1F0F63EF X-Spam-Score: 4.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8Loru7FlQoaj Hi, I encountered a strange behavior when using a guix.scm file to build and run test in an emacs project. The project is called issue.el[0]. I have the following guix.scm: ---=E2=9C=80---------------------------------------------------------------= ------------- (use-modules ((guix licenses) #:prefix license:) (guix packages) (guix gexp) (guix download) (guix git-download) (guix build-system emacs) (guix build emacs-utils) (gnu packages) (gnu packages emacs) (gnu packages emacs-xyz) (ice-9 popen) (ice-9 rdelim) ) (define %git-commit (read-string (open-pipe "git show HEAD | head -1 | cut -d ' ' -f2" OPEN_R= EAD))) (define (skip-git-directory file stat) "Skip the `.git` directory when collecting the sources." (let ((name (basename file))) (not (string=3D? name ".git")))) (package (name "emacs-issue-el") (version (git-version (emacs-header-parse "version" "issue.el") "HEAD" %gi= t-commit)) (source (local-file (dirname (current-filename)) #:recursive? #t #:select? skip-git-directory)) (build-system emacs-build-system) (arguments (list #:tests? (not (%current-target-system)) #:test-command #~'("ert-runner"))) (native-inputs (list emacs-ert-runner)) (propagated-inputs (list emacs-org-jira)) (home-page "https://sr.ht/~plattfot/issue.el") (synopsis "List issues from various issue trackers in emacs") (description "List issues from various issue trackers in a tabulated buffer in @code{Emacs} and act on them. Current supported issue tracker is @code{jira}.") (license license:gpl3+)) ---------------------------------------------------------------------------= ----- 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 fi= le `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. [0] https://git.sr.ht/~plattfot/issue.el --=20 s/Fred[re]+i[ck]+/Fredrik/g