GNU bug report logs - #14500
t/subpkg.sh fails when $CC is not cc

Previous Next

Package: automake;

Reported by: Peter Rosin <peda <at> lysator.liu.se>

Date: Wed, 29 May 2013 07:27:01 UTC

Severity: minor

Tags: patch

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Peter Rosin <peda <at> lysator.liu.se>
Subject: bug#14500: closed (Re: bug#14500: t/subpkg.sh fails when $CC  is
 not cc)
Date: Wed, 29 May 2013 09:34:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#14500: t/subpkg.sh fails when $CC  is not cc

which was filed against the automake package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 14500 <at> debbugs.gnu.org.

-- 
14500: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14500
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Peter Rosin <peda <at> lysator.liu.se>
Cc: 14500-done <at> debbugs.gnu.org,
	"automake-patches <at> gnu.org" <automake-patches <at> gnu.org>
Subject: Re: bug#14500: t/subpkg.sh fails when $CC  is not cc
Date: Wed, 29 May 2013 11:32:14 +0200
On 05/29/2013 09:24 AM, Peter Rosin wrote:
> Hi!
> 
> I'm configuring Automake master (baf8a1c22acce0908) with:
> 
> ./configure CC=".../compile cl ..." ...
> 
> This appears to cause the below FAIL in t/subpkg.sh.
> 
> Cheers,
> Peter
> 
> *snip*
> checking whether /home/peda/automake/lib/compile cl -nologo understands -c and -o together... yes
> *snip*
> === configuring in lib (/home/peda/automake/t/subpkg.dir/lib)
> *snip*
> checking whether /home/peda/automake/lib/compile cl -nologo understands -c and -o together... yes
> *snip*
> + grep '^checking whether cc understands -c and -o together' stdout
> + am_exit_trap 1
> *snip*
> 
Yep, I can reproduce the issue.  Fixed with the patch below.  I'm thus closing the
bug report.

Thanks,
  Stefano

---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ----

From 6e45cbfbebf6b18f68b7195a1d3a31855c533fce Mon Sep 17 00:00:00 2001
Message-Id: <6e45cbfbebf6b18f68b7195a1d3a31855c533fce.1369819885.git.stefano.lattarini <at> gmail.com>
From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Date: Wed, 29 May 2013 11:31:25 +0200
Subject: [PATCH] tests: avoid a spurious failure when $CC != cc

Fixes automake bug#14500.

* t/subpckg.sh: Improve the grepping of configure output.

Signed-off-by: Stefano Lattarini <stefano.lattarini <at> gmail.com>
---
 t/subpkg.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/subpkg.sh b/t/subpkg.sh
index 1223b13..f152943 100644
--- a/t/subpkg.sh
+++ b/t/subpkg.sh
@@ -104,7 +104,7 @@ cd ..

 ./configure >stdout || { cat stdout; exit 1; }
 cat stdout
-grep '^checking whether cc understands -c and -o together' stdout
+$FGREP "checking whether $CC understands -c and -o together" stdout

 $MAKE
 $MAKE distcheck
-- 
1.8.3.rc3.8.g5e49f30

[Message part 3 (message/rfc822, inline)]
From: Peter Rosin <peda <at> lysator.liu.se>
To: bug-automake <at> gnu.org
Subject: t/subpkg.sh fails when $CC  is not cc
Date: Wed, 29 May 2013 09:24:24 +0200
Hi!

I'm configuring Automake master (baf8a1c22acce0908) with:

./configure CC=".../compile cl ..." ...

This appears to cause the below FAIL in t/subpkg.sh.

Cheers,
Peter

*snip*
checking whether /home/peda/automake/lib/compile cl -nologo understands -c and -o together... yes
*snip*
=== configuring in lib (/home/peda/automake/t/subpkg.dir/lib)
*snip*
checking whether /home/peda/automake/lib/compile cl -nologo understands -c and -o together... yes
*snip*
+ grep '^checking whether cc understands -c and -o together' stdout
+ am_exit_trap 1
*snip*



This bug report was last modified 12 years and 54 days ago.

Previous Next


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