GNU bug report logs -
#14500
t/subpkg.sh fails when $CC is not cc
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14500 in the body.
You can then email your comments to 14500 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-automake <at> gnu.org
:
bug#14500
; Package
automake
.
(Wed, 29 May 2013 07:27:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Peter Rosin <peda <at> lysator.liu.se>
:
New bug report received and forwarded. Copy sent to
bug-automake <at> gnu.org
.
(Wed, 29 May 2013 07:27:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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*
Reply sent
to
Stefano Lattarini <stefano.lattarini <at> gmail.com>
:
You have taken responsibility.
(Wed, 29 May 2013 09:34:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Peter Rosin <peda <at> lysator.liu.se>
:
bug acknowledged by developer.
(Wed, 29 May 2013 09:34:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 14500-done <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-automake <at> gnu.org
:
bug#14500
; Package
automake
.
(Thu, 30 May 2013 06:30:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 14500 <at> debbugs.gnu.org (full text, mbox):
On 2013-05-29 11:32, Stefano Lattarini wrote:
> 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.
Confirmed, the test passes for me as well. Thanks!
Cheers,
Peter
Added tag(s) patch.
Request was from
Stefano Lattarini <stefano.lattarini <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Thu, 30 May 2013 21:08:01 GMT)
Full text and
rfc822 format available.
Severity set to 'minor' from 'normal'
Request was from
Stefano Lattarini <stefano.lattarini <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Thu, 30 May 2013 21:08:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 28 Jun 2013 11:24:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 53 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.