GNU bug report logs - #21336
configure fails to detect C++ compiler on case-insensitive FS

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: automake; Reported by: "Daniel Macks" <dmacks@HIDDEN>; dated Mon, 24 Aug 2015 10:13:02 UTC; Maintainer for automake is bug-automake@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Aug 2015 10:12:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 24 06:12:47 2015
Received: from localhost ([127.0.0.1]:36517 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZTokA-0007NR-I5
	for submit <at> debbugs.gnu.org; Mon, 24 Aug 2015 06:12:46 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59821)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <dmacks@HIDDEN>) id 1ZTok8-0007NJ-HQ
 for submit <at> debbugs.gnu.org; Mon, 24 Aug 2015 06:12:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dmacks@HIDDEN>) id 1ZTok7-0007PE-5L
 for submit <at> debbugs.gnu.org; Mon, 24 Aug 2015 06:12:44 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_50,FROM_EXCESS_BASE64
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:52295)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dmacks@HIDDEN>) id 1ZTok7-0007P8-2C
 for submit <at> debbugs.gnu.org; Mon, 24 Aug 2015 06:12:43 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41592)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dmacks@HIDDEN>) id 1ZTok6-0005ez-18
 for bug-automake@HIDDEN; Mon, 24 Aug 2015 06:12:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dmacks@HIDDEN>) id 1ZTok1-0007NJ-1W
 for bug-automake@HIDDEN; Mon, 24 Aug 2015 06:12:41 -0400
Received: from mail99c40.carrierzone.com ([209.235.156.239]:43820)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dmacks@HIDDEN>) id 1ZTok0-0007Ln-QO
 for bug-automake@HIDDEN; Mon, 24 Aug 2015 06:12:36 -0400
Received: from mail99c40.carrierzone.com (localhost [127.0.0.1])
 by mail99c40.carrierzone.com (8.14.9/8.14.9) with ESMTP id t7OACW5h014757
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
 for <bug-automake@HIDDEN>; Mon, 24 Aug 2015 10:12:32 +0000
Received: (from webmail@localhost)
 by mail99c40.carrierzone.com (8.14.9/8.12.2/Submit) id t7OACWBP014756
 for bug-automake@HIDDEN; Mon, 24 Aug 2015 06:12:32 -0400
Received: from pool-96-244-58-150.bltmmd.fios.verizon.net
 (pool-96-244-58-150.bltmmd.fios.verizon.net [96.244.58.150]) by
 webmail.netspace.org (Webmail 5.0 V.V.I.) with HTTP for
 <dmacks@HIDDEN>; Mon, 24 Aug 2015 06:12:32 -0400
Message-ID: <20150824061232.b1c9hb9f2880o448@HIDDEN>
From: "=?utf-8?b?RGFuaWVsIE1hY2tz?=" <dmacks@HIDDEN>
To: bug-automake@HIDDEN
Subject: configure fails to detect C++ compiler on case-insensitive FS
Date: Mon, 24 Aug 2015 06:12:32 -0400
X-Priority: 3
X-Authenticated-User: dmacks.netspace.org
MIME-Version: 1.0
Content-Type: text/plain;
	charset=UTF-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
User-Agent: Webmail 6.0
X-CTCH-RefID: str=0001.0A020204.55DAEE10.024A, ss=1, re=0.000, recu=0.000,
 reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-CSC: 0
X-CHA: v=2.1 cv=HsBPRSjS c=1 sm=1 tr=0 a=WkljmVdYkabdwxfqvArNOQ==:117
 a=P2DEmnYaPYKPcEIHE1yOzw==:17 a=g0qM3YM6AAAA:8 a=htD9qdewAAAA:8
 a=o1OHuDzbAAAA:8 a=Q5QLeeme7KwA:10 a=IkcTkHD0fZMA:10 a=JA9yZSL9TAwA:10
 a=uRRa74qj2VoA:10 a=j0fwpphZ-k5EMBibH0QA:9 a=QEXdDO2ut3YA:10
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no
 timestamps) [generic]
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.9 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.9 (----)

Building automake-1.15 on OS X 10.10 on a case-insensitive filesystem, duri=
ng ./configure I see:

checking whether cc understands -c and -o together... yes
checking for aCC... no
checking for FCC... no
checking for KCC... KCC
checking whether the C++ compiler works... no
configure: WARNING: C++ compiler cannot create executables
configure: tests requiring the C++ compiler will be skipped

I don't have "KCC" and my C++ compiler (at "c++" or "g++") is fine. I do ho=
wever have /usr/bin/kcc, which AC_PROG_CXX finds when it looks for "KCC" on=
 my filesystem:

# The list of C++ compilers here has been copied, pasted and edited
# from 'lib/autoconf/c.m4:AC_PROG_CXX' in the Autoconf distribution. 
# Keep it in sync, or better again, find out a way to avoid this code
# duplication. 
_AM_COMPILER_CAN_FAIL([AC_PROG_CXX(dnl
=C2=A0 [aCC $am_CC FCC KCC $am_RCC xlC_r xlC c++ cxx cc++ gpp g++])],
=C2=A0 [CXX=3Dfalse; _AM_SKIP_COMP_TESTS([C++])])

But my "kcc" is some completely unrelated kerberos tool, so when AC_PROG_CX=
X tests to see whether it behaves as a compiler, it fails because it isn't =
a compiler, and the autoconf tests don't get as far as my actual compiler i=
n the list of possibilities. This is the same situation as the now-fixed au=
tomake bugs #11893 and #10766, where looking for "CC" was finding "cc" on c=
ase-insensitive filesystems, so presumably the same solution could work. Th=
at is, only look for "KCC" if it's a case-sensitive FS. 

This code from which this block is documented to derive is:

[g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC]

in autoconf git, so an alternate solution is to re-sync with that (notably,=
 "KCC" is well after "c++" and "g++"). 

dan

--
Daniel Macks
dmacks@HIDDEN




Acknowledgement sent to "Daniel Macks" <dmacks@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#21336; Package automake. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.