GNU bug report logs -
#11345
Fwd: lex-depend-cxx automake-1.12 test failure on Mac OS X 10.7.3 (Xcode-4.3.2)
Previous Next
Reported by: Adam Mercer <ramercer <at> gmail.com>
Date: Thu, 26 Apr 2012 08:08: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 11345 in the body.
You can then email your comments to 11345 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#11345
; Package
automake
.
(Thu, 26 Apr 2012 08:08:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefano Lattarini <stefano.lattarini <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-automake <at> gnu.org
.
(Thu, 26 Apr 2012 08:08:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Forwarding this to bug-automake, so that we'll have a bug number to
reference in our fix.
Original message:
<http://lists.gnu.org/archive/html/automake/2012-04/msg00061.html>
-------- Original Message --------
Subject: lex-depend-cxx automake-1.12 test failure on Mac OS X 10.7.3 (Xcode-4.3.2)
Date: Wed, 25 Apr 2012 19:25:00 -0500
From: Adam Mercer <ramercer <at> gmail.com>
To: automake <at> gnu.org
Hi
I've been looking at getting the version of automake in MacPorts
updated to automake-1.12 and I'm getting the following test failure:
FAIL: t/lex-depend-cxx
======================
Running from installcheck: no
Using TAP: no
PATH = /opt/local/var/macports/build/_Users_ram_macports_ports_devel_automake/automake/work/automake-1.12/t/ax:/opt/local/var/macports/build/_Users_ram_macports_ports_devel_automake/automake/work/automake-1.12/t/wrap:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
++ pwd
/opt/local/var/macports/build/_Users_ram_macports_ports_devel_automake/automake/work/automake-1.12/t/lex-depend-cxx.dir
+ cat
+ cat
+ cat
+ cp joe.ll moe.l++
+ cat
+ aclocal-1.12 -Werror
+ automake-1.12 --foreign -Werror -Wall -a
configure.ac: installing './ylwrap'
+ /usr/bin/grep -F joe.Po Makefile.in
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/joe.Po <at> am__quote@
test -f $(DEPDIR)/joe.Po
+ /usr/bin/grep -F moe.Po Makefile.in
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/moe.Po <at> am__quote@
test -f $(DEPDIR)/moe.Po
+ autoconf
+ ./configure --enable-dependency-tracking
checking for a BSD-compatible install... /opt/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for flex... lex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
+ make test-deps-exist
ls -l .deps ;: For debugging.
total 16
-rw-r--r-- 1 macports admin 8 Apr 25 17:45 joe.Po
-rw-r--r-- 1 macports admin 8 Apr 25 17:45 moe.Po
test -f .deps/joe.Po
test -f .deps/moe.Po
+ make
/bin/sh ./ylwrap joe.ll lex.yy.c joe.cc -- lex
g++ -DPACKAGE_NAME=\"lex-depend-cxx\"
-DPACKAGE_TARNAME=\"lex-depend-cxx\" -DPACKAGE_VERSION=\"1.0\"
-DPACKAGE_STRING=\"lex-depend-cxx\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"lex-depend-cxx\" -DVERSION=\"1.0\"
-DYYTEXT_POINTER=1 -I. -g -O2 -MT joe.o -
MD -MP -MF .deps/joe.Tpo -c -o joe.o joe.cc
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61,
from /usr/include/c++/4.2.1/bits/c++config.h:41,
from /usr/include/c++/4.2.1/cstdio:50,
from my-hdr.hxx:2,
from joe.ll:10:
joe.ll:3: error: previous declaration of ‘int isatty(int)’ with ‘C++’ linkage
/usr/include/unistd.h:502: error: conflicts with new declaration with
‘C’ linkage
make: *** [joe.o] Error 1
+ exit_status=2
+ set +e
+ cd /opt/local/var/macports/build/_Users_ram_macports_ports_devel_automake/automake/work/automake-1.12
+ test no = yes
+ case $am_explicit_skips in
+ test 2 -eq 0
+ keep_testdirs=yes
+ am_keeping_testdirs
+ case $keep_testdirs in
+ return 0
+ set +x
lex-depend-cxx: exit 2
This is with Mac OS 10.7.3 and Xcode-4.3.2
Cheers
Adam
Changed bug submitter to 'Adam Mercer <ramercer <at> gmail.com>' from 'Stefano Lattarini <stefano.lattarini <at> gmail.com>'
Request was from
Stefano Lattarini <stefano.lattarini <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Thu, 26 Apr 2012 08:10: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, 26 Apr 2012 08:10:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-automake <at> gnu.org
:
bug#11345
; Package
automake
.
(Thu, 26 Apr 2012 08:40:02 GMT)
Full text and
rfc822 format available.
Message #12 received at 11345 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Adam, thanks for the report.
On 04/26/2012 10:05 AM, Adam Mercer wrote:
>
> I've been looking at getting the version of automake in MacPorts
> updated to automake-1.12 and I'm getting the following test failure:
>
> FAIL: t/lex-depend-cxx
> ======================
>
> [SNIP]
>
> + make
> /bin/sh ./ylwrap joe.ll lex.yy.c joe.cc -- lex
> g++ -DPACKAGE_NAME=\"lex-depend-cxx\"
> -DPACKAGE_TARNAME=\"lex-depend-cxx\" -DPACKAGE_VERSION=\"1.0\"
> -DPACKAGE_STRING=\"lex-depend-cxx\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE_URL=\"\" -DPACKAGE=\"lex-depend-cxx\" -DVERSION=\"1.0\"
> -DYYTEXT_POINTER=1 -I. -g -O2 -MT joe.o -
> MD -MP -MF .deps/joe.Tpo -c -o joe.o joe.cc
> In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61,
> from /usr/include/c++/4.2.1/bits/c++config.h:41,
> from /usr/include/c++/4.2.1/cstdio:50,
> from my-hdr.hxx:2,
> from joe.ll:10:
> joe.ll:3: error: previous declaration of ‘int isatty(int)’ with ‘C++’ linkage
> /usr/include/unistd.h:502: error: conflicts with new declaration with
> ‘C’ linkage
> make: *** [joe.o] Error 1
>
> This is with Mac OS 10.7.3 and Xcode-4.3.2
>
Does the attached patch solves the problem for you?
Thanks,
Stefano
[0001-tests-fix-a-failure-in-Lex-C-tests-on-Mac-OS-X.patch (text/x-diff, attachment)]
Information forwarded
to
bug-automake <at> gnu.org
:
bug#11345
; Package
automake
.
(Thu, 26 Apr 2012 09:44:01 GMT)
Full text and
rfc822 format available.
Message #15 received at 11345 <at> debbugs.gnu.org (full text, mbox):
On 04/26/2012 10:38 AM, Stefano Lattarini wrote:
> Hi Adam, thanks for the report.
>
> On 04/26/2012 10:05 AM, Adam Mercer wrote:
>>
>> I've been looking at getting the version of automake in MacPorts
>> updated to automake-1.12 and I'm getting the following test failure:
>>
>> FAIL: t/lex-depend-cxx
>
> Does the attached patch solves the problem for you?
>
Oops, I forgot to add you to the THANKS file. Consider the following
hunk squashed in:
diff --git a/THANKS b/THANKS
index 16367e1..c8e4012 100644
--- a/THANKS
+++ b/THANKS
@@ -3,6 +3,7 @@ It would not be what it is today without the invaluable help of these
people:
Adam J. Richter adam <at> yggdrasil.com
+Adam Mercer ramercer <at> gmail.com
Adam Sampson ats <at> offog.org
Adrian Bunk bunk <at> fs.tum.de
Akim Demaille akim <at> freefriends.org
Sorry for the noise,
Stefano
Information forwarded
to
bug-automake <at> gnu.org
:
bug#11345
; Package
automake
.
(Thu, 26 Apr 2012 15:20:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 11345 <at> debbugs.gnu.org (full text, mbox):
tags 11345 patch
severity 11345 minor
close 11345
thanks
On 04/26/2012 03:56 PM, Adam Mercer wrote:
> On Thu, Apr 26, 2012 at 04:42, Stefano Lattarini
> <stefano.lattarini <at> gmail.com> wrote:
>
>>> Does the attached patch solves the problem for you?
>>>
>> Oops, I forgot to add you to the THANKS file. Consider the following
>> hunk squashed in:
>
> Yes, that does the trick.
>
Thanks for confirming. I've pushed the fix to maint, and I'm closing
this bug report.
Regards,
Stefano
Added tag(s) patch.
Request was from
Stefano Lattarini <stefano.lattarini <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Thu, 26 Apr 2012 15:20:03 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
11345 <at> debbugs.gnu.org and Adam Mercer <ramercer <at> gmail.com>
Request was from
Stefano Lattarini <stefano.lattarini <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Thu, 26 Apr 2012 15:20:04 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-automake <at> gnu.org
:
bug#11345
; Package
automake
.
(Thu, 26 Apr 2012 16:19:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 11345 <at> debbugs.gnu.org (full text, mbox):
On Thu, Apr 26, 2012 at 04:42, Stefano Lattarini
<stefano.lattarini <at> gmail.com> wrote:
>> Does the attached patch solves the problem for you?
>>
> Oops, I forgot to add you to the THANKS file. Consider the following
> hunk squashed in:
Yes, that does the trick.
Cheers
Adam
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 25 May 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 327 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.