From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71749: 29.4; Test failure in flymake-tests.el with GCC 14.1.1 Date: Mon, 24 Jun 2024 18:00:51 +0300 Message-ID: <86ed8mbd24.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25889"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71749@debbugs.gnu.org To: Ulrich =?UTF-8?Q?M=C3=BCller?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 24 17:04:31 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 1sLlF8-0006W4-VQ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Jun 2024 17:04:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLlEp-00061N-6b; Mon, 24 Jun 2024 11:04:11 -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 1sLlEm-000616-1P for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2024 11:04:09 -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 1sLlEf-0003k7-Cq for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2024 11:04:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sLlEg-0007f5-8H for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2024 11:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jun 2024 15:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71749 X-GNU-PR-Package: emacs Original-Received: via spool by 71749-submit@debbugs.gnu.org id=B71749.171924139629383 (code B ref 71749); Mon, 24 Jun 2024 15:04:02 +0000 Original-Received: (at 71749) by debbugs.gnu.org; 24 Jun 2024 15:03:16 +0000 Original-Received: from localhost ([127.0.0.1]:34877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLlDv-0007do-Fj for submit@debbugs.gnu.org; Mon, 24 Jun 2024 11:03:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLlDr-0007db-MW for 71749@debbugs.gnu.org; Mon, 24 Jun 2024 11:03:14 -0400 Original-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 1sLlBe-0003Bx-5O; Mon, 24 Jun 2024 11:00:54 -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=hwj11bMgI0+PtFL5cFzXiWFqK8cyNwzP68bjBHIXWP0=; b=lbW08XH1u1EY5G5VxdbO j6dBBGW8e7b3Q4lgMXOxZnM+U1Eh2OBQ3/6oIE8PdfPbrn/UdT8ir6ruVMfYRJDOzSxZkOGKoXskP L7uvoyQDgR30ReWCVOTJSLzKbtDyaJg0JUIl6GyXGa/x8u7zagZMWeYF1SCSQbGnaj6dAIW+1Jdhb i+UG1JjEIrlmuqvAqVxPlL36HNfZDGSgoa+acCgAKFyUNH0MA2Geh1naSxtm5X1Yu3uaaAkHm4EaI 4PyeVWUQgYEOhhrLjPfaRwtxcUj9iJhj3LS1oKhHydxNZms9SkHqY3u3foZeE6lrZBFWqv3HCu9W0 /3vCgYErceSZWg==; In-Reply-To: (message from Ulrich =?UTF-8?Q?M=C3=BCller?= on Mon, 24 Jun 2024 15:33:00 +0200) 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:287844 Archived-At: > From: Ulrich Müller > Date: Mon, 24 Jun 2024 15:33:00 +0200 > > Emacs 29.4 fails tests with GCC 14.1.1 (Gentoo package > sys-devel/gcc-14.1.1_p20240518): > > HOME=/nonexistent LANG=C EMACS_TEST_DIRECTORY=/tmp/portage/app-editors/emacs-29.4/work/emacs-29.4/test "../src/emacs" --module-assertions --no-init-file --no-site-file --no-site-lisp -L ":." \ > -l ert --eval '(setq ert-batch-backtrace-right-margin nil)' -l src/emacs-module-tests \ > --batch --eval '(ert-run-tests-batch-and-exit (quote (not (or (tag :expensive-test) (tag :unstable) (tag :nativecomp)))))' > src/emacs-module-tests.log 2>&1 || { STAT=$?; cat src/emacs-module-tests.log; exit $STAT; } > Running 9 tests (2024-06-24 15:21:29+0200, selector ‘(not (or (tag :expensive-test) (tag :unstable) (tag :nativecomp)))’) > passed 1/9 different-diagnostic-types (1.294288 sec) > passed 2/9 dummy-backends (1.002899 sec) > passed 3/9 eob-region-and-trailing-newline (0.000172 sec) > Test included-c-header-files backtrace: > [... backtrace omitted ...] > > Test included-c-header-files condition: > (ert-test-failed > ((should > (eq 'flymake-warning > (face-at-point))) > :form > (eq flymake-warning flymake-error) > :value nil)) > FAILED 4/9 included-c-header-files (1.067014 sec) at lisp/progmodes/flymake-tests.el:168 > passed 5/9 perl-backend (1.025399 sec) > passed 6/9 recurrent-backend (1.003033 sec) > passed 7/9 ruby-backend (1.019991 sec) > passed 8/9 warning-predicate-function-gcc (1.020760 sec) > passed 9/9 warning-predicate-rx-gcc (1.021962 sec) > > Ran 9 tests, 8 results as expected, 1 unexpected (2024-06-24 15:21:38+0200, 8.529267 sec) > > 1 unexpected results: > FAILED included-c-header-files ((should (eq 'flymake-warning (face-at-point))) :form (eq flymake-warning flymake-error) :value nil) > > make[3]: *** [Makefile:180: lisp/progmodes/flymake-tests.log] Error 1 > make[3]: Leaving directory '/tmp/portage/app-editors/emacs-29.4/work/emacs-29.4/test' > make[2]: [Makefile:340: check-doit] Error 2 (ignored) > > SUMMARY OF TEST RESULTS > ----------------------- > Files examined: 466 > Ran 6977 tests, 6757 results as expected, 1 unexpected, 219 skipped > 1 files contained unexpected results: > lisp/progmodes/flymake-tests.log > make[2]: *** [Makefile:341: check-doit] Error 1 > make[2]: Leaving directory '/tmp/portage/app-editors/emacs-29.4/work/emacs-29.4/test' > make[1]: *** [Makefile:310: check] Error 2 > make[1]: Leaving directory '/tmp/portage/app-editors/emacs-29.4/work/emacs-29.4/test' > make: *** [Makefile:1105: check] Error 2 > > > Attached patch (for the emacs-30 branch) fixes the problem for me: Thanks, please install on the emacs-30 branch.