From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#33736: flymake test different-diagnostic-types confuses gcc and CC Date: Thu, 13 Dec 2018 21:35:06 -0500 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1544754847 17679 195.159.176.226 (14 Dec 2018 02:34:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Dec 2018 02:34:07 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) To: 33736@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 14 03:34:03 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 1gXdIg-0004UO-V1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Dec 2018 03:34:03 +0100 Original-Received: from localhost ([::1]:58974 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXdKn-0002vW-3r for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Dec 2018 21:36:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXdKe-0002u3-Ar for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2018 21:36:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXdKc-0006u4-Kl for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2018 21:36:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42894) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gXdKc-0006sv-A4 for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2018 21:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gXdKc-0003f7-2r for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2018 21:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Dec 2018 02:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33736 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: submit@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.154475493314025 (code B ref -1); Fri, 14 Dec 2018 02:36:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Dec 2018 02:35:33 +0000 Original-Received: from localhost ([127.0.0.1]:47152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXdK8-0003e9-QO for submit@debbugs.gnu.org; Thu, 13 Dec 2018 21:35:32 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXdK7-0003dv-FT for submit@debbugs.gnu.org; Thu, 13 Dec 2018 21:35:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXdK0-000544-8N for submit@debbugs.gnu.org; Thu, 13 Dec 2018 21:35:26 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXdJq-0004dA-RG for submit@debbugs.gnu.org; Thu, 13 Dec 2018 21:35:18 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1gXdJl-0003Bl-4e; Thu, 13 Dec 2018 21:35:10 -0500 X-Spook: National Guard Exon Shell Suspicious package Cohiba JUWTF X-Ran: *6f}9cW#*?)c9]vTD$~tHI}-%G2AUou7:)lT(N/^OZ}+aiRTxa9}DgW1%DKTA[&li9bHo& X-Hue: blue X-Attribution: GM X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:153430 Archived-At: Package: emacs Version: 27.0.50 Severity: minor flymake-test's different-diagnostic-types is skipped if "gcc" seems too old. However, what matters to the rest of the test is $CC, not gcc. So if gcc is new enough for the test to run, but $CC is older, the test fails. Eg on RHEL 7.6: scl enable devtoolset-7 bash type -ap gcc # /opt/rh/devtoolset-7/root/usr/bin/gcc gcc --version # 7.3.1 make lisp/progmodes/flymake-tests # 9 tests pass /usr/bin/gcc --version # 4.8.5 make lisp/progmodes/flymake-tests CC=/usr/bin/gcc -> different-diagnostic-types fails rather than being skipped This happens on hydra.nixos.org, ref eg https://hydra.nixos.org/build/85857843