From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#70822: flymake mishandles GCC diagnostics in en_US.UTF-8 locale Date: Wed, 8 May 2024 10:10:00 -0700 Organization: UCLA Computer Science Department Message-ID: References: <86cypwa1yl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------9HQfkXiq4BurkWnUGXIsSfM4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30603"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 70822@debbugs.gnu.org To: Eli Zaretskii , Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 08 19:11:01 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s4kom-0007tZ-E0 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 May 2024 19:11:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4koU-0006qv-Mj; Wed, 08 May 2024 13:10:42 -0400 Original-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 1s4koP-0006qO-F9 for bug-gnu-emacs@gnu.org; Wed, 08 May 2024 13:10:37 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s4koO-00056B-Kx for bug-gnu-emacs@gnu.org; Wed, 08 May 2024 13:10:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s4kon-00067x-T9 for bug-gnu-emacs@gnu.org; Wed, 08 May 2024 13:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 May 2024 17:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70822 X-GNU-PR-Package: emacs Original-Received: via spool by 70822-submit@debbugs.gnu.org id=B70822.171518823523541 (code B ref 70822); Wed, 08 May 2024 17:11:01 +0000 Original-Received: (at 70822) by debbugs.gnu.org; 8 May 2024 17:10:35 +0000 Original-Received: from localhost ([127.0.0.1]:49843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4koM-00067d-QO for submit@debbugs.gnu.org; Wed, 08 May 2024 13:10:35 -0400 Original-Received: from mail.cs.ucla.edu ([131.179.128.66]:37906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4koK-00067V-LE for 70822@debbugs.gnu.org; Wed, 08 May 2024 13:10:34 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 833763C0140A0; Wed, 8 May 2024 10:10:01 -0700 (PDT) Original-Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP id JmzC4qYGiFSf; Wed, 8 May 2024 10:10:01 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 300BB3C0140A4; Wed, 8 May 2024 10:10:01 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu 300BB3C0140A4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1715188201; bh=BA7Q2EA7RtGbuvFYsbjvs1RAPXZ9tGMkU8xA/77Gnu4=; h=Message-ID:Date:MIME-Version:To:From; b=JClvTfUc3rJY4eMjmErlnuKYY0DlmD9f2/vLzYbH/BxjiSJvN6nPSrc/DQpCfpdP2 rye0SJe7jaXaiOliCgc+TjMabWzZqfVvLJFp9Ragpe+h00WMmDqF5LEPG9hyRxSqvo pkIc3QEhMjgZa4Cj+lxBkI9qjnEMJlOLa7NhQGVAFmg+N0rhW76+AlYy8mHfcvJdAt 8hj9/KH+Vf/yfb19S1pDyptEbDaflp9JWgcdDvkHdJ9ElNb/GdE4JMOLTiMmcTG7Pk Z9Ob3ttcNcd7fnDhUaoA458qLs7gw54qtKH+d0w1+pBcOTB/h29SMW/yI0KB43JkK2 pFgaPt49w08hQ== X-Virus-Scanned: amavis at mail.cs.ucla.edu Original-Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id KTMr8Qc2vLCc; Wed, 8 May 2024 10:10:01 -0700 (PDT) Original-Received: from [192.168.254.12] (unknown [47.154.17.165]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id 102C73C0140A0; Wed, 8 May 2024 10:10:01 -0700 (PDT) Content-Language: en-US In-Reply-To: <86cypwa1yl.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284683 Archived-At: This is a multi-part message in MIME format. --------------9HQfkXiq4BurkWnUGXIsSfM4 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > AFAICT, flymake-tests.el injects LC_ALL=C into process-environment (in > flymake-tests--call-with-fixture called from > flymake-tests--with-flymake), so why doesn't that affect the locale > under which the test runs? I don't know. But shouldn't flymake also work when LC_ALL='en_US.UTF-8'? That is, instead of trying (but evidently failing) to check only LC_ALL='C', shouldn't flymake-tests also check the LC_ALL='en_US.UTF-8' case? > And could you perhaps show the error message reported by the failing > test(s) in that case? The contents of test/lisp/progmodes/flymake-tests.log are attached. --------------9HQfkXiq4BurkWnUGXIsSfM4 Content-Type: text/x-log; charset=UTF-8; name="flymake-tests.log" Content-Disposition: attachment; filename="flymake-tests.log" Content-Transfer-Encoding: base64 UnVubmluZyA5IHRlc3RzICgyMDI0LTA1LTA4IDEwOjAxOjM3LTA3MDAsIHNlbGVjdG9yIGAo bm90IChvciAodGFnIDpleHBlbnNpdmUtdGVzdCkgKHRhZyA6dW5zdGFibGUpKSknKQogICBw YXNzZWQgIDEvOSAgZGlmZmVyZW50LWRpYWdub3N0aWMtdHlwZXMgKDEuMTUxNzY5IHNlYykK ICAgcGFzc2VkICAyLzkgIGR1bW15LWJhY2tlbmRzICgxLjAwMjAzNyBzZWMpCiAgIHBhc3Nl ZCAgMy85ICBlb2ItcmVnaW9uLWFuZC10cmFpbGluZy1uZXdsaW5lICgwLjAwMDE5MCBzZWMp ClRlc3QgaW5jbHVkZWQtYy1oZWFkZXItZmlsZXMgYmFja3RyYWNlOgogIHNpZ25hbChlcnQt dGVzdC1mYWlsZWQgKCgoc2hvdWxkIChlcSAnZmx5bWFrZS13YXJuaW5nIChmYWNlLWF0LXBv aW50CiAgZXJ0LWZhaWwoKChzaG91bGQgKGVxICdmbHltYWtlLXdhcm5pbmcgKGZhY2UtYXQt cG9pbnQpKSkgOmZvcm0gKGVxIGYKICAjZihjb21waWxlZC1mdW5jdGlvbiAoKSAjPGJ5dGVj b2RlIDB4MWJlZTgxMj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