From unknown Thu Sep 11 20:48:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79257: 31.0.50; flymake's ruby-backend test fails with ruby 3.4.5 Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Aug 2025 20:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 79257 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 79257@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17553754724746 (code B ref -1); Sat, 16 Aug 2025 20:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Aug 2025 20:17:52 +0000 Received: from localhost ([127.0.0.1]:43675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1unNLc-0001ET-AO for submit@debbugs.gnu.org; Sat, 16 Aug 2025 16:17:52 -0400 Received: from lists.gnu.org ([2001:470:142::17]:37612) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1unNLa-0001E6-NR for submit@debbugs.gnu.org; Sat, 16 Aug 2025 16:17: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 1unNLV-0002l1-Bt for bug-gnu-emacs@gnu.org; Sat, 16 Aug 2025 16:17:45 -0400 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1unNLT-0004Pi-Er for bug-gnu-emacs@gnu.org; Sat, 16 Aug 2025 16:17:45 -0400 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id 3A2DAEC00A2 for ; Sat, 16 Aug 2025 16:17:40 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Sat, 16 Aug 2025 16:17:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm3; t=1755375460; x=1755461860; bh=Dv/GZKxrt2vO//OXVBlga2U1pyz9WXBu HXXvsAc1NnE=; b=SBzcZgKnJ8RgEXeZItw4nalj6QB0BkfpVUGwIjvA5qQ6TCCA Hqx21STP06GD5nweKTznS06d14mcySSIoBHpUyWcvesKt3d6WPy+Bd6P6A6oTO/H hLxS+bxkyHYlwWblhgV13Nwx7to1NujbuA+jQVM00jj1qTNx1Gomx/GFt6VUs12v PWUCpnwjo+NbB4NwCOZT8wWC0b65hFBNFEOWFzF9BwSmfvTO0Qhka7fXwTgt/TkB BxRS3tNleeObhkozlWvp5uSeTCeRk36z9StLVfGZ/9TN5fWMRXN4A5MFxbox+3G2 lZEq7KzJO7qAs2BgsN2FiCCdYPXo0bciHEzlxw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1755375460; x= 1755461860; bh=Dv/GZKxrt2vO//OXVBlga2U1pyz9WXBuHXXvsAc1NnE=; b=P B/+g05gcvqJAZL2g3hNOFuC7uwyChduloUavCgodUIXCjDlUCg5saEzYHIDNo/93 LkYMP+Nx4oiFgSKf7DL3Ol9zQPO5CGJp1Cch+BprnnWda6U+8ystncG+GcUuW339 +V6ucDqYczdoiJOVLDD0evYza7aazGLvXKFbdPYnZKab8wOB6ySx+7re1C0BCCw9 On5W5tQTWUAVGoC9rrO6/YvLH+KJF2TLTsv/a5B5Ig4h75VyO3E8RWJc+XcfBzzg v3g9yqeB/5WVN9jh1Emz72o+Qi2YfoTlpqEersfEZFrIf0hlVbQY+4kIpjqkp/SM XaBGMUO9KtwB3RQQLwB6A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddugeejjeelucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkfgggtgesthdtredttdertd enucfhrhhomhepjhhohhhnuchmuhhhlhcuoehjmhesphhusgdrphhinhhkqeenucggtffr rghtthgvrhhnpedtvdekhefgvedvgeefkeeuffejtdffgefftdeukeekgfekleejfedthe ekueefteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehjmhesphhusgdrphhinhhkpdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpoh huthdprhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 16 Aug 2025 16:17:39 -0400 (EDT) From: john muhl Date: Sat, 16 Aug 2025 15:17:28 -0500 Message-ID: <874iu781if.fsf@pub.pink> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=103.168.172.145; envelope-from=jm@pub.pink; helo=fout-a2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) 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: -0.3 (/) The test passes with Ruby 3.3.8: $ ruby --version ruby 3.3.8 (2025-04-09 revision b200bad6cd) [x86_64-linux-gnu] $ make -C test lisp/progmodes/flymake-tests.log make: Entering directory '/root/emacs/test' GEN lisp/progmodes/flymake-tests.log make: Leaving directory '/root/emacs/test' $ cat test/lisp/progmodes/flymake-tests.log Running 10 tests (2025-08-16 20:14:31+0000, selector `(not (or (tag :unstable) (tag :nativecomp)))') passed 1/10 different-diagnostic-types (1.064348 sec) passed 2/10 dummy-backends (1.001868 sec) passed 3/10 eob-region-and-trailing-newline (0.000263 sec) passed 4/10 foreign-diagnostics (2.039984 sec) passed 5/10 included-c-header-files (2.038547 sec) passed 6/10 perl-backend (1.013309 sec) passed 7/10 recurrent-backend (1.002002 sec) passed 8/10 ruby-backend (1.015112 sec) passed 9/10 warning-predicate-function-gcc (1.017387 sec) passed 10/10 warning-predicate-rx-gcc (1.019503 sec) Ran 10 tests, 10 results as expected, 0 unexpected (2025-08-16 20:14:42+0000, 11.213646 sec) Then fails with 3.4.5: $ ruby --version ruby 3.4.5 (2025-07-16 revision 20cda200d3) +PRISM [x86_64-linux] $ make -C test lisp/progmodes/flymake-tests.log make[1]: Entering directory '/root/emacs/test' GEN lisp/progmodes/flymake-tests.log Running 10 tests (2025-08-16 20:09:51+0000, selector `(not (or (tag :unstable) (tag :nativecomp)))') passed 1/10 different-diagnostic-types (1.066408 sec) passed 2/10 dummy-backends (1.001843 sec) passed 3/10 eob-region-and-trailing-newline (0.000216 sec) passed 4/10 foreign-diagnostics (2.041202 sec) passed 5/10 included-c-header-files (2.038718 sec) passed 6/10 perl-backend (1.014080 sec) passed 7/10 recurrent-backend (1.002050 sec) Test ruby-backend backtrace: signal(ert-test-failed (((should (eq 'flymake-error (face-at-point)) ert-fail(((should (eq 'flymake-error (face-at-point))) :form (eq fly (if (unwind-protect (setq value-41 (apply fn-39 args-40)) (setq form (let (form-description-43) (if (unwind-protect (setq value-41 (apply (let ((value-41 'ert-form-evaluation-aborted-42)) (let (form-descrip (let* ((fn-39 #'eq) (args-40 (condition-case err (list 'flymake-erro #f(lambda () [t] (flymake-goto-next-error) (let* ((fn-34 #'eq) (args funcall(#f(lambda () [t] (flymake-goto-next-error) (let* ((fn-34 #'e (save-excursion (if sev-pred-supplied-p (progn (setq flymake-proc-di (save-current-buffer (set-buffer buffer) (save-excursion (if sev-pre (unwind-protect (save-current-buffer (set-buffer buffer) (save-excur (let* ((file (expand-file-name file flymake-tests-data-directory)) ( (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((m (let* ((sev-pred-supplied-p (plist-member --cl-rest-- ':severity-pre flymake-tests--call-with-fixture(#f(lambda () [t] (flymake-goto-next (let* ((process-environment (cons (format "HOME=%s" tempdir) process (progn (let* ((process-environment (cons (format "HOME=%s" tempdir) (unwind-protect (progn (let* ((process-environment (cons (format "HO (let* ((coding-system-for-write nil) (temp-file (file-name-as-direct #f(lambda () [ruby-mode-hook t] (let* ((fn-29 #'executable-find) (ar #f(compiled-function () #)() handler-bind-1(#f(compiled-function () # ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name ruby-backend :documentation "Test the ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp)))) ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-l command-line() normal-top-level() Test ruby-backend condition: (ert-test-failed ((should (eq 'flymake-error (face-at-point))) :form (eq flymake-error flymake-warning) :value nil)) FAILED 8/10 ruby-backend (1.013506 sec) at lisp/progmodes/flymake-tests.el:123 passed 9/10 warning-predicate-function-gcc (1.017136 sec) passed 10/10 warning-predicate-rx-gcc (1.019550 sec) Ran 10 tests, 9 results as expected, 1 unexpected (2025-08-16 20:10:02+0000, 11.275721 sec) 1 unexpected results: FAILED ruby-backend From unknown Thu Sep 11 20:48:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79257: 31.0.50; flymake's ruby-backend test fails with ruby 3.4.5 Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Aug 2025 16:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 79257 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 79257@debbugs.gnu.org Received: via spool by 79257-submit@debbugs.gnu.org id=B79257.175605332222375 (code B ref 79257); Sun, 24 Aug 2025 16:36:01 +0000 Received: (at 79257) by debbugs.gnu.org; 24 Aug 2025 16:35:22 +0000 Received: from localhost ([127.0.0.1]:46200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uqDgg-0005oo-1T for submit@debbugs.gnu.org; Sun, 24 Aug 2025 12:35:22 -0400 Received: from fhigh-a4-smtp.messagingengine.com ([103.168.172.155]:42875) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uqDgc-0005oU-9X for 79257@debbugs.gnu.org; Sun, 24 Aug 2025 12:35:19 -0400 Received: from phl-compute-09.internal (phl-compute-09.internal [10.202.2.49]) by mailfhigh.phl.internal (Postfix) with ESMTP id B7C461400095 for <79257@debbugs.gnu.org>; Sun, 24 Aug 2025 12:35:11 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-09.internal (MEProxy); Sun, 24 Aug 2025 12:35:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1756053311; x=1756139711; bh=3HvGYK+7Bc QEhPwlSr2+f/EwaREHUn5+29JpV/48doo=; b=b1hRMp1wUzvnILuAExRNdkNiBU dlnCAxGqmjf+e6FhCKlkoaswIENEp8Km9t/fOasUejFuNom3utkRguRxwetCYWhq 0dfQnriOiSMJIC31Ql6sR3kLgYlOQupUi3ye1Mrq+kaSDQnI3wbhxzM0axm3CLUl 4HmSaLR2fA5KpOVXDHAgL/wOlLRrZkD6b4u0PjPl0GAsSS2gF2SqPo1O+HoblMuP n7dU/3THCpHQvtKxWyYg4d4pUv8s99gKjzrGAaVviWxNlpKJ3Sh8mrxIC+JJQJDE cR37ziHpn1DGSTo6CvD85NbiY/8pl3Ay0gOZp5hyRvV8l/3MooYFbYMi2RvQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1756053311; x=1756139711; bh=3HvGYK+7BcQEhPwlSr2+f/EwaREHUn5+29J pV/48doo=; b=Vpqsvlvh10M2P4VDJ92snHmQfzp4Qly28wJTR6l2E8u7kc5fnmN ar2TLZpVodY7jmpJxqw8sMrdm1SQ8m42Y/zL7dXNMjaMhcpSRTxxy4aYqFdbhYOA 7phL87umad452b4knTaM0NZTWYuAgKBTyCTRCmJeR5+1snaJIFZ2+QVa6Q780IkF 6RxZldsDaZ0vI6UOyP1eUaG6Zehtq7+ftHGkHR8/tKNKYs3SvPRnWrcghdJNRP9G AbseDGprTxAc5Se3IH5qAHW+gZ7w3GaMUTBiJvCx0o/btKxZexoTKaTDb4cDdS9x FsUP1l8jJNhsaKeQaIuNf1ECt45HsMluyiA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddujedttdduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffffkfgggtgesmhdtreertd erjeenucfhrhhomhepjhhohhhnuchmuhhhlhcuoehjmhesphhusgdrphhinhhkqeenucgg tffrrghtthgvrhhnpeejjeeiudffveehveevleeludduvdffhedtteehfeehffejudetke ffvdeghfdvfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehjmhesphhusgdrphhinhhkpdhnsggprhgtphhtthhopedupdhmohguvgepshhmth hpohhuthdprhgtphhtthhopeejledvheejseguvggssghughhsrdhgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <79257@debbugs.gnu.org>; Sun, 24 Aug 2025 12:35:11 -0400 (EDT) From: john muhl In-Reply-To: <874iu781if.fsf@pub.pink> References: <874iu781if.fsf@pub.pink> Date: Sun, 24 Aug 2025 11:35:05 -0500 Message-ID: <87qzx0he4m.fsf@pub.pink> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) 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.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The cause is a change in the check output of new Ruby versions which include the location of the executable; e.g. # Ruby 3.3.8 -:3: warning: statement not reached -:6: syntax error, unexpected end-of-input, expecting `end' or dummy end # Ruby 3.4.5 -:3: warning: statement not reached /usr/bin/ruby: -:5: syntax errors found (SyntaxError) Here=E2=80=99s a patch that updates the regex to account for it. Tests pass with both Ruby 3.3 and 3.4. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Fix-ruby-flymake-simple-for-Ruby-3.4-Bug-79257.patch >From 85b63d01fa2f080cfa360105b913ba5532c8e1e9 Mon Sep 17 00:00:00 2001 From: john muhl Date: Sun, 24 Aug 2025 11:29:43 -0500 Subject: [PATCH] Fix 'ruby-flymake-simple' for Ruby 3.4 (Bug#79257) * lisp/progmodes/ruby-mode.el (ruby-flymake-simple): Update regular expression to handle new versions of Ruby including the location of the executable in the output. --- lisp/progmodes/ruby-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 1079aad1a55..5c8a4025419 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -2516,7 +2516,7 @@ ruby-flymake-simple (goto-char (point-min)) (cl-loop while (search-forward-regexp - "^\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): \\(.*\\)$" + "^\\(?:.*ruby: \\)?\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): \\(.*\\)$" nil t) for msg = (match-string 2) for (beg . end) = (flymake-diag-region -- 2.50.1 --=-=-= Content-Type: text/plain john muhl writes: > The test passes with Ruby 3.3.8: > > $ ruby --version > ruby 3.3.8 (2025-04-09 revision b200bad6cd) [x86_64-linux-gnu] > > $ make -C test lisp/progmodes/flymake-tests.log > make: Entering directory '/root/emacs/test' > GEN lisp/progmodes/flymake-tests.log > make: Leaving directory '/root/emacs/test' > > $ cat test/lisp/progmodes/flymake-tests.log > Running 10 tests (2025-08-16 20:14:31+0000, selector `(not (or (tag :unstable) (tag :nativecomp)))') > passed 1/10 different-diagnostic-types (1.064348 sec) > passed 2/10 dummy-backends (1.001868 sec) > passed 3/10 eob-region-and-trailing-newline (0.000263 sec) > passed 4/10 foreign-diagnostics (2.039984 sec) > passed 5/10 included-c-header-files (2.038547 sec) > passed 6/10 perl-backend (1.013309 sec) > passed 7/10 recurrent-backend (1.002002 sec) > passed 8/10 ruby-backend (1.015112 sec) > passed 9/10 warning-predicate-function-gcc (1.017387 sec) > passed 10/10 warning-predicate-rx-gcc (1.019503 sec) > > Ran 10 tests, 10 results as expected, 0 unexpected (2025-08-16 20:14:42+0000, 11.213646 sec) > > Then fails with 3.4.5: > > $ ruby --version > ruby 3.4.5 (2025-07-16 revision 20cda200d3) +PRISM [x86_64-linux] > > $ make -C test lisp/progmodes/flymake-tests.log > make[1]: Entering directory '/root/emacs/test' > GEN lisp/progmodes/flymake-tests.log > Running 10 tests (2025-08-16 20:09:51+0000, selector `(not (or (tag :unstable) (tag :nativecomp)))') > passed 1/10 different-diagnostic-types (1.066408 sec) > passed 2/10 dummy-backends (1.001843 sec) > passed 3/10 eob-region-and-trailing-newline (0.000216 sec) > passed 4/10 foreign-diagnostics (2.041202 sec) > passed 5/10 included-c-header-files (2.038718 sec) > passed 6/10 perl-backend (1.014080 sec) > passed 7/10 recurrent-backend (1.002050 sec) > Test ruby-backend backtrace: > signal(ert-test-failed (((should (eq 'flymake-error (face-at-point)) > ert-fail(((should (eq 'flymake-error (face-at-point))) :form (eq fly > (if (unwind-protect (setq value-41 (apply fn-39 args-40)) (setq form > (let (form-description-43) (if (unwind-protect (setq value-41 (apply > (let ((value-41 'ert-form-evaluation-aborted-42)) (let (form-descrip > (let* ((fn-39 #'eq) (args-40 (condition-case err (list 'flymake-erro > #f(lambda () [t] (flymake-goto-next-error) (let* ((fn-34 #'eq) (args > funcall(#f(lambda () [t] (flymake-goto-next-error) (let* ((fn-34 #'e > (save-excursion (if sev-pred-supplied-p (progn (setq flymake-proc-di > (save-current-buffer (set-buffer buffer) (save-excursion (if sev-pre > (unwind-protect (save-current-buffer (set-buffer buffer) (save-excur > (let* ((file (expand-file-name file flymake-tests-data-directory)) ( > (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((m > (let* ((sev-pred-supplied-p (plist-member --cl-rest-- ':severity-pre > flymake-tests--call-with-fixture(#f(lambda () [t] (flymake-goto-next > (let* ((process-environment (cons (format "HOME=%s" tempdir) process > (progn (let* ((process-environment (cons (format "HOME=%s" tempdir) > (unwind-protect (progn (let* ((process-environment (cons (format "HO > (let* ((coding-system-for-write nil) (temp-file (file-name-as-direct > #f(lambda () [ruby-mode-hook t] (let* ((fn-29 #'executable-find) (ar > #f(compiled-function () #)() > handler-bind-1(#f(compiled-function () # > ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test > ert-run-test(#s(ert-test :name ruby-backend :documentation "Test the > ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m > ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil > ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp)))) > ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco > eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n > command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-l > command-line() > normal-top-level() > Test ruby-backend condition: > (ert-test-failed > ((should (eq 'flymake-error (face-at-point))) :form > (eq flymake-error flymake-warning) :value nil)) > FAILED 8/10 ruby-backend (1.013506 sec) at lisp/progmodes/flymake-tests.el:123 > passed 9/10 warning-predicate-function-gcc (1.017136 sec) > passed 10/10 warning-predicate-rx-gcc (1.019550 sec) > > Ran 10 tests, 9 results as expected, 1 unexpected (2025-08-16 20:10:02+0000, 11.275721 sec) > > 1 unexpected results: > FAILED ruby-backend --=-=-=-- From unknown Thu Sep 11 20:48:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79257: 31.0.50; flymake's ruby-backend test fails with ruby 3.4.5 Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Aug 2025 19:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 79257 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: john muhl , 79257@debbugs.gnu.org Received: via spool by 79257-submit@debbugs.gnu.org id=B79257.17561513984877 (code B ref 79257); Mon, 25 Aug 2025 19:50:01 +0000 Received: (at 79257) by debbugs.gnu.org; 25 Aug 2025 19:49:58 +0000 Received: from localhost ([127.0.0.1]:51374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uqdCX-0001Ga-IS for submit@debbugs.gnu.org; Mon, 25 Aug 2025 15:49:58 -0400 Received: from fhigh-a5-smtp.messagingengine.com ([103.168.172.156]:47803) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uqdCO-0001G4-8y for 79257@debbugs.gnu.org; Mon, 25 Aug 2025 15:49:52 -0400 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id 2CB011400141; Mon, 25 Aug 2025 15:49:41 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Mon, 25 Aug 2025 15:49:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1756151381; x=1756237781; bh=km2pFHOd/wJIZ7JFpnuF+C8H0KgiwsFZQP0svdoodn4=; b= A6xG/WiboMpIKwAFqYQ3TUL+RNa4DVXVgKtV1lARppvgmPJlO9NU1Scm2peII0z2 12VR8YSZtqtXNPeUl52uK3U5+2nJiEswBoFdaQ1lNicJ2dGy2RsioYt15PQfYYie HMhcsnENunDRf6Vn4T9n1kHhz5uYR0hupe1rXrf6yzVBT68rToVnVF8MLORAd0q+ AeT1Q28kfjc8WlSnBDbqLbVcPgtXvYt2o4h7AduLShnHZ7R/oMA+eqkGjrekLS1Q gkLHGHlSo2RkzlX8WKKTbTb1s835FixTEli/cyIrH57ZrzPks4DXi3KoEvbO3QXh S9LegNW7EDvBjvTau9sdwg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1756151381; x=1756237781; bh=k m2pFHOd/wJIZ7JFpnuF+C8H0KgiwsFZQP0svdoodn4=; b=fGZICIkwlNL0jxK1B KmmkbtKzFhKlKkPgbbUWNHIFR3AulWaEXuDWirEEf3M72sfUDQLJ8QWCSwgDK+sF 9R9PCy1LCWV7vsumQPk4t5rPiYJUwlVFmK32zyf/p2w3GPIPcl7UrEFEdPzk06Uu iEN+j6TQYBZT01HrbQsHNwREnGW/ta+ONoWN5C4IEcrqcLTnN3+B7IIS5+aA2+u0 V+XxRBoNmYU+pExX6p7v1R2Wt/vqvGdyHUFLhSeKTnc9UfqkSYkVRtQJB8yE6Gfu dbC1vBjMliELw9qtrHmiF2xnt/+ENg2xafCcE1JbfCuFM5mz8Dg7QmoHdXKts2s/ i9f6A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddujeefvdekucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvfhfhjggtgfesthekredttddvjeenucfhrhhomhepffhmihhtrhih ucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtthgvrh hnpeeiheeuhfehkeehgfeffeejheffteeigfduvdefheefgefhveffieelvddvfeevfeen ucffohhmrghinheprhhusgihqdhlrghnghdrohhrghenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdp nhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjhhmse hpuhgsrdhpihhnkhdprhgtphhtthhopeejledvheejseguvggssghughhsrdhgnhhurdho rhhg X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 25 Aug 2025 15:49:39 -0400 (EDT) Message-ID: <0ce7e588-f6cd-4330-bab1-a0a24e876b61@gutov.dev> Date: Mon, 25 Aug 2025 22:49:37 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: <874iu781if.fsf@pub.pink> <87qzx0he4m.fsf@pub.pink> Content-Language: en-US From: Dmitry Gutov In-Reply-To: <87qzx0he4m.fsf@pub.pink> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) 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.7 (-) Hi! On 24/08/2025 19:35, john muhl wrote: > The cause is a change in the check output of new Ruby versions > which include the location of the executable; e.g. > > # Ruby 3.3.8 > -:3: warning: statement not reached > -:6: syntax error, unexpected end-of-input, expecting `end' or dummy end > > # Ruby 3.4.5 > -:3: warning: statement not reached > /usr/bin/ruby: -:5: syntax errors found (SyntaxError) > > Here’s a patch that updates the regex to account for it. Tests > pass with both Ruby 3.3 and 3.4. Thanks, that works, I've pushed the change to master. Curiously, in my testing with ruby 3.4.5 the executable name is not absolute, just 'ruby: '. That still works with your change. I wonder if you've managed to find the specific commit in Ruby that did that (or bugs.ruby-lang.org entry). This change log mentions some other changes in the output, but not this: https://www.ruby-lang.org/en/news/2024/12/25/ruby-3-4-0-released/ > - "^\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): \\(.*\\)$" > + "^\\(?:.*ruby: \\)?\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): \\(.*\\)$" We could also make the first wildcard non-greedy (.*?). Perhaps put an initial slash before it too, for faster matching, but I'm not sure how your variant of the output will look on Windows (perhaps it starts with 'c:/'). From unknown Thu Sep 11 20:48:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79257: 31.0.50; flymake's ruby-backend test fails with ruby 3.4.5 Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Aug 2025 21:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 79257 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: 79257@debbugs.gnu.org Received: via spool by 79257-submit@debbugs.gnu.org id=B79257.175615701523450 (code B ref 79257); Mon, 25 Aug 2025 21:24:02 +0000 Received: (at 79257) by debbugs.gnu.org; 25 Aug 2025 21:23:35 +0000 Received: from localhost ([127.0.0.1]:51599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uqef8-000668-DB for submit@debbugs.gnu.org; Mon, 25 Aug 2025 17:23:34 -0400 Received: from fhigh-a6-smtp.messagingengine.com ([103.168.172.157]:50595) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uqef3-00065k-Bc for 79257@debbugs.gnu.org; Mon, 25 Aug 2025 17:23:32 -0400 Received: from phl-compute-09.internal (phl-compute-09.internal [10.202.2.49]) by mailfhigh.phl.internal (Postfix) with ESMTP id 82044140018E; Mon, 25 Aug 2025 17:23:22 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-09.internal (MEProxy); Mon, 25 Aug 2025 17:23:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1756157002; x=1756243402; bh=tbN+/SVuSYPOnSsSwuUwAjwx7yd3ZDrV5OIKUO1/26M=; b= cveWjsu1pogavlZSmEKIugG8UUie3YTPU34erFu6iUeEAssYbzyVh1W1/D/D9EhE kl36M7vPjN48TntDRhF5DUrNV4ZFhh18CogSguXLOzjBAA2ywExPEmQm/48hVSlH PMI5vsHisB/ESTnYmqj1RFKLQcPN9fZv75h/wLTgFY9EnHqc3/WlEKS9TzquCUHM F7AUOJ01DVK5BBrbpZ4tui7LM17c6PS7cbhap5ENj5qkiqt18u/DFwNSvXpmWlnO 3hjB1Hnq5b6E16cRFdKD+WEeDw9s6P/eIVg95xA7and51isuJnWez5XvfTKa6dxT ykm6SLobFMXpmvymIANjjg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1756157002; x= 1756243402; bh=tbN+/SVuSYPOnSsSwuUwAjwx7yd3ZDrV5OIKUO1/26M=; b=f U78pEtrwQRNh9YOed7paZ+70Dy+aJ61e4MoZtCDE1P0yRMWzUDbfN/4ojH2WC4Fd bOTC1n8IaHd5vwtYlS64TFxYNOVFrFusLxW83CVx8+Ty4OUBUq47aQCvx82xfpQ0 VRmgs19YIFVW7aEP4CgqHrv2IEja5sIgOkjNrdmzbNaWrbBt7RMegJuJD4TQK79/ 2r6/3S3/VGSe3fnqXzzmKDKP2rMIBHKybxRO2kMxafIT4EnbZpjpgQwb7TqMDsfg FVpeNqK7ogiayP/TSPqLOihe0/3sS414rknkaO0nAiZhp4AV5bqPvJfvPePHZmru RZRiyyesDzGsDjXOLqFZw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddujeefgeehucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefujghffffkfgggtgfgsehtqhertddtreejnecuhfhrohhmpehjohhhnhcu mhhuhhhluceojhhmsehpuhgsrdhpihhnkheqnecuggftrfgrthhtvghrnhepuedvjeevff dtfeetfeehlefgjedtfeeiieelueevjeejveevhfekteevfeeiffffnecuffhomhgrihhn pehruhgshidqlhgrnhhgrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepjhhmsehpuhgsrdhpihhnkhdpnhgspghrtghpthhtohepvddp mhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjeelvdehjeesuggvsggsuhhgshdrgh hnuhdrohhrghdprhgtphhtthhopegumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 25 Aug 2025 17:23:21 -0400 (EDT) From: john muhl In-Reply-To: <0ce7e588-f6cd-4330-bab1-a0a24e876b61@gutov.dev> References: <874iu781if.fsf@pub.pink> <87qzx0he4m.fsf@pub.pink> <0ce7e588-f6cd-4330-bab1-a0a24e876b61@gutov.dev> Date: Mon, 25 Aug 2025 16:23:16 -0500 Message-ID: <87cy8jhz97.fsf@pub.pink> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) 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.7 (-) Dmitry Gutov writes: > Hi! > > On 24/08/2025 19:35, john muhl wrote: >> The cause is a change in the check output of new Ruby versions >> which include the location of the executable; e.g. >> # Ruby 3.3.8 >> -:3: warning: statement not reached >> -:6: syntax error, unexpected end-of-input, expecting `end' or dummy = end >> # Ruby 3.4.5 >> -:3: warning: statement not reached >> /usr/bin/ruby: -:5: syntax errors found (SyntaxError) >> Here=E2=80=99s a patch that updates the regex to account for it. Tests >> pass with both Ruby 3.3 and 3.4. > > Thanks, that works, I've pushed the change to master. > > Curiously, in my testing with ruby 3.4.5 the executable name is not > absolute, just 'ruby: '. That still works with your change. It seems to output however ruby gets invoked; e.g. $ /usr/bin/ruby -wc o.rb vs. $ ruby -wc o.rb > I wonder if you've managed to find the specific commit in Ruby that > did that (or bugs.ruby-lang.org entry). > This change log mentions some other changes in the output, but not > this: > https://www.ruby-lang.org/en/news/2024/12/25/ruby-3-4-0-released/ No. At first I thought it was something to do with the switch to the prism parser but using --parser=3Dparse.y doesn=E2=80=99t change that part of the output. >> - "^\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): \\(.*\\)$" >> + "^\\(?:.*ruby: \\)?\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): > \\(.*\\)$" > > We could also make the first wildcard non-greedy (.*?). > > Perhaps put an initial slash before it too, for faster matching, but > I'm not sure how your variant of the output will look on Windows > (perhaps it starts with 'c:/'). Unfortunately I have no way to test Windows stuff. From unknown Thu Sep 11 20:48:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79257: 31.0.50; flymake's ruby-backend test fails with ruby 3.4.5 Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Aug 2025 02:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 79257 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: john muhl Cc: 79257@debbugs.gnu.org Received: via spool by 79257-submit@debbugs.gnu.org id=B79257.175617362916889 (code B ref 79257); Tue, 26 Aug 2025 02:01:01 +0000 Received: (at 79257) by debbugs.gnu.org; 26 Aug 2025 02:00:29 +0000 Received: from localhost ([127.0.0.1]:52571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uqiz6-0004OL-Il for submit@debbugs.gnu.org; Mon, 25 Aug 2025 22:00:29 -0400 Received: from fhigh-a8-smtp.messagingengine.com ([103.168.172.159]:33541) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uqiyz-0004Iz-A6 for 79257@debbugs.gnu.org; Mon, 25 Aug 2025 22:00:23 -0400 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfhigh.phl.internal (Postfix) with ESMTP id 5BE0D140020E; Mon, 25 Aug 2025 22:00:14 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Mon, 25 Aug 2025 22:00:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1756173614; x=1756260014; bh=F0f6qf36GH9tZ7KLrxRCwLWfFUAJB60974y3L8L0Hpo=; b= mupJcW3w73fb9zcqmTge9+qoc2ry5N8cJOiNCaHL9kLiW8wfgaVzoo/+ol6soG32 HyyP7buoSZMZnNdMtQVY4cRXkHZOTHhMkx9itDTr9uNnQkHKV9QKBYn+/INp5UDH p6xu+w2TPbMxIh4/F2pEoqafUxRR4u4/i3erJQi+cddYdsnUgM36EsX4F5bDRYoA qagatze4Z+wqg8aLhpDpao/A5ZxPQIXCx8MvJz84PXVicfkWI3plolKBnOqUtE4Y +c0P6UowT24NiLEQCUXXXxWLb5NVr4YIBnYZg1DtJSEIPwgdmnPuFrSrsJB8IaFJ FH/+iqA8c64yt+tL02xXSQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1756173614; x= 1756260014; bh=F0f6qf36GH9tZ7KLrxRCwLWfFUAJB60974y3L8L0Hpo=; b=V US9pt/i+DYnPagmNe8y70bLtmkKHA1370X3E9Eaa+oMRbubr74sx9+YPzFo0KGkp Mljb8wrbTiZcgxKacpRkq5MXDTeUMZnagewdoMXU+Nk0uiqjJfAHnvaZKow7ypbH zQtamSInnrnZ0Pbw5EwvnnXCkSJnBDu87H+mIT8hb8v0XjtiAYCZ+s60ZsmKkuUl 8UZNhHTslk0783ZCnIgOe7bHyJlmxhhYOJ7UXUoOzMjNEs9TDIgSO0Waa/69APhs 0eFeB7eIilWp8WMNowxDejCHHuch7ZjXvXawAUMR1FdHwHh9gMW60o7oYmA3ku1w /CpZdyP7m8v4oZNUErNxg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddujeegtdduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeffmhhithhr hicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrthhtvg hrnhepudeihfdvieefvddvgfevvefhhfeiudeffeeggeekvdegieevgeeugeeggffgiedu necuffhomhgrihhnpehruhgshidqlhgrnhhgrdhorhhgnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghv pdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehjmh esphhusgdrphhinhhkpdhrtghpthhtohepjeelvdehjeesuggvsggsuhhgshdrghhnuhdr ohhrgh X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 25 Aug 2025 22:00:13 -0400 (EDT) Message-ID: <76df0954-2357-49d8-959d-b12aa0c1f155@gutov.dev> Date: Tue, 26 Aug 2025 05:00:11 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: <874iu781if.fsf@pub.pink> <87qzx0he4m.fsf@pub.pink> <0ce7e588-f6cd-4330-bab1-a0a24e876b61@gutov.dev> <87cy8jhz97.fsf@pub.pink> Content-Language: en-US From: Dmitry Gutov In-Reply-To: <87cy8jhz97.fsf@pub.pink> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) 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.7 (-) On 26/08/2025 00:23, john muhl wrote: >> Curiously, in my testing with ruby 3.4.5 the executable name is not >> absolute, just 'ruby: '. That still works with your change. > > It seems to output however ruby gets invoked; e.g. > > $ /usr/bin/ruby -wc o.rb > vs. > $ ruby -wc o.rb Ah yeah, that happens. It's different when going through rbenv's shim. I can invoke /home/dgutov/.rbenv/shims/ruby in full, the output will just have 'ruby'. >> I wonder if you've managed to find the specific commit in Ruby that >> did that (or bugs.ruby-lang.org entry). >> This change log mentions some other changes in the output, but not >> this: >> https://www.ruby-lang.org/en/news/2024/12/25/ruby-3-4-0-released/ > > No. At first I thought it was something to do with the switch to > the prism parser but using --parser=parse.y doesn’t change that > part of the output. Thanks for trying. From unknown Thu Sep 11 20:48:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79257: 31.0.50; flymake's ruby-backend test fails with ruby 3.4.5 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Aug 2025 02:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 79257 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: john muhl Cc: dmitry@gutov.dev, 79257@debbugs.gnu.org Received: via spool by 79257-submit@debbugs.gnu.org id=B79257.175617550122993 (code B ref 79257); Tue, 26 Aug 2025 02:32:01 +0000 Received: (at 79257) by debbugs.gnu.org; 26 Aug 2025 02:31:41 +0000 Received: from localhost ([127.0.0.1]:52700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uqjTI-0005ym-JC for submit@debbugs.gnu.org; Mon, 25 Aug 2025 22:31:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35400) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uqjTE-0005yV-5M for 79257@debbugs.gnu.org; Mon, 25 Aug 2025 22:31:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uqjT6-0007Ze-Ps; Mon, 25 Aug 2025 22:31:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=n6iQvXcHRuZ7ZwqidXWK9KAkD6d4KxC1L091L9yQJZw=; b=e6JfzpD5lmTnvinSoyPR pg/RRswZsseLTbene6oaSSAnubngbOoDcBXaV6gjJqg/O+ZT0LKx4Q1G8w36NlgKGEi+RPtuBNdUP BkGDx2BZcEAFirNwOmAUrYO2z5SF/zNaM0dGlSbrNFv1ww/cnLAVuRbEjqGA02bj9z2hfZvzKE7PU qK9ivvjUM9QJKJB8Q1ftuBvRiEhC0SrlAkhHiqqGWPrpg5A8OrQDSBWh91HdqpCI5ACYDnOnB+Xut aH12MTd4X2S795K15gazWFYc1jo/E2fxkXqej+Bf/vleO58IKGupP5WlVZ9KbZOTwMWsljf0BtiyW HOdqGNXnWcXOIw==; Date: Tue, 26 Aug 2025 05:31:18 +0300 Message-Id: <86tt1uvmo9.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87cy8jhz97.fsf@pub.pink> (message from john muhl on Mon, 25 Aug 2025 16:23:16 -0500) References: <874iu781if.fsf@pub.pink> <87qzx0he4m.fsf@pub.pink> <0ce7e588-f6cd-4330-bab1-a0a24e876b61@gutov.dev> <87cy8jhz97.fsf@pub.pink> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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 (---) > Cc: 79257@debbugs.gnu.org > From: john muhl > Date: Mon, 25 Aug 2025 16:23:16 -0500 > > Dmitry Gutov writes: > > > Hi! > > > > On 24/08/2025 19:35, john muhl wrote: > >> The cause is a change in the check output of new Ruby versions > >> which include the location of the executable; e.g. > >> # Ruby 3.3.8 > >> -:3: warning: statement not reached > >> -:6: syntax error, unexpected end-of-input, expecting `end' or dummy end > >> # Ruby 3.4.5 > >> -:3: warning: statement not reached > >> /usr/bin/ruby: -:5: syntax errors found (SyntaxError) > >> Here’s a patch that updates the regex to account for it. Tests > >> pass with both Ruby 3.3 and 3.4. > > > > Thanks, that works, I've pushed the change to master. > > > > Curiously, in my testing with ruby 3.4.5 the executable name is not > > absolute, just 'ruby: '. That still works with your change. > > It seems to output however ruby gets invoked; e.g. > > $ /usr/bin/ruby -wc o.rb > vs. > $ ruby -wc o.rb > > > I wonder if you've managed to find the specific commit in Ruby that > > did that (or bugs.ruby-lang.org entry). > > This change log mentions some other changes in the output, but not > > this: > > https://www.ruby-lang.org/en/news/2024/12/25/ruby-3-4-0-released/ > > No. At first I thought it was something to do with the switch to > the prism parser but using --parser=parse.y doesn’t change that > part of the output. > > >> - "^\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): \\(.*\\)$" > >> + "^\\(?:.*ruby: \\)?\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): > > \\(.*\\)$" > > > > We could also make the first wildcard non-greedy (.*?). > > > > Perhaps put an initial slash before it too, for faster matching, but > > I'm not sure how your variant of the output will look on Windows > > (perhaps it starts with 'c:/'). > > Unfortunately I have no way to test Windows stuff. If an absolute file name is expected there, we should allow it to begin with a drive letter on Windows. From unknown Thu Sep 11 20:48:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79257: 31.0.50; flymake's ruby-backend test fails with ruby 3.4.5 Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Aug 2025 03:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 79257 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: dmitry@gutov.dev, 79257@debbugs.gnu.org Received: via spool by 79257-submit@debbugs.gnu.org id=B79257.175618002027986 (code B ref 79257); Tue, 26 Aug 2025 03:47:01 +0000 Received: (at 79257) by debbugs.gnu.org; 26 Aug 2025 03:47:00 +0000 Received: from localhost ([127.0.0.1]:53035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uqkeB-0007HI-FU for submit@debbugs.gnu.org; Mon, 25 Aug 2025 23:47:00 -0400 Received: from fout-a3-smtp.messagingengine.com ([103.168.172.146]:35271) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uqke5-0007Gu-2X for 79257@debbugs.gnu.org; Mon, 25 Aug 2025 23:46:54 -0400 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id 5DC43EC04B6; Mon, 25 Aug 2025 23:46:47 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Mon, 25 Aug 2025 23:46:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1756180007; x=1756266407; bh=4i8CV1WNZVHR03JQ9zUjcVIfJNbL+84pHYDPnibuU1c=; b= YmNA5/aqBDIkdPCz5sGFz1BMssDk0yt2NMyxd7ZUnnXORJzlM5w7h/EW5XSVImBQ ILwrEJFNn/67XXuY5jf4MmhEwgdCDFCIMXmX7vm0o9Yoa9UR3lMYqkB3FU8w2gP7 trmohF6/a5p/b0r00WkDV4PjJsmq7YfSawXG8on35HH3MI3n0+XjQLVOjob6zepz JvHpyne91KiSfjqzR9fSbn6ip6MLWQePPdaNNUsPdTPOXeHFMfcimbJSWtwWIMWq Hh5r4o2JO1U2sYX5VI6V0WNqrXUmmd28Eo+Q4zwMts4DbqFclPoR4jkpS0lgMzpn 3kbD+JmFU4mTxveZd//zkQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1756180007; x= 1756266407; bh=4i8CV1WNZVHR03JQ9zUjcVIfJNbL+84pHYDPnibuU1c=; b=N 409ACzWz80EjoQcImj6NoSJLS+vy7RqRCaAtaNAUp6cqIZGY47EssJeKCCBzuOFm 4WWoP0GYLnsdvYCe6DFGBKijChLN4zxZw3IFxKFrJt2L95+IHzs8c87QZDb2uZiq 9A8kWs+XmckKsgrSLqE4bli+y0xaoBdtZXrIwM1Uf2j5F6g0myVlsBVUXunUkydC U56yP6GWLYGdvYAQDmhZCnaNr8WHOH9BXX92CCxCd3qT5jlVIzpjSqXVLsnNcHpX 7RIaf2frZYPq9b/7HLZ1AAdn2f1i/YDH9FIMknywIjb2PE4nivuLZxHlD+bxYPF1 rHs+enjaEe1VQvywvniEw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddujeegvdefucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefujghffffkfgggtgfgsehtqhertddtreejnecuhfhrohhmpehjohhhnhcu mhhuhhhluceojhhmsehpuhgsrdhpihhnkheqnecuggftrfgrthhtvghrnhepuedvjeevff dtfeetfeehlefgjedtfeeiieelueevjeejveevhfekteevfeeiffffnecuffhomhgrihhn pehruhgshidqlhgrnhhgrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepjhhmsehpuhgsrdhpihhnkhdpnhgspghrtghpthhtohepfedp mhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjeelvdehjeesuggvsggsuhhgshdrgh hnuhdrohhrghdprhgtphhtthhopegumhhithhrhiesghhuthhovhdruggvvhdprhgtphht thhopegvlhhiiiesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 25 Aug 2025 23:46:46 -0400 (EDT) From: john muhl In-Reply-To: <86tt1uvmo9.fsf@gnu.org> References: <874iu781if.fsf@pub.pink> <87qzx0he4m.fsf@pub.pink> <0ce7e588-f6cd-4330-bab1-a0a24e876b61@gutov.dev> <87cy8jhz97.fsf@pub.pink> <86tt1uvmo9.fsf@gnu.org> Date: Mon, 25 Aug 2025 22:46:40 -0500 Message-ID: <87349ed9sv.fsf@pub.pink> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) 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.7 (-) Eli Zaretskii writes: >> Cc: 79257@debbugs.gnu.org >> From: john muhl >> Date: Mon, 25 Aug 2025 16:23:16 -0500 >>=20 >> Dmitry Gutov writes: >>=20 >> > Hi! >> > >> > On 24/08/2025 19:35, john muhl wrote: >> >> The cause is a change in the check output of new Ruby versions >> >> which include the location of the executable; e.g. >> >> # Ruby 3.3.8 >> >> -:3: warning: statement not reached >> >> -:6: syntax error, unexpected end-of-input, expecting `end' or dum= my end >> >> # Ruby 3.4.5 >> >> -:3: warning: statement not reached >> >> /usr/bin/ruby: -:5: syntax errors found (SyntaxError) >> >> Here=E2=80=99s a patch that updates the regex to account for it. Tests >> >> pass with both Ruby 3.3 and 3.4. >> > >> > Thanks, that works, I've pushed the change to master. >> > >> > Curiously, in my testing with ruby 3.4.5 the executable name is not >> > absolute, just 'ruby: '. That still works with your change. >>=20 >> It seems to output however ruby gets invoked; e.g. >>=20 >> $ /usr/bin/ruby -wc o.rb >> vs. >> $ ruby -wc o.rb >>=20 >> > I wonder if you've managed to find the specific commit in Ruby that >> > did that (or bugs.ruby-lang.org entry). >> > This change log mentions some other changes in the output, but not >> > this: >> > https://www.ruby-lang.org/en/news/2024/12/25/ruby-3-4-0-released/ >>=20 >> No. At first I thought it was something to do with the switch to >> the prism parser but using --parser=3Dparse.y doesn=E2=80=99t change that >> part of the output. >>=20 >> >> - "^\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): \\(.*\\)$" >> >> + "^\\(?:.*ruby: \\)?\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): >> > \\(.*\\)$" >> > >> > We could also make the first wildcard non-greedy (.*?). >> > >> > Perhaps put an initial slash before it too, for faster matching, but >> > I'm not sure how your variant of the output will look on Windows >> > (perhaps it starts with 'c:/'). >>=20 >> Unfortunately I have no way to test Windows stuff. > > If an absolute file name is expected there, we should allow it to > begin with a drive letter on Windows. I don=E2=80=99t think it ever happens that ruby-flymake-simple would get an absolute path in the output. If you look there you=E2=80=99ll see it calls plain =E2=80=9Cruby -w -c=E2=80=9D (and I don=E2=80=99t see anyway to= customize that) so it will just have =E2=80=9Cruby: =E2=80=9D in the output. You have= to call Ruby with an absolute path to get one in the output. It shouldn=E2=80=99t break anything to drop the first =E2=80=9C.*=E2=80=9D. From unknown Thu Sep 11 20:48:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79257: 31.0.50; flymake's ruby-backend test fails with ruby 3.4.5 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Aug 2025 12:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 79257 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: john muhl Cc: dmitry@gutov.dev, 79257@debbugs.gnu.org Received: via spool by 79257-submit@debbugs.gnu.org id=B79257.175621094919138 (code B ref 79257); Tue, 26 Aug 2025 12:23:02 +0000 Received: (at 79257) by debbugs.gnu.org; 26 Aug 2025 12:22:29 +0000 Received: from localhost ([127.0.0.1]:54750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uqsh2-0004yb-95 for submit@debbugs.gnu.org; Tue, 26 Aug 2025 08:22:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58068) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uqsgx-0004y9-3k for 79257@debbugs.gnu.org; Tue, 26 Aug 2025 08:22:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uqsgm-0008Cu-22; Tue, 26 Aug 2025 08:22:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=kJu9ZKghPfUupqDqtAM/J+1sczAwmt6g8H73BgjTSjI=; b=TPlv8I3ybO9mPyJ0lPzI WoPB377luMRoTm07R+lujIvP5GZ+CBad68z40EfyfR+14pYefLrev+SFiyGaQ/7ID1La4z5rLiAkA A84fft/Af/lRofRqdU/oIGy5SdzdLeobdHYnogt4fde0h9p5hoe/q8GEt6ted8cFn2Q2ZfQnekDF7 ZgcJ+BE83HiLZghlIEZl4ottjlLMskmNvashTTZyEDwYSqVgjFEQceUO/3GXYme8W3cXzy0TzD1QE ohA1Di4TqavzKXj5upLSR4LdOvSJz2gmFplyS2QTjRA4uUJD3e+rEQdiVrqmTercUPKcUb07Qlx8/ BscDexGswuNH2A==; Date: Tue, 26 Aug 2025 15:22:04 +0300 Message-Id: <86ikiauvbn.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87349ed9sv.fsf@pub.pink> (message from john muhl on Mon, 25 Aug 2025 22:46:40 -0500) References: <874iu781if.fsf@pub.pink> <87qzx0he4m.fsf@pub.pink> <0ce7e588-f6cd-4330-bab1-a0a24e876b61@gutov.dev> <87cy8jhz97.fsf@pub.pink> <86tt1uvmo9.fsf@gnu.org> <87349ed9sv.fsf@pub.pink> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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 (---) > From: john muhl > Cc: dmitry@gutov.dev, 79257@debbugs.gnu.org > Date: Mon, 25 Aug 2025 22:46:40 -0500 > > Eli Zaretskii writes: > > >> Cc: 79257@debbugs.gnu.org > >> From: john muhl > >> Date: Mon, 25 Aug 2025 16:23:16 -0500 > >> > >> Dmitry Gutov writes: > >> > >> > Hi! > >> > > >> > On 24/08/2025 19:35, john muhl wrote: > >> >> The cause is a change in the check output of new Ruby versions > >> >> which include the location of the executable; e.g. > >> >> # Ruby 3.3.8 > >> >> -:3: warning: statement not reached > >> >> -:6: syntax error, unexpected end-of-input, expecting `end' or dummy end > >> >> # Ruby 3.4.5 > >> >> -:3: warning: statement not reached > >> >> /usr/bin/ruby: -:5: syntax errors found (SyntaxError) > >> >> Here’s a patch that updates the regex to account for it. Tests > >> >> pass with both Ruby 3.3 and 3.4. > >> > > >> > Thanks, that works, I've pushed the change to master. > >> > > >> > Curiously, in my testing with ruby 3.4.5 the executable name is not > >> > absolute, just 'ruby: '. That still works with your change. > >> > >> It seems to output however ruby gets invoked; e.g. > >> > >> $ /usr/bin/ruby -wc o.rb > >> vs. > >> $ ruby -wc o.rb > >> > >> > I wonder if you've managed to find the specific commit in Ruby that > >> > did that (or bugs.ruby-lang.org entry). > >> > This change log mentions some other changes in the output, but not > >> > this: > >> > https://www.ruby-lang.org/en/news/2024/12/25/ruby-3-4-0-released/ > >> > >> No. At first I thought it was something to do with the switch to > >> the prism parser but using --parser=parse.y doesn’t change that > >> part of the output. > >> > >> >> - "^\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): \\(.*\\)$" > >> >> + "^\\(?:.*ruby: \\)?\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): > >> > \\(.*\\)$" > >> > > >> > We could also make the first wildcard non-greedy (.*?). > >> > > >> > Perhaps put an initial slash before it too, for faster matching, but > >> > I'm not sure how your variant of the output will look on Windows > >> > (perhaps it starts with 'c:/'). > >> > >> Unfortunately I have no way to test Windows stuff. > > > > If an absolute file name is expected there, we should allow it to > > begin with a drive letter on Windows. > > I don’t think it ever happens that ruby-flymake-simple would get > an absolute path in the output. If you look there you’ll see it > calls plain “ruby -w -c” (and I don’t see anyway to customize > that) so it will just have “ruby: ” in the output. You have to > call Ruby with an absolute path to get one in the output. In the example you brought up, I see /usr/bin/ruby: -:5: syntax errors found (SyntaxError) The "/usr/bin/ruby" part is an absolute file name. Apologies if I'm confused. From unknown Thu Sep 11 20:48:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79257: 31.0.50; flymake's ruby-backend test fails with ruby 3.4.5 Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Aug 2025 14:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 79257 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: dmitry@gutov.dev, 79257@debbugs.gnu.org Received: via spool by 79257-submit@debbugs.gnu.org id=B79257.17562173308176 (code B ref 79257); Tue, 26 Aug 2025 14:09:02 +0000 Received: (at 79257) by debbugs.gnu.org; 26 Aug 2025 14:08:50 +0000 Received: from localhost ([127.0.0.1]:55922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uquLu-00027h-3B for submit@debbugs.gnu.org; Tue, 26 Aug 2025 10:08:50 -0400 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]:58471) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uquLk-00027E-KI for 79257@debbugs.gnu.org; Tue, 26 Aug 2025 10:08:40 -0400 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id A03FDEC0467; Tue, 26 Aug 2025 10:08:29 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Tue, 26 Aug 2025 10:08:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1756217309; x=1756303709; bh=BjAdmY3ETOLJ27jigr9bYtBwt+fJ0S+bDr0rpYdYUf8=; b= ZoAkjAEsAZsdK4aRx19Xt/KEi6HAIqvyLBlajey6C4Vq+NcXHZ0JHWYByK1KTtPj 1krpMalZtCtyB1Ds+S3PHKhhRRD8MjE63tk7SVpQY99C+D/9v9tJNcAhPiwwqnEI QrFeqEGj9gcqqHUm70QwdSYxNODyTeKCaj6gpBCeTLUb8xmNa5Z9fMLaoDk/6yEQ C+N7uWVUDCPKoFGZ7coKiIpYYtyOJXQfkL1RXL2yLlaxzYkxd5armJPUwksNvR9X hgDhvW+lrU3/LJYOdonI089JMYsS7JdWRVc/SBTNFAZhyMcX75sKA7ZFoTyFkTB0 XAJGOfahzyQYuwpmLv7VHA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1756217309; x= 1756303709; bh=BjAdmY3ETOLJ27jigr9bYtBwt+fJ0S+bDr0rpYdYUf8=; b=B v4iB/vGXrV2V8sxVptPgX/So2D97G6+iHB5zJD6ckbaJ4aohFXet15KNcipTNgrJ ZBLfKG5aB5YAY+fPPuOoV2kyyw5mZBNLEkxWO5RnzHAf/5sWCh73jQ5+g4mHjLfk l4kLCAtl6ZbF+ORmlIRp9VKKjLJu3eF3LiFBm76gyP7xj7M2gJCL18bntGlc5RZs YRWNZTBg+3d+tzMtAniuZR2NS2ne5n19O7Tm7XFHsaclfZ9YaGrt3FZHdbUspnne /KyRbrBwWexbMvWx1a2N9QuDA1gZ6CGJL2UpAXXh2Sll9a9M08+E+oWlgh0gbgMI VijuqDi9zpRsHwu0RIzTA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddujeehgeejucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefujghffffkfgggtgfgsehtqhertddtreejnecuhfhrohhmpehjohhhnhcu mhhuhhhluceojhhmsehpuhgsrdhpihhnkheqnecuggftrfgrthhtvghrnhepuedvjeevff dtfeetfeehlefgjedtfeeiieelueevjeejveevhfekteevfeeiffffnecuffhomhgrihhn pehruhgshidqlhgrnhhgrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepjhhmsehpuhgsrdhpihhnkhdpnhgspghrtghpthhtohepfedp mhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjeelvdehjeesuggvsggsuhhgshdrgh hnuhdrohhrghdprhgtphhtthhopegumhhithhrhiesghhuthhovhdruggvvhdprhgtphht thhopegvlhhiiiesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 26 Aug 2025 10:08:28 -0400 (EDT) From: john muhl In-Reply-To: <86ikiauvbn.fsf@gnu.org> References: <874iu781if.fsf@pub.pink> <87qzx0he4m.fsf@pub.pink> <0ce7e588-f6cd-4330-bab1-a0a24e876b61@gutov.dev> <87cy8jhz97.fsf@pub.pink> <86tt1uvmo9.fsf@gnu.org> <87349ed9sv.fsf@pub.pink> <86ikiauvbn.fsf@gnu.org> Date: Tue, 26 Aug 2025 09:08:17 -0500 Message-ID: <875xea41m6.fsf@pub.pink> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) 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.7 (-) Eli Zaretskii writes: >> From: john muhl >> Cc: dmitry@gutov.dev, 79257@debbugs.gnu.org >> Date: Mon, 25 Aug 2025 22:46:40 -0500 >>=20 >> Eli Zaretskii writes: >>=20 >> >> Cc: 79257@debbugs.gnu.org >> >> From: john muhl >> >> Date: Mon, 25 Aug 2025 16:23:16 -0500 >> >>=20 >> >> Dmitry Gutov writes: >> >>=20 >> >> > Hi! >> >> > >> >> > On 24/08/2025 19:35, john muhl wrote: >> >> >> The cause is a change in the check output of new Ruby versions >> >> >> which include the location of the executable; e.g. >> >> >> # Ruby 3.3.8 >> >> >> -:3: warning: statement not reached >> >> >> -:6: syntax error, unexpected end-of-input, expecting `end' or = dummy end >> >> >> # Ruby 3.4.5 >> >> >> -:3: warning: statement not reached >> >> >> /usr/bin/ruby: -:5: syntax errors found (SyntaxError) >> >> >> Here=E2=80=99s a patch that updates the regex to account for it. T= ests >> >> >> pass with both Ruby 3.3 and 3.4. >> >> > >> >> > Thanks, that works, I've pushed the change to master. >> >> > >> >> > Curiously, in my testing with ruby 3.4.5 the executable name is not >> >> > absolute, just 'ruby: '. That still works with your change. >> >>=20 >> >> It seems to output however ruby gets invoked; e.g. >> >>=20 >> >> $ /usr/bin/ruby -wc o.rb >> >> vs. >> >> $ ruby -wc o.rb >> >>=20 >> >> > I wonder if you've managed to find the specific commit in Ruby that >> >> > did that (or bugs.ruby-lang.org entry). >> >> > This change log mentions some other changes in the output, but not >> >> > this: >> >> > https://www.ruby-lang.org/en/news/2024/12/25/ruby-3-4-0-released/ >> >>=20 >> >> No. At first I thought it was something to do with the switch to >> >> the prism parser but using --parser=3Dparse.y doesn=E2=80=99t change = that >> >> part of the output. >> >>=20 >> >> >> - "^\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): \\(.*\\)$" >> >> >> + "^\\(?:.*ruby: \\)?\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): >> >> > \\(.*\\)$" >> >> > >> >> > We could also make the first wildcard non-greedy (.*?). >> >> > >> >> > Perhaps put an initial slash before it too, for faster matching, but >> >> > I'm not sure how your variant of the output will look on Windows >> >> > (perhaps it starts with 'c:/'). >> >>=20 >> >> Unfortunately I have no way to test Windows stuff. >> > >> > If an absolute file name is expected there, we should allow it to >> > begin with a drive letter on Windows. >>=20 >> I don=E2=80=99t think it ever happens that ruby-flymake-simple would get >> an absolute path in the output. If you look there you=E2=80=99ll see it >> calls plain =E2=80=9Cruby -w -c=E2=80=9D (and I don=E2=80=99t see anyway= to customize >> that) so it will just have =E2=80=9Cruby: =E2=80=9D in the output. You h= ave to >> call Ruby with an absolute path to get one in the output. > > In the example you brought up, I see > > /usr/bin/ruby: -:5: syntax errors found (SyntaxError) > > The "/usr/bin/ruby" part is an absolute file name. > > Apologies if I'm confused. That output is from running ruby directly from the command line not from ruby-flymake-simple. I had different ruby versions installed to compare output and it was easier to do that from outside Emacs and using the full path to the executable rather than fiddling with PATH or messing with symlinks. $ cat test/lisp/progmodes/flymake-resources/test.rb | ruby -w -c -:3: warning: statement not reached ruby: -:5: syntax errors found (SyntaxError) $ cat test/lisp/progmodes/flymake-resources/test.rb | /usr/bin/ruby -w -c -:3: warning: statement not reached /usr/bin/ruby: -:5: syntax errors found (SyntaxError) r-f-s always does =E2=80=9Cruby -w -c=E2=80=9D like the first example so it doesn=E2=80=99t get an absolute path in the output. From unknown Thu Sep 11 20:48:52 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: john muhl Subject: bug#79257: closed (Re: bug#79257: 31.0.50; flymake's ruby-backend test fails with ruby 3.4.5) Message-ID: References: <79168838-7581-4f0a-bf34-85fc2db2428a@gutov.dev> <874iu781if.fsf@pub.pink> X-Gnu-PR-Message: they-closed 79257 X-Gnu-PR-Package: emacs Reply-To: 79257@debbugs.gnu.org Date: Tue, 26 Aug 2025 21:12:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1756242722-25895-1" This is a multi-part message in MIME format... ------------=_1756242722-25895-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #79257: 31.0.50; flymake's ruby-backend test fails with ruby 3.4.5 which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 79257@debbugs.gnu.org. --=20 79257: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D79257 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1756242722-25895-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 79257-done) by debbugs.gnu.org; 26 Aug 2025 21:11:13 +0000 Received: from localhost ([127.0.0.1]:57023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ur0wi-0006i3-KO for submit@debbugs.gnu.org; Tue, 26 Aug 2025 17:11:12 -0400 Received: from fout-a6-smtp.messagingengine.com ([103.168.172.149]:49605) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ur0wf-0006hT-2Z for 79257-done@debbugs.gnu.org; Tue, 26 Aug 2025 17:11:09 -0400 Received: from phl-compute-12.internal (phl-compute-12.internal [10.202.2.52]) by mailfout.phl.internal (Postfix) with ESMTP id 1AFA6EC03E8; Tue, 26 Aug 2025 17:11:03 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-12.internal (MEProxy); Tue, 26 Aug 2025 17:11:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1756242663; x=1756329063; bh=9e4KEIBgzNRkzSS9YQSYb5yJpbmaJRhUdMv5CAAhj4M=; b= gC1wk2LO03l/0LV9+9XRktnzfNeuNdwxFxEnO4c+XNSFdTQ8SLaYdF7kSnxWzhF3 zCHi9bNdY9ALCWGCY4loiR1+xtc/b2otgUa2oOAOIwr4UTjSXxIufFwVGu20ulTX sJj6QY5JTwqHqfwNFwaSelEXD4v4CbulseCEpoQbJr9glngYzWrbafCTZYDpNac4 CO3vhJLMWMjVludD7UwGymnAfaDs6/SfIyUJfBnfwtm0fc8+0WeTxKiy1n04+GjA 6lvZdkfYhoiMqC0HQZnMjbjwNxaJ3WWcMdc0Fy5bTX7xEcwNgCy8j7RKzNLq2kwE 2zbbkpOQTxSbR8lmAID9Bg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1756242663; x= 1756329063; bh=9e4KEIBgzNRkzSS9YQSYb5yJpbmaJRhUdMv5CAAhj4M=; b=T Yx8OeQD30jQPhFtalArl78IYw6tJX244lxU6e94YqdXGPKTO7eswvBBlu65Z6Jc4 A+XkXQrjH5V5FIy7pQsCFRQeTBzlagb1i7dbIn1rqeM4PErgs4ZuCk7b6bv06zo8 vcJKr3Rl8HqnUqMFI/HUGOPX1qFgBTfXd8SLUJYXC3ANARPFrB5jhNoc1Wnq2n8y HbEgPD01VayU8AQ0OkSOycyjtfzSP71jw4AMfXswNKLmlTd+Ju30J0qaWU3YEp67 iOrr7EOILKwFRgSBuOTfJbBqhR4ZCrcw3dLuV6IDdCH56TQrRY2PdAZiFuRuHOp1 IOp+RzegcBv5vARPvMcRw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddujeeifedvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeffmhhithhr hicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrthhtvg hrnhepgeelfeetkefghfdvhfdtgeevveevteetgeetveegtedthefhudekteehffeukeek necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughmih htrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhp ohhuthdprhgtphhtthhopehjmhesphhusgdrphhinhhkpdhrtghpthhtohepvghlihiise hgnhhurdhorhhgpdhrtghpthhtohepjeelvdehjedqughonhgvseguvggssghughhsrdhg nhhurdhorhhg X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 26 Aug 2025 17:11:00 -0400 (EDT) Message-ID: <79168838-7581-4f0a-bf34-85fc2db2428a@gutov.dev> Date: Wed, 27 Aug 2025 00:10:58 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#79257: 31.0.50; flymake's ruby-backend test fails with ruby 3.4.5 To: john muhl , Eli Zaretskii References: <874iu781if.fsf@pub.pink> <87qzx0he4m.fsf@pub.pink> <0ce7e588-f6cd-4330-bab1-a0a24e876b61@gutov.dev> <87cy8jhz97.fsf@pub.pink> <86tt1uvmo9.fsf@gnu.org> <87349ed9sv.fsf@pub.pink> <86ikiauvbn.fsf@gnu.org> <875xea41m6.fsf@pub.pink> Content-Language: en-US From: Dmitry Gutov In-Reply-To: <875xea41m6.fsf@pub.pink> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 79257-done Cc: 79257-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.7 (-) On 26/08/2025 17:08, john muhl wrote: > That output is from running ruby directly from the command line > not from ruby-flymake-simple. I had different ruby versions > installed to compare output and it was easier to do that from > outside Emacs and using the full path to the executable rather > than fiddling with PATH or messing with symlinks. > > $ cat test/lisp/progmodes/flymake-resources/test.rb | ruby -w -c > -:3: warning: statement not reached > ruby: -:5: syntax errors found (SyntaxError) > > $ cat test/lisp/progmodes/flymake-resources/test.rb | /usr/bin/ruby -w -c > -:3: warning: statement not reached > /usr/bin/ruby: -:5: syntax errors found (SyntaxError) > > r-f-s always does “ruby -w -c” like the first example so it > doesn’t get an absolute path in the output. Great! Thanks, I've shortened it. ------------=_1756242722-25895-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Aug 2025 20:17:52 +0000 Received: from localhost ([127.0.0.1]:43675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1unNLc-0001ET-AO for submit@debbugs.gnu.org; Sat, 16 Aug 2025 16:17:52 -0400 Received: from lists.gnu.org ([2001:470:142::17]:37612) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1unNLa-0001E6-NR for submit@debbugs.gnu.org; Sat, 16 Aug 2025 16:17: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 1unNLV-0002l1-Bt for bug-gnu-emacs@gnu.org; Sat, 16 Aug 2025 16:17:45 -0400 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1unNLT-0004Pi-Er for bug-gnu-emacs@gnu.org; Sat, 16 Aug 2025 16:17:45 -0400 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id 3A2DAEC00A2 for ; Sat, 16 Aug 2025 16:17:40 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Sat, 16 Aug 2025 16:17:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm3; t=1755375460; x=1755461860; bh=Dv/GZKxrt2vO//OXVBlga2U1pyz9WXBu HXXvsAc1NnE=; b=SBzcZgKnJ8RgEXeZItw4nalj6QB0BkfpVUGwIjvA5qQ6TCCA Hqx21STP06GD5nweKTznS06d14mcySSIoBHpUyWcvesKt3d6WPy+Bd6P6A6oTO/H hLxS+bxkyHYlwWblhgV13Nwx7to1NujbuA+jQVM00jj1qTNx1Gomx/GFt6VUs12v PWUCpnwjo+NbB4NwCOZT8wWC0b65hFBNFEOWFzF9BwSmfvTO0Qhka7fXwTgt/TkB BxRS3tNleeObhkozlWvp5uSeTCeRk36z9StLVfGZ/9TN5fWMRXN4A5MFxbox+3G2 lZEq7KzJO7qAs2BgsN2FiCCdYPXo0bciHEzlxw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1755375460; x= 1755461860; bh=Dv/GZKxrt2vO//OXVBlga2U1pyz9WXBuHXXvsAc1NnE=; b=P B/+g05gcvqJAZL2g3hNOFuC7uwyChduloUavCgodUIXCjDlUCg5saEzYHIDNo/93 LkYMP+Nx4oiFgSKf7DL3Ol9zQPO5CGJp1Cch+BprnnWda6U+8ystncG+GcUuW339 +V6ucDqYczdoiJOVLDD0evYza7aazGLvXKFbdPYnZKab8wOB6ySx+7re1C0BCCw9 On5W5tQTWUAVGoC9rrO6/YvLH+KJF2TLTsv/a5B5Ig4h75VyO3E8RWJc+XcfBzzg v3g9yqeB/5WVN9jh1Emz72o+Qi2YfoTlpqEersfEZFrIf0hlVbQY+4kIpjqkp/SM XaBGMUO9KtwB3RQQLwB6A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddugeejjeelucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkfgggtgesthdtredttdertd enucfhrhhomhepjhhohhhnuchmuhhhlhcuoehjmhesphhusgdrphhinhhkqeenucggtffr rghtthgvrhhnpedtvdekhefgvedvgeefkeeuffejtdffgefftdeukeekgfekleejfedthe ekueefteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehjmhesphhusgdrphhinhhkpdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpoh huthdprhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 16 Aug 2025 16:17:39 -0400 (EDT) From: john muhl To: bug-gnu-emacs@gnu.org Subject: 31.0.50; flymake's ruby-backend test fails with ruby 3.4.5 X-Debbugs-Cc: Date: Sat, 16 Aug 2025 15:17:28 -0500 Message-ID: <874iu781if.fsf@pub.pink> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=103.168.172.145; envelope-from=jm@pub.pink; helo=fout-a2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) 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: -0.3 (/) The test passes with Ruby 3.3.8: $ ruby --version ruby 3.3.8 (2025-04-09 revision b200bad6cd) [x86_64-linux-gnu] $ make -C test lisp/progmodes/flymake-tests.log make: Entering directory '/root/emacs/test' GEN lisp/progmodes/flymake-tests.log make: Leaving directory '/root/emacs/test' $ cat test/lisp/progmodes/flymake-tests.log Running 10 tests (2025-08-16 20:14:31+0000, selector `(not (or (tag :unstable) (tag :nativecomp)))') passed 1/10 different-diagnostic-types (1.064348 sec) passed 2/10 dummy-backends (1.001868 sec) passed 3/10 eob-region-and-trailing-newline (0.000263 sec) passed 4/10 foreign-diagnostics (2.039984 sec) passed 5/10 included-c-header-files (2.038547 sec) passed 6/10 perl-backend (1.013309 sec) passed 7/10 recurrent-backend (1.002002 sec) passed 8/10 ruby-backend (1.015112 sec) passed 9/10 warning-predicate-function-gcc (1.017387 sec) passed 10/10 warning-predicate-rx-gcc (1.019503 sec) Ran 10 tests, 10 results as expected, 0 unexpected (2025-08-16 20:14:42+0000, 11.213646 sec) Then fails with 3.4.5: $ ruby --version ruby 3.4.5 (2025-07-16 revision 20cda200d3) +PRISM [x86_64-linux] $ make -C test lisp/progmodes/flymake-tests.log make[1]: Entering directory '/root/emacs/test' GEN lisp/progmodes/flymake-tests.log Running 10 tests (2025-08-16 20:09:51+0000, selector `(not (or (tag :unstable) (tag :nativecomp)))') passed 1/10 different-diagnostic-types (1.066408 sec) passed 2/10 dummy-backends (1.001843 sec) passed 3/10 eob-region-and-trailing-newline (0.000216 sec) passed 4/10 foreign-diagnostics (2.041202 sec) passed 5/10 included-c-header-files (2.038718 sec) passed 6/10 perl-backend (1.014080 sec) passed 7/10 recurrent-backend (1.002050 sec) Test ruby-backend backtrace: signal(ert-test-failed (((should (eq 'flymake-error (face-at-point)) ert-fail(((should (eq 'flymake-error (face-at-point))) :form (eq fly (if (unwind-protect (setq value-41 (apply fn-39 args-40)) (setq form (let (form-description-43) (if (unwind-protect (setq value-41 (apply (let ((value-41 'ert-form-evaluation-aborted-42)) (let (form-descrip (let* ((fn-39 #'eq) (args-40 (condition-case err (list 'flymake-erro #f(lambda () [t] (flymake-goto-next-error) (let* ((fn-34 #'eq) (args funcall(#f(lambda () [t] (flymake-goto-next-error) (let* ((fn-34 #'e (save-excursion (if sev-pred-supplied-p (progn (setq flymake-proc-di (save-current-buffer (set-buffer buffer) (save-excursion (if sev-pre (unwind-protect (save-current-buffer (set-buffer buffer) (save-excur (let* ((file (expand-file-name file flymake-tests-data-directory)) ( (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((m (let* ((sev-pred-supplied-p (plist-member --cl-rest-- ':severity-pre flymake-tests--call-with-fixture(#f(lambda () [t] (flymake-goto-next (let* ((process-environment (cons (format "HOME=%s" tempdir) process (progn (let* ((process-environment (cons (format "HOME=%s" tempdir) (unwind-protect (progn (let* ((process-environment (cons (format "HO (let* ((coding-system-for-write nil) (temp-file (file-name-as-direct #f(lambda () [ruby-mode-hook t] (let* ((fn-29 #'executable-find) (ar #f(compiled-function () #)() handler-bind-1(#f(compiled-function () # ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name ruby-backend :documentation "Test the ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp)))) ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-l command-line() normal-top-level() Test ruby-backend condition: (ert-test-failed ((should (eq 'flymake-error (face-at-point))) :form (eq flymake-error flymake-warning) :value nil)) FAILED 8/10 ruby-backend (1.013506 sec) at lisp/progmodes/flymake-tests.el:123 passed 9/10 warning-predicate-function-gcc (1.017136 sec) passed 10/10 warning-predicate-rx-gcc (1.019550 sec) Ran 10 tests, 9 results as expected, 1 unexpected (2025-08-16 20:10:02+0000, 11.275721 sec) 1 unexpected results: FAILED ruby-backend ------------=_1756242722-25895-1-- From unknown Thu Sep 11 20:48:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79257: 31.0.50; flymake's ruby-backend test fails with ruby 3.4.5 Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Aug 2025 00:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 79257 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 79257@debbugs.gnu.org Cc: dmitry@gutov.dev Received: via spool by 79257-submit@debbugs.gnu.org id=B79257.175625429232722 (code B ref 79257); Wed, 27 Aug 2025 00:25:01 +0000 Received: (at 79257) by debbugs.gnu.org; 27 Aug 2025 00:24:52 +0000 Received: from localhost ([127.0.0.1]:57654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ur3y7-0008Vi-Vx for submit@debbugs.gnu.org; Tue, 26 Aug 2025 20:24:52 -0400 Received: from fout-b8-smtp.messagingengine.com ([202.12.124.151]:36845) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ur3y2-0008VM-7L for 79257@debbugs.gnu.org; Tue, 26 Aug 2025 20:24:49 -0400 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfout.stl.internal (Postfix) with ESMTP id ECC6F1D00185; Tue, 26 Aug 2025 20:24:39 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Tue, 26 Aug 2025 20:24:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1756254279; x=1756340679; bh=W+TIWjxBOfQOZmiroHbtS1YLkZYZTG20rT7FgYX30II=; b= hiOW3XH2z1kixg7c+cTD8gngykBli1LjWl+MDBzBwvItBgX4J3zmIfWzvoNRWSnN 1N/vbfWuWNj7NLbG5+PyS7Dd8C2PhFmy7Wy4EF9XI70MfBcDZslS5wXCn3Y4wNvs uccgpggyAgzsebo4wgP7sOo27aXZOQmOxwoRcxrxUPCiZa68YkqTIorzRq6npAdd N5TY/0gJRNUvDqm6tqBkaOjQZQU3oPZzcK8HfxxehjBOG/8PcxZrPjJd0x7RH0XB 0WZS1wAhEYEbES3isLCORs4gxeMGo3+NqlJ7E0+/NdK9T3PbMS1WhGI73DGcH2B2 44kU9AUA2jcRcowfbIPD2Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1756254279; x= 1756340679; bh=W+TIWjxBOfQOZmiroHbtS1YLkZYZTG20rT7FgYX30II=; b=A xBGDNYyW3opvOJk1l+50I8IKtLx/j6Duth41L4Ln5GgHXdt16h2yC76t2LS4Q1w4 3akkDuhTEAbCLJduDCUVeA1knA5kwDxlWV4+tMplDQAKkf0uLCMhns5T8PFjIRsJ 6zOI5ZUZjsxAh73+QYzoXHyXpLT+c5QOzx1hGvyi0Z5/HhfbUsq9rZgBbUfkLiI+ 5xVyLzNHFeHVCsdyivQXDovNnCvRYeLP3TwHE3WKGImPPMxi+Kw5vbqdMAU+Ns4k UwwWoEx3K5A0zAI+75okZnZmx6Vfe0TzOMgILa6t9lt1NlVwWF/aVFKTW/qb/SZm Buyo2aiN43pbQjtRbibmg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddujeeijedtucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpefhvfevufgjfhffkfgfgggtgfesthhqre dttderjeenucfhrhhomhepjhhohhhnuchmuhhhlhcuoehjmhesphhusgdrphhinhhkqeen ucggtffrrghtthgvrhhnpedtjeethfefveevgfevheehtddvteejveejieffteehheehff fgffeuleeiueejffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehjmhesphhusgdrphhinhhkpdhnsggprhgtphhtthhopedvpdhmohguvgepsh hmthhpohhuthdprhgtphhtthhopegumhhithhrhiesghhuthhovhdruggvvhdprhgtphht thhopeejledvheejseguvggssghughhsrdhgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 26 Aug 2025 20:24:39 -0400 (EDT) From: john muhl In-Reply-To: <79168838-7581-4f0a-bf34-85fc2db2428a@gutov.dev> References: <874iu781if.fsf@pub.pink> <87qzx0he4m.fsf@pub.pink> <0ce7e588-f6cd-4330-bab1-a0a24e876b61@gutov.dev> <87cy8jhz97.fsf@pub.pink> <86tt1uvmo9.fsf@gnu.org> <87349ed9sv.fsf@pub.pink> <86ikiauvbn.fsf@gnu.org> <875xea41m6.fsf@pub.pink> <79168838-7581-4f0a-bf34-85fc2db2428a@gutov.dev> Date: Tue, 26 Aug 2025 19:24:33 -0500 Message-ID: <877bypzk5a.fsf@pub.pink> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) 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.7 (-) Dmitry Gutov writes: > On 26/08/2025 17:08, john muhl wrote: >> That output is from running ruby directly from the command line >> not from ruby-flymake-simple. I had different ruby versions >> installed to compare output and it was easier to do that from >> outside Emacs and using the full path to the executable rather >> than fiddling with PATH or messing with symlinks. >> $ cat test/lisp/progmodes/flymake-resources/test.rb | ruby -w -c >> -:3: warning: statement not reached >> ruby: -:5: syntax errors found (SyntaxError) >> $ cat test/lisp/progmodes/flymake-resources/test.rb | >> /usr/bin/ruby -w -c >> -:3: warning: statement not reached >> /usr/bin/ruby: -:5: syntax errors found (SyntaxError) >> r-f-s always does =E2=80=9Cruby -w -c=E2=80=9D like the first example so= it >> doesn=E2=80=99t get an absolute path in the output. > > Great! Thanks, I've shortened it. (Oops. My test runners were offline and I mistook their silence for success). I ran the tests on Fedora 42 and they=E2=80=99re still broke. There I find: $ which ruby /usr/sbin/ruby $ cat /usr/sbin/ruby #!/usr/bin/bash declare -A INTERPRETER_LIST INTERPRETER_LIST=3D([_jruby_]=3D/usr/bin/jruby [_mri_]=3D/usr/bin/ruby-mr= i) ... many more lines Which as you can see both turns =E2=80=9Cruby=E2=80=9D into an absolute pat= h and one that doesn=E2=80=99t actually end with =E2=80=9Cruby=E2=80=9D so the bu= ffer r-f-s sees is like this: -:3: warning: statement not reached /usr/bin/ruby-mri: -:5: syntax errors found (SyntaxError) 3 | print "not reached" 4 | something 5 | oops | ^ unexpected end-of-input, assuming it is closing the parent = top level context 6 |=20 | ^ expected an `end` to close the `def` statement I guess the INTERPRETER_LIST thing means there is even some way to turn =E2=80=9Cruby=E2=80=9D into =E2=80=9C/usr/bin/jruby=E2=80=9D in the r-= f-s buffer. From unknown Thu Sep 11 20:48:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79257: 31.0.50; flymake's ruby-backend test fails with ruby 3.4.5 Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Aug 2025 01:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 79257 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: john muhl , 79257@debbugs.gnu.org Received: via spool by 79257-submit@debbugs.gnu.org id=B79257.175625931816812 (code B ref 79257); Wed, 27 Aug 2025 01:49:02 +0000 Received: (at 79257) by debbugs.gnu.org; 27 Aug 2025 01:48:38 +0000 Received: from localhost ([127.0.0.1]:57908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ur5H8-0004N1-Ma for submit@debbugs.gnu.org; Tue, 26 Aug 2025 21:48:38 -0400 Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]:47057) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ur5H3-0004MX-Rh for 79257@debbugs.gnu.org; Tue, 26 Aug 2025 21:48:31 -0400 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id BD70B14000F6; Tue, 26 Aug 2025 21:48:23 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Tue, 26 Aug 2025 21:48:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1756259303; x=1756345703; bh=h67F4OssQPjLrocHt/KuSfLIgv4Ub20NZ1YD0ryQoi4=; b= sWfkqABZ2mXjZqJ6pMk2aQGlEDYe6CantR+1XtcXfrIJKDjLmK9jIoiFzAtX/3U6 PRZ4DLLSct8HVIPM/GWz4f2qYMPtqe1bYlrOBV6zS4z+xjU1amqsyOvIEw4VmdfT C8LysqfDA7NzdWfovCAZuTguHL4CssLfSF2ose6dn33zC3MP0lxjbRFIqFAef+Tu 6qjBTsaUBX54pKw6J2InSg0pBB+k3Aok8wK4hDSUExf53z9TECKN7qrFUVsCal+t rB0tuKlGiLT735U3T0hYMVoP5d7ZbuVF77wYKN2uV9JllQk7YJRFimT2wrgVIKi6 6iOd9UO1HcC1Ms3BFJtf8A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1756259303; x=1756345703; bh=h 67F4OssQPjLrocHt/KuSfLIgv4Ub20NZ1YD0ryQoi4=; b=A9f/h5pBnDLAUpExs oSkmnwSdtiyW572WYL6CQ+92jMPi1I0Lb5KtJJouzx0HygKYUeZr/GpSbKl+4WEE BU04zcHahn6zKfZgrUw49dIb4LjAmoj3rnXPzpi/QaD0P4OzMLii5io0/Mw8rSrt GL80kcuVkrq+REkNg9JAh+jF9hHz9PuZpZ6Z5/4O1z6YeBsYWaIWqtkliJrxmBQt bLTBv00ATmBQDM7LeuE/bafIpUf5iHk8YoywVGmxlvAzb68PUMAI7AmGt50ZJ0P/ X36YWUGgheydE3z4IqEp8z6u0Yffxrg9GRBSH7YJQ4JCiANmxDeIULWsPwV1EwIh 9zlYQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddujeeikeeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvfhfhjggtgfesthekredttddvjeenucfhrhhomhepffhmihhtrhih ucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtthgvrh hnpeegueegteffuddvjeevvdelleeitdeftdduhfeffeffjedukeevjedvfeffgfevgeen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumhhith hrhiesghhuthhovhdruggvvhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphho uhhtpdhrtghpthhtohepjhhmsehpuhgsrdhpihhnkhdprhgtphhtthhopeejledvheejse guvggssghughhsrdhgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 26 Aug 2025 21:48:22 -0400 (EDT) Message-ID: Date: Wed, 27 Aug 2025 04:48:20 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: <874iu781if.fsf@pub.pink> <87qzx0he4m.fsf@pub.pink> <0ce7e588-f6cd-4330-bab1-a0a24e876b61@gutov.dev> <87cy8jhz97.fsf@pub.pink> <86tt1uvmo9.fsf@gnu.org> <87349ed9sv.fsf@pub.pink> <86ikiauvbn.fsf@gnu.org> <875xea41m6.fsf@pub.pink> <79168838-7581-4f0a-bf34-85fc2db2428a@gutov.dev> <877bypzk5a.fsf@pub.pink> Content-Language: en-US From: Dmitry Gutov In-Reply-To: <877bypzk5a.fsf@pub.pink> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) 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.7 (-) On 27/08/2025 03:24, john muhl wrote: > (Oops. My test runners were offline and I mistook their silence > for success). I ran the tests on Fedora 42 and they’re still > broke. There I find: > > $ which ruby > /usr/sbin/ruby > > $ cat /usr/sbin/ruby > #!/usr/bin/bash > declare -A INTERPRETER_LIST > INTERPRETER_LIST=([_jruby_]=/usr/bin/jruby [_mri_]=/usr/bin/ruby-mri) > ... many more lines > > Which as you can see both turns “ruby” into an absolute path and > one that doesn’t actually end with “ruby” so the buffer r-f-s sees > is like this: > > -:3: warning: statement not reached > /usr/bin/ruby-mri: -:5: syntax errors found (SyntaxError) > 3 | print "not reached" > 4 | something > 5 | oops > | ^ unexpected end-of-input, assuming it is closing the parent top level context > 6 | > | ^ expected an `end` to close the `def` statement > > I guess the INTERPRETER_LIST thing means there is even some way to > turn “ruby” into “/usr/bin/jruby” in the r-f-s buffer. All right, so Fedora expands the file name (probably substituting a specific interpreter from the "alternatives" system). Maybe we should try to be clever, relaxing the match but stopping it from going too far, like this: diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 0a6ead870a7..459f8f338f7 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -2516,7 +2516,7 @@ ruby-flymake-simple (goto-char (point-min)) (cl-loop while (search-forward-regexp - "^\\(?:ruby: \\)?\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): \\(.*\\)$" + "^\\(?:[^:|]+: \\)?\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): \\(.*\\)$" nil t) for msg = (match-string 2) for (beg . end) = (flymake-diag-region From unknown Thu Sep 11 20:48:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79257: 31.0.50; flymake's ruby-backend test fails with ruby 3.4.5 Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Aug 2025 13:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 79257 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: 79257@debbugs.gnu.org Received: via spool by 79257-submit@debbugs.gnu.org id=B79257.175630207724801 (code B ref 79257); Wed, 27 Aug 2025 13:42:02 +0000 Received: (at 79257) by debbugs.gnu.org; 27 Aug 2025 13:41:17 +0000 Received: from localhost ([127.0.0.1]:60338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1urGOq-0006Rx-UQ for submit@debbugs.gnu.org; Wed, 27 Aug 2025 09:41:17 -0400 Received: from fhigh-b3-smtp.messagingengine.com ([202.12.124.154]:35691) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1urGOm-0006RT-Uq for 79257@debbugs.gnu.org; Wed, 27 Aug 2025 09:41:14 -0400 Received: from phl-compute-10.internal (phl-compute-10.internal [10.202.2.50]) by mailfhigh.stl.internal (Postfix) with ESMTP id 8A82B7A018C; Wed, 27 Aug 2025 09:41:06 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Wed, 27 Aug 2025 09:41:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1756302066; x=1756388466; bh=Gm4VmLeQ+chVLYOQIy49SV8wf3JeV7oDDL3OhvqX6W0=; b= DsEm7E4jD8OPWbjLKNlhiFNfjet6Goizeh+l5Xl0CyuqRIvRFEkFJxEihGBzjrbd 9E8YUg327HBSlzCQES2Inf2YdNamJConZPGGlD9eeUPQpXpfHCr/2+PnGeL+6xHs qpRmqL8VXFDh1cL+bSmjR76qOsF9FEFObdS9VkTt6Ao+kQ08JiJpbKC6iu06p3I4 oNnHafy3FIS+Uy6pO+oZ520MOXAhzlg52tYBmz0GtKB5nY+sKYz2cigcCDSNjam/ g/y8nYp8n4UyDAdWhtBqcRzE+c077+ZPi2SLtjTgrRmCSdgsSEsEaUQKdXwtaoSw WPSqIqB4SiemXOlriG46Pw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1756302066; x= 1756388466; bh=Gm4VmLeQ+chVLYOQIy49SV8wf3JeV7oDDL3OhvqX6W0=; b=G /ovEEIncQIRtehhAKcjent4aZaBKhlRHmn5swQTkqoy+s5hhT+/XEWzdpY2czTjQ 7fQCoMYT8XvF68ZtFjP3BpEavKdEoMScFXFAl0LtCcTisPLTLzdkFOgQFX/U8PGt U2LC05s27/upL6030k6rFCgQszyQLWDLkJkh9Y3wIlfIUW8sPlg1LHRvs0FljlKr M2JperaPHXevW7OUESQoWk41FOwwz6tNu8ZIAr6G4OvCfZuDAlCEZ2Q+Jc6KUSOI w+upNHv82kVGJ9KlHFF9nadBX56OBdWHRtXyt1cf+1Ajg/2dNxaywOW4AF4j5AcV rf6XR+Avn5gAscXuqkgFA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddujeekvdelucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefujghffffkfgggtgfgsehtqhertddtreejnecuhfhrohhmpehjohhhnhcu mhhuhhhluceojhhmsehpuhgsrdhpihhnkheqnecuggftrfgrthhtvghrnheptdejtefhfe evvefgveehhedtvdetjeevjeeiffetheehheffgfffueelieeujeffnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhmsehpuhgsrdhpihhnkh dpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjeel vdehjeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegumhhithhrhiesgh huthhovhdruggvvh X-ME-Proxy: Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 27 Aug 2025 09:41:05 -0400 (EDT) From: john muhl In-Reply-To: References: <874iu781if.fsf@pub.pink> <87qzx0he4m.fsf@pub.pink> <0ce7e588-f6cd-4330-bab1-a0a24e876b61@gutov.dev> <87cy8jhz97.fsf@pub.pink> <86tt1uvmo9.fsf@gnu.org> <87349ed9sv.fsf@pub.pink> <86ikiauvbn.fsf@gnu.org> <875xea41m6.fsf@pub.pink> <79168838-7581-4f0a-bf34-85fc2db2428a@gutov.dev> <877bypzk5a.fsf@pub.pink> Date: Wed, 27 Aug 2025 08:41:00 -0500 Message-ID: <87bjo0khlf.fsf@pub.pink> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) 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.7 (-) Dmitry Gutov writes: > On 27/08/2025 03:24, john muhl wrote: >> (Oops. My test runners were offline and I mistook their silence >> for success). I ran the tests on Fedora 42 and they=E2=80=99re still >> broke. There I find: >>=20 >> $ which ruby >> /usr/sbin/ruby >>=20 >> $ cat /usr/sbin/ruby >> #!/usr/bin/bash >> declare -A INTERPRETER_LIST >> INTERPRETER_LIST=3D([_jruby_]=3D/usr/bin/jruby [_mri_]=3D/usr/bin/rub= y-mri) >> ... many more lines >>=20 >> Which as you can see both turns =E2=80=9Cruby=E2=80=9D into an absolute = path and >> one that doesn=E2=80=99t actually end with =E2=80=9Cruby=E2=80=9D so the= buffer r-f-s sees >> is like this: >>=20 >> -:3: warning: statement not reached >> /usr/bin/ruby-mri: -:5: syntax errors found (SyntaxError) >> 3 | print "not reached" >> 4 | something >> 5 | oops >> | ^ unexpected end-of-input, assuming it is closing the >> | parent top level context >> 6 | >> | ^ expected an `end` to close the `def` statement >>=20 >> I guess the INTERPRETER_LIST thing means there is even some way to >> turn =E2=80=9Cruby=E2=80=9D into =E2=80=9C/usr/bin/jruby=E2=80=9D in the= r-f-s buffer. > > All right, so Fedora expands the file name (probably substituting a=20 > specific interpreter from the "alternatives" system). > > Maybe we should try to be clever, relaxing the match but stopping it=20 > from going too far, like this: > > diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el > index 0a6ead870a7..459f8f338f7 100644 > --- a/lisp/progmodes/ruby-mode.el > +++ b/lisp/progmodes/ruby-mode.el > @@ -2516,7 +2516,7 @@ ruby-flymake-simple > (goto-char (point-min)) > (cl-loop > while (search-forward-regexp > - "^\\(?:ruby: \\)?\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): \\(.*\\)= $" > + "^\\(?:[^:|]+: \\)?\\(?:.*\\.rb\\|-\\):\\([0-9]+\\):=20 > \\(.*\\)$" > nil t) > for msg =3D (match-string 2) > for (beg . end) =3D (flymake-diag-region That works here for Ruby 3.4.x on Alpine, Fedora and Void. From unknown Thu Sep 11 20:48:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79257: 31.0.50; flymake's ruby-backend test fails with ruby 3.4.5 Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Aug 2025 13:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 79257 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: 79257@debbugs.gnu.org Received: via spool by 79257-submit@debbugs.gnu.org id=B79257.175630215825077 (code B ref 79257); Wed, 27 Aug 2025 13:43:01 +0000 Received: (at 79257) by debbugs.gnu.org; 27 Aug 2025 13:42:38 +0000 Received: from localhost ([127.0.0.1]:60352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1urGQ9-0006WN-Np for submit@debbugs.gnu.org; Wed, 27 Aug 2025 09:42:38 -0400 Received: from fhigh-b3-smtp.messagingengine.com ([202.12.124.154]:55367) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1urGQ7-0006Vb-5t for 79257@debbugs.gnu.org; Wed, 27 Aug 2025 09:42:35 -0400 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id 92B497A00E6; Wed, 27 Aug 2025 09:42:29 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Wed, 27 Aug 2025 09:42:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1756302149; x=1756388549; bh=0bVxX796HYYQdtEOcvGS6JdlZI+WNYQIzF1GaGfluLk=; b= dUr1ekcdyxJ4fe0hNnJ3BTWUN4rTkSienvA4VTJVb2KhDp9O5KqxGQAPJsvhGCKI AcESQYzZ3TBZEzTjouaXRtoIxRGW8MqWRqsOs7GTc0kFwOODKSSImsFzU0sINi91 llD+JNcmKGgLrlM/cd53VUHbI50Nk9JNRi1iJA9bE7guOU9WskMH81OGlA7fHyQ3 Pj5XNd56FVADNLU0UyXSadPsoTOBAFx2T/05JogFwt9QCsiYnkCBqslZpfEVQTH9 POxWkSvbDKOlnHNlhwDrNpUYx2zirYQQZhobFV18r5UmU/iTrb5wWXBbHTmeAV8s 4U/TQ51+9nkYtbqE6dJ5SA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1756302149; x= 1756388549; bh=0bVxX796HYYQdtEOcvGS6JdlZI+WNYQIzF1GaGfluLk=; b=g MJBAL42OJKTE21+xi1O4jbSaEtaET8abxFLEvtTav7+zxKNBfZzzAW3VEwW7xBpN udDstE/2xu2PWu1J+rxkLQ4zTExay/EsfwB3D2uxNuh1bCMjhNpNOThmDUUFGPzd 5tIpz7LdmXtiOLgGLDiWx9fslAX+ZZPNeQJnsbt0q7wcipUH/Khzp7/At2kyin7y E1XdYxD+miYVn7sZTYFIWNtAHb1i/KuBPXXlJv8tqj4sHqGzUcQtV/hS4Z+w/Pp/ kazheB3i4q1B+77Fx6PUQyxHG8HhiH30Vj4eNbYA3/KOebhamWZKnF6FKhami91c MpV2XwVhjoztzsUOwx0uA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddujeekfedtucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefujghffgffkfggtgfgsehtqhertddtreejnecuhfhrohhmpehjohhhnhcu mhhuhhhluceojhhmsehpuhgsrdhpihhnkheqnecuggftrfgrthhtvghrnhepgeevhedvtd etvdekuddvtddthefhvdfggfdvgfeitdejudehhfffjedtvdevveeknecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhmsehpuhgsrdhpihhnkh dpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjeel vdehjeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegumhhithhrhiesgh huthhovhdruggvvh X-ME-Proxy: Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 27 Aug 2025 09:42:28 -0400 (EDT) From: john muhl In-Reply-To: References: <874iu781if.fsf@pub.pink> <87qzx0he4m.fsf@pub.pink> <0ce7e588-f6cd-4330-bab1-a0a24e876b61@gutov.dev> <87cy8jhz97.fsf@pub.pink> <86tt1uvmo9.fsf@gnu.org> <87349ed9sv.fsf@pub.pink> <86ikiauvbn.fsf@gnu.org> <875xea41m6.fsf@pub.pink> <79168838-7581-4f0a-bf34-85fc2db2428a@gutov.dev> <877bypzk5a.fsf@pub.pink> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Wed, 27 Aug 2025 08:42:23 -0500 Message-ID: <87qzww3mps.fsf@pub.pink> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) 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.7 (-) Dmitry Gutov writes: > On 27/08/2025 03:24, john muhl wrote: >> (Oops. My test runners were offline and I mistook their silence >> for success). I ran the tests on Fedora 42 and they=E2=80=99re still >> broke. There I find: >>=20 >> $ which ruby >> /usr/sbin/ruby >>=20 >> $ cat /usr/sbin/ruby >> #!/usr/bin/bash >> declare -A INTERPRETER_LIST >> INTERPRETER_LIST=3D([_jruby_]=3D/usr/bin/jruby [_mri_]=3D/usr/bin/rub= y-mri) >> ... many more lines >>=20 >> Which as you can see both turns =E2=80=9Cruby=E2=80=9D into an absolute = path and >> one that doesn=E2=80=99t actually end with =E2=80=9Cruby=E2=80=9D so the= buffer r-f-s sees >> is like this: >>=20 >> -:3: warning: statement not reached >> /usr/bin/ruby-mri: -:5: syntax errors found (SyntaxError) >> 3 | print "not reached" >> 4 | something >> 5 | oops >> | ^ unexpected end-of-input, assuming it is closing the >> | parent top level context >> 6 | >> | ^ expected an `end` to close the `def` statement >>=20 >> I guess the INTERPRETER_LIST thing means there is even some way to >> turn =E2=80=9Cruby=E2=80=9D into =E2=80=9C/usr/bin/jruby=E2=80=9D in the= r-f-s buffer. > > All right, so Fedora expands the file name (probably substituting a=20 > specific interpreter from the "alternatives" system). > > Maybe we should try to be clever, relaxing the match but stopping it=20 > from going too far, like this: > > diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el > index 0a6ead870a7..459f8f338f7 100644 > --- a/lisp/progmodes/ruby-mode.el > +++ b/lisp/progmodes/ruby-mode.el > @@ -2516,7 +2516,7 @@ ruby-flymake-simple > (goto-char (point-min)) > (cl-loop > while (search-forward-regexp > - "^\\(?:ruby: \\)?\\(?:.*\\.rb\\|-\\):\\([0-9]+\\): \\(.*\\)= $" > + "^\\(?:[^:|]+: \\)?\\(?:.*\\.rb\\|-\\):\\([0-9]+\\):=20 > \\(.*\\)$" > nil t) > for msg =3D (match-string 2) > for (beg . end) =3D (flymake-diag-region Thanks. That works here for Ruby 3.4.x on Alpine, Fedora and Void. From unknown Thu Sep 11 20:48:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79257: 31.0.50; flymake's ruby-backend test fails with ruby 3.4.5 Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Aug 2025 00:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 79257 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: john muhl Cc: 79257@debbugs.gnu.org Received: via spool by 79257-submit@debbugs.gnu.org id=B79257.175634038520967 (code B ref 79257); Thu, 28 Aug 2025 00:20:03 +0000 Received: (at 79257) by debbugs.gnu.org; 28 Aug 2025 00:19:45 +0000 Received: from localhost ([127.0.0.1]:37467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1urQMi-0005S2-Cb for submit@debbugs.gnu.org; Wed, 27 Aug 2025 20:19:44 -0400 Received: from fhigh-b2-smtp.messagingengine.com ([202.12.124.153]:42795) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1urQMg-0005Qt-D3 for 79257@debbugs.gnu.org; Wed, 27 Aug 2025 20:19:43 -0400 Received: from phl-compute-11.internal (phl-compute-11.internal [10.202.2.51]) by mailfhigh.stl.internal (Postfix) with ESMTP id 26EF37A015D; Wed, 27 Aug 2025 20:19:36 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-11.internal (MEProxy); Wed, 27 Aug 2025 20:19:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1756340376; x=1756426776; bh=Aj+vSMVEY4y4feohi+asrCg1MX5xkIyHUtVgH/fz0sk=; b= t/bVA/sjR3wCpAkeZUcvo0rljSS8JhrojU1yAVmAr1YAjCptAOwMTympSeeoBjBB 4FvHtk+jsSweI/YdqilSv0DRzyspaUXriEAKjF5ruLekcf0id1u/9pvb+PeeuACE W9faEUCbUZicgqiAjz81WOwmNpIdU7YCnApIl2qLuLCafh65AQfQd3mv+qN9nnpm Nr/moka3MYaRUuXowzVsHqNf1od9NB5Yjgrx2Rt93IEjzcr2YbhkznH0t2GG7gpi g/X9r5+xMEo9eU4Mbmirt6X05rR84QbzXM6fltNrhMn4hz3XIFuWDyxjPQeV/gHT AD0CDqsbWRItQwix3wk9jw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1756340376; x= 1756426776; bh=Aj+vSMVEY4y4feohi+asrCg1MX5xkIyHUtVgH/fz0sk=; b=N QKdqmgJsaO2yFTW05aZUB89km/HEolJah3GOsj8WCUEnfiuKeCEL3rtwF6C2GLBm x5px1Qqvf+5cMDZR7ZPw6LP8miwI6J4r+jrqghk5+AxCg7/n7vdgNI4g3JFmDteO BJ8EVn7sCShPNbwZy11T3pgtLXibHb+g1CvY15Ho+Tz9SwRtTbBViOnzCV8Kr4CX 1FGaba2iPrE9/lB2TLEFBpQq4ZAd6Yq47aLOS0aTVEURB07wC9+6QbKPANOZa8iy 1z5YZDT2hFoIiQ3pFTDCNcqthbxkJfaHFraVwwmU/uz2zhgR4IMaUeEitWJpPqwj 7xRj+mhWYzGfGQU3iRpZg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddujeelheejucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhithhr hicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrthhtvg hrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedujeeh necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughmih htrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhp ohhuthdprhgtphhtthhopehjmhesphhusgdrphhinhhkpdhrtghpthhtohepjeelvdehje esuggvsggsuhhgshdrghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 27 Aug 2025 20:19:34 -0400 (EDT) Message-ID: Date: Thu, 28 Aug 2025 03:19:32 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: <874iu781if.fsf@pub.pink> <87qzx0he4m.fsf@pub.pink> <0ce7e588-f6cd-4330-bab1-a0a24e876b61@gutov.dev> <87cy8jhz97.fsf@pub.pink> <86tt1uvmo9.fsf@gnu.org> <87349ed9sv.fsf@pub.pink> <86ikiauvbn.fsf@gnu.org> <875xea41m6.fsf@pub.pink> <79168838-7581-4f0a-bf34-85fc2db2428a@gutov.dev> <877bypzk5a.fsf@pub.pink> <87bjo0khlf.fsf@pub.pink> Content-Language: en-US From: Dmitry Gutov In-Reply-To: <87bjo0khlf.fsf@pub.pink> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) 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.7 (-) On 27/08/2025 16:41, john muhl wrote: > That works here for Ruby 3.4.x on Alpine, Fedora and Void. Pushed that too, thanks for testing.