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 gCUYFV6yUmMUrgAAbAwnHQ (envelope-from ) for ; Fri, 21 Oct 2022 16:53:18 +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 gL49FV6yUmPPqQAA9RJhRA (envelope-from ) for ; Fri, 21 Oct 2022 16:53:18 +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 DD6F56334 for ; Fri, 21 Oct 2022 16:53:17 +0200 (CEST) Received: from localhost ([::1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oltOW-0003Py-32 for larch@yhetil.org; Fri, 21 Oct 2022 10:53:10 -0400 Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oltOU-0003OC-W9 for larch@yhetil.org; Fri, 21 Oct 2022 10:53:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oltOS-0003O5-PO for bug-guix@gnu.org; Fri, 21 Oct 2022 10:53:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oltOR-0005HF-2g for bug-guix@gnu.org; Fri, 21 Oct 2022 10:53:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oltOQ-0005Yq-M6 for bug-guix@gnu.org; Fri, 21 Oct 2022 10:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58690: emacs-ess (native-compilation): tramp and local shell used by tests Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 21 Oct 2022 14:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58690 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 58690@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166636397821364 (code B ref -1); Fri, 21 Oct 2022 14:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Oct 2022 14:52:58 +0000 Received: from localhost ([127.0.0.1]:38682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oltOG-0005YP-Ko for submit@debbugs.gnu.org; Fri, 21 Oct 2022 10:52:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:39246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oltOB-0005YE-4c for submit@debbugs.gnu.org; Fri, 21 Oct 2022 10:52:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oltOA-0003LV-Tw for bug-guix@gnu.org; Fri, 21 Oct 2022 10:52:46 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oltO6-0005B0-Ne for bug-guix@gnu.org; Fri, 21 Oct 2022 10:52:46 -0400 Received: by mail-wm1-x32a.google.com with SMTP id l14-20020a05600c1d0e00b003c6ecc94285so4049410wms.1 for ; Fri, 21 Oct 2022 07:52:41 -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:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=MpFruElJF4zE7vzLndu76VVXK2wV5CMsHy6Xct+XKZs=; b=iUegxDHbmGPB5tN7PNjfflYBDFU5Y6PNDfQ8jOXgjjdB05vxLN7kM8kuT/D5rguk4B XbWheob52SHftloiOYjS2d5MHRg8psd6v7cirj3312IAeHtnjOSfVHVchVzltNWLIUko yWvNX/ifM06u9e4R9frTpNFDEbONlaNHRExmDKr0m1nS4BLwmUOCw3YeAd3W8lsrYnnP NqxYDJgCEI/P3HblrQBW9JZB/hKtkKm4q0AdAL4uJzPqN1eAm1gci+Uwb3IZvzCUx0+g Qc3BYJ1MODAW1GXICXi0sKTe2NfGDawc1mPVoYJraCi+6durNPTgzX4UBKaV2lnTNfgG WMBA== 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:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MpFruElJF4zE7vzLndu76VVXK2wV5CMsHy6Xct+XKZs=; b=POVgWB4k0zdRzeHlKeJw/I/oyvlFIU63pWLnLCRv2Z2EMgPAY5p/IQfmXkpyvVItjv PPeKYEju/1m7nEf4zdneLtnQYhipVPnbReLZhlnfesSc4Bm9AgoxLUUrDzLCiEwFnxcj Ud1DvifP3gGG6MquX6C492SSP+SmsBAO3RQmSAyHlyS9jJMGntiUbFhoNT+qyRGAjJ7l hUrMonFcpc+A5h2Q2Nya4PI/MKQVrLib/ljjsigHX+/bTatGvM58d6zpCIA2PkypQLre h0ltS7K8aZfrO3izbUJYuHrbcdqWzM7snLBHsmxVRXnYDSwPLxANd43a3YkFBGUH1dhE utzw== X-Gm-Message-State: ACrzQf2BDIPb4oLraZ4e/henq+pAhHSB+Z9Ik7xn5WhR16+b8VaiHpXa 3r/WoHT6YDZxfUY/cTqGdyPKYuNh7ig= X-Google-Smtp-Source: AMsMyM5GKAi/D01050OmMwnLAt3erlNsAjN5ej1m/Kni1OBs2a7Mu0pbIuUdOTXcYsCYQJChyYftOg== X-Received: by 2002:a05:600c:a4b:b0:3b9:859d:7ed6 with SMTP id c11-20020a05600c0a4b00b003b9859d7ed6mr34659206wmq.169.1666363960552; Fri, 21 Oct 2022 07:52:40 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id u11-20020adff88b000000b0022e2eaa2bdcsm18919376wrp.98.2022.10.21.07.52.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 07:52:40 -0700 (PDT) From: zimoun Date: Fri, 21 Oct 2022 16:51:47 +0200 Message-ID: <871qr1jkl8.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666363998; 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=MpFruElJF4zE7vzLndu76VVXK2wV5CMsHy6Xct+XKZs=; b=qtyDwMpdgK3dwPAtF9l1ZN5YzC+1uW+JL+Nf5SCW5pdJB9T7cYKiyYrkTfj+gP2EiWEugA /bNA6XjKQb1aJgaSXm0MSEwqd8KmJkKjz+BTltinsHK9MizZIZorRk1mSwFFtiVIrbEDXH 8CrwE3ZRbWMt4ZXJp9X3QAwkvCo8BasiR6/wbx8eaCwPahZv/si/0KVF7QV2SJMvcxUsPg 5pXo7XAxuEXV3+wkS5NV456l8knmLo6Obz6j6QtxctQKQXR6zq8/dxGRZz1J8KE/JcoT6x sM2eZTk/8YgftI0ZiIs7YD0sqkkFzRI+ev6Gi47WaUG9w5KFzESJForKIr/3Tw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666363998; a=rsa-sha256; cv=none; b=CesGBp39PQoGgb18hRUXwL0j5Tog3uwjjGHdpqH84gSesZlSRE+KHDQCc8IpktaElM0Vkh P38tJV6La49ZayD5pzSbRR1U++02v+unE95jj3nYoMuLU1SQimtnYBOxcUE0IaQ4W4pM9H /Y0vAJUZh3g01Dk9pf6qENZH/Sm9nyRxxSNZPaYWL9D9tAxOXnGLYpXOLsy0Z8nOdhC/ez JUghpHtL8QNY8dXuCKa/BFDJ1BdXw+DgImYpzwaT2VNhCESCPF12lYzKEREVPbx8DsYfL6 ECyXVdiVarbXZAU+ZLk0RqS07UjtZgjGeJIx99AnAi8/vEyeKZGWfxeK0lnwvg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=iUegxDHb; 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: 6.86 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=iUegxDHb; 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: DD6F56334 X-Spam-Score: 6.86 X-Migadu-Scanner: scn0.migadu.com X-TUID: DMwDzA5Wgo5T Hi, The package ESS is not often released and we rely on some pinned commit. The current one is from August 2020 and it does not correctly support native-compilation (see below). Upstream fixed some; for instance let use f45542e723d7415f5e22bcf39f25e31d055d168c. But then the test suite is failing with, --8<---------------cut here---------------start------------->8--- Test ess-mock-remote-process backtrace: signal(file-error ("Couldn=E2=80=99t find local shell prompt for /bin/sh"= )) tramp-error(nil file-error "Couldn=E2=80=99t find local shell prompt for = /bin/sh") tramp-signal-hook-function(file-error ("Couldn=E2=80=99t find local shell= prompt for /bin/sh")) signal(file-error ("Couldn=E2=80=99t find local shell prompt for /bin/sh"= )) tramp-maybe-open-connection((tramp-file-name "mock" nil nil #("localhost"= 0 9 (tramp-default t)) nil "/tmp/guix-build-emacs-ess- [...] Test ess-mock-remote-process condition: (file-error "Couldn=E2=80=99t find local shell prompt for /bin/sh") FAILED 48/157 ess-mock-remote-process (0.018617 sec) [...] Test ess-r-load-ESSR-github-fetch-no backtrace: signal(file-error ("Couldn=E2=80=99t find local shell prompt for /bin/sh"= )) tramp-error(nil file-error "Couldn=E2=80=99t find local shell prompt for = /bin/sh") tramp-signal-hook-function(file-error ("Couldn=E2=80=99t find local shell= prompt for /bin/sh")) signal(file-error ("Couldn=E2=80=99t find local shell prompt for /bin/sh"= )) tramp-maybe-open-connection((tramp-file-name "mock" nil nil #("localhost"= 0 9 (tramp-default t)) nil "/tmp/guix-build-emacs-ess- [...] Test ess-r-load-ESSR-github-fetch-no condition: (file-error "Couldn=E2=80=99t find local shell prompt for /bin/sh") FAILED 70/157 ess-r-load-ESSR-github-fetch-no (0.337567 sec) Test ess-r-load-ESSR-github-fetch-yes backtrace: signal(file-error ("Couldn=E2=80=99t find local shell prompt for /bin/sh"= )) tramp-error(nil file-error "Couldn=E2=80=99t find local shell prompt for = /bin/sh") tramp-signal-hook-function(file-error ("Couldn=E2=80=99t find local shell= prompt for /bin/sh")) signal(file-error ("Couldn=E2=80=99t find local shell prompt for /bin/sh"= )) tramp-maybe-open-connection((tramp-file-name "mock" nil nil #("localhost"= 0 9 (tramp-default t)) nil "/tmp/guix-build-emacs-ess- [...] Test ess-r-load-ESSR-github-fetch-yes condition: (file-error "Couldn=E2=80=99t find local shell prompt for /bin/sh") --8<---------------cut here---------------end--------------->8--- And the package =E2=80=99emacs=E2=80=99 contains, --8<---------------cut here---------------start------------->8--- ;; Make sure Tramp looks for binaries in the right places= on ;; remote Guix System machines, where 'getconf PATH' retu= rns ;; something bogus. (substitute* "net/tramp.el" ;; Patch the line after "(defcustom tramp-remote-path". (("\\(tramp-default-remote-path") (format #f "(tramp-default-remote-path ~s ~s ~s ~s " "~/.guix-profile/bin" "~/.guix-profile/sbin" "/run/current-system/profile/bin" "/run/current-system/profile/sbin"))) [...] (add-after 'unpack 'patch-program-file-names (lambda* (#:key inputs #:allow-other-keys) (substitute* '("src/callproc.c" "lisp/term.el" "lisp/htmlfontify.el" "lisp/textmodes/artist.el" "lisp/progmodes/sh-script.el") (("\"/bin/sh\"") (format #f "~s" (search-input-file inputs "/bin/sh")))) --8<---------------cut here---------------end--------------->8--- Well, for the record, the starting point is AOT native-compilation failing with Guix 00ff6f7, --8<---------------cut here---------------start------------->8--- $ guix build emacs-ess --with-input=3Demacs-minimal=3Demacs [...] In toplevel form: ess-inf.el:39:1: Error: Cannot find suitable directory for output in =E2=80= =98native-comp-eln-load-path=E2=80=99 make[1]: *** [Makefile:48: ess-inf.elc] Error 1 make[1]: Leaving directory '/tmp/guix-build-emacs-ess-18.10.2-0.24da603.drv= -0/source/lisp' make: *** [Makefile:29: lisp] Error 2 error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("-j" "16" "PREFIX=3D= /gnu/store/p3wxpf95l1rc8kgxsrsgisad1ir1bac6-emacs-ess-18.10.2-0.24da603" "E= TCDIR=3D/gnu/store/p3wxpf95l1rc8kgxsrsgisad1ir1bac6-emacs-ess-18.10.2-0.24d= a603/share/emacs/site-lisp/etc" "LISPDIR=3D/gnu/store/p3wxpf95l1rc8kgxsrsgi= sad1ir1bac6-emacs-ess-18.10.2-0.24da603/share/emacs/site-lisp" "INFODIR=3D/= gnu/store/p3wxpf95l1rc8kgxsrsgisad1ir1bac6-emacs-ess-18.10.2-0.24da603/shar= e/info") exit-status: 2 term-signal: #f stop-signal: #f>=20 phase `build' failed after 1.0 seconds command "make" "-j" "16" "PREFIX=3D/gnu/store/p3wxpf95l1rc8kgxsrsgisad1ir1b= ac6-emacs-ess-18.10.2-0.24da603" "ETCDIR=3D/gnu/store/p3wxpf95l1rc8kgxsrsgi= sad1ir1bac6-emacs-ess-18.10.2-0.24da603/share/emacs/site-lisp/etc" "LISPDIR= =3D/gnu/store/p3wxpf95l1rc8kgxsrsgisad1ir1bac6-emacs-ess-18.10.2-0.24da603/= share/emacs/site-lisp" "INFODIR=3D/gnu/store/p3wxpf95l1rc8kgxsrsgisad1ir1ba= c6-emacs-ess-18.10.2-0.24da603/share/info" failed with status 2 builder for `/gnu/store/hhy8qm9wfsqxask40iy9z564fcz1qw9n-emacs-ess-18.10.2-= 0.24da603.drv' failed with exit code 1 build of /gnu/store/hhy8qm9wfsqxask40iy9z564fcz1qw9n-emacs-ess-18.10.2-0.24= da603.drv failed View build log at '/var/log/guix/drvs/hh/y8qm9wfsqxask40iy9z564fcz1qw9n-ema= cs-ess-18.10.2-0.24da603.drv.gz'. guix build: error: build of `/gnu/store/hhy8qm9wfsqxask40iy9z564fcz1qw9n-em= acs-ess-18.10.2-0.24da603.drv' failed --8<---------------cut here---------------end--------------->8--- but this AOT native-compilation issues need another bug report. :-) Cheers, simon