From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Enrico Scholz Newsgroups: gmane.emacs.bugs Subject: bug#31981: 26.1; flymake: removes temporary file before finishing check Date: Tue, 26 Jun 2018 19:26:13 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1530034210 21882 195.159.176.226 (26 Jun 2018 17:30:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 26 Jun 2018 17:30:10 +0000 (UTC) To: 31981@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 26 19:30:06 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXrn1-0005X5-Lw for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Jun 2018 19:30:03 +0200 Original-Received: from localhost ([::1]:54208 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXrp8-0002bW-Uo for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Jun 2018 13:32:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXrl7-00082U-G2 for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2018 13:28:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXrl4-0003h2-Bg for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2018 13:28:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56814) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fXrl4-0003gi-6W for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2018 13:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fXrl3-0006X9-Uv for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2018 13:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Enrico Scholz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Jun 2018 17:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31981 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.153003404825074 (code B ref -1); Tue, 26 Jun 2018 17:28:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Jun 2018 17:27:28 +0000 Original-Received: from localhost ([127.0.0.1]:36478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXrkW-0006WM-9J for submit@debbugs.gnu.org; Tue, 26 Jun 2018 13:27:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXrkR-0006W6-NG for submit@debbugs.gnu.org; Tue, 26 Jun 2018 13:27:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXrkL-0003VM-Ay for submit@debbugs.gnu.org; Tue, 26 Jun 2018 13:27:18 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:33066) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fXrkL-0003V4-6h for submit@debbugs.gnu.org; Tue, 26 Jun 2018 13:27:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXrkJ-0007Tw-Qv for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2018 13:27:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXrkG-0003Pw-NP for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2018 13:27:15 -0400 Original-Received: from mail.cvg.de ([193.158.56.148]:44428) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fXrkG-0002zz-8M for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2018 13:27:12 -0400 Original-Received: from mail-mta-0.intern.sigma-chemnitz.de (mail-mta-0.intern.sigma-chemnitz.de [192.168.12.76]) by mailout-1.intern.sigma-chemnitz.de (8.14.7/8.14.7) with ESMTP id w5QHQUYa018727 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 26 Jun 2018 19:26:30 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sigma-chemnitz.de; s=v2012061000; t=1530033990; bh=hOTvfgysqHhk7kQHVm5ygwTP5FHMxLtpFxyaSit08cU=; l=2924; h=From:To:Subject:Date; b=NvlvWGeoKh0PeMWJznL2usGjevNaixuiHKCGIY0pBwWW0MeO+xOWFfGd5BWUUxqlb O8cusV/kBcgi4hgWl2JzGXYtSeCYcMXzxtPM2Lfyusfu7q0fFMDkSjUgvIz/Up9Z8N SPkXaBf08UoOKB8IGDiDjs7hXCF5zteBV14u2Ts4= Original-Received: from reddoxx.intern.sigma-chemnitz.de (reddoxx.intern.sigma-chemnitz.de [192.168.0.193]) by mail-mta-0.intern.sigma-chemnitz.de (8.14.7/8.14.7) with ESMTP id w5QHQLqc018256 for from enrico.scholz@sigma-chemnitz.de; Tue, 26 Jun 2018 19:26:22 +0200 Original-Received: from mail-msa-0.intern.sigma-chemnitz.de ( [192.168.12.77]) by reddoxx.intern.sigma-chemnitz.de (Reddoxx engine) with SMTP id 699FC65D76; Tue, 26 Jun 2018 19:33:45 +0200 Original-Received: from ensc-virt.intern.sigma-chemnitz.de (ensc-virt.intern.sigma-chemnitz.de [192.168.3.24]) by mail-msa-0.intern.sigma-chemnitz.de (8.14.7/8.14.7) with ESMTP id w5QHQFZB018251 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for from ensc@sigma-chemnitz.de; Tue, 26 Jun 2018 19:26:18 +0200 Original-Received: from ensc by ensc-virt.intern.sigma-chemnitz.de with local (Exim 4.91) (envelope-from ) id 1fXrjJ-00Blda-9i for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2018 19:26:13 +0200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:147842 Archived-At: flymake gets confused and terminates itself when checking needs a long time. It can be reproduced with a makefile like --- Makefile --- check-syntax: sleep 2 ${MAKE} ${CHK_SOURCES} ---------------- 1. start 'emacs -Q' 2. open 'foo.c' in the directory with the makefile above 3. M-x flymake-mode 4. start typing --> "Wait" appears in status line 5. continue typing --> "!" appears in status line and log reports | Warning [flymake-proc foo.c]: deleted file /tmp/YYY/foo_flymake.c | Warning [flymake-proc *flymake output for foo.c*-919402]: Reference to file e: *** [Makefile is out of scope | Warning [flymake-proc *flymake output for foo.c*-131024]: Reference to file e: *** [Makefile is out of scope | Warning [flymake-proc foo.c]: process 2803326 exited with code 2 | Error [flymake-proc foo.c]: :configuration-error: Command (make -s -C ./ CHK_SOURCES=foo_flymake.c SYNTAX_CHECK_MODE=1 check-syntax) errored, but no diagnostics | Warning [flymake foo.c]: Disabling backend flymake-proc-legacy-flymake because :configuration-error: Command (make -s -C ./ CHK_SOURCES=foo_flymake.c SYNTAX_CHECK_MODE=1 check-syntax) errored, but no diagnostics -------------- GNU Emacs 26.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 2.24.32) of 2018-05-31 built on koji-builder4.intern.sigma-chemnitz.de Windowing system distributor 'Fedora Project', version 11.0.11906000 System Description: Fedora release 28 (Twenty Eight) ... Configured using: 'configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk --with-gpm=no --with-modules build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' LDFLAGS=-Wl,-z,relro PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 MODULES THREADS LCMS2 Important settings: value of $LC_COLLATE: C value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix