automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/3] ylwrap: rename header inclusion in generated parsers


From: Stefano Lattarini
Subject: Re: [PATCH 3/3] ylwrap: rename header inclusion in generated parsers
Date: Fri, 13 Jul 2012 19:31:42 +0200

On 07/13/2012 04:20 PM, Akim Demaille wrote:
> 
> Sorry about these.  Updated below, and in the branch too.
>
Thanks.  I'm still seeing the test case 'yacc-bison-skeleton.sh' failing
on the Debian 64 bit system gcc10.fsffrance.org.  Below is the log:

  Running from installcheck: no
  Using TAP: no
  PATH = ...
  yacc-bison-skeleton: running bison --version
  bison (GNU Bison) 2.3
  Written by Robert Corbett and Richard Stallman.

  Copyright (C) 2006 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  +++ pwd
  /home/slattarini/tmp/automake-1.12a/t/yacc-bison-skeleton.dir
  + cat
  + cat
  + cat
  + cat
  + aclocal-1.12a -Werror
  + autoconf
  + automake-1.12a --foreign -Werror -Wall -a
  configure.ac: installing './ylwrap'
  + mkdir build
  + cd build
  + ../configure 'YACC=bison -y'
  checking for a BSD-compatible install... /usr/bin/install -c
  checking whether build environment is sane... yes
  checking for a thread-safe mkdir -p... /bin/mkdir -p
  checking for gawk... gawk
  checking whether make sets $(MAKE)... yes
  checking whether make supports nested variables... yes
  checking for gcc... cc
  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 cc accepts -g... yes
  checking for cc option to accept ISO C89... none needed
  checking for style of include used by make... GNU
  checking dependency style of cc... gcc3
  checking for bison... bison -y
  checking that generated files are newer than configure... done
  configure: creating ./config.status
  config.status: creating Makefile
  config.status: executing depfiles commands
  + make
  /bin/sh ../ylwrap ../zardoz.y y.tab.c zardoz.c y.tab.h `echo zardoz.c | sed 
-e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output 
zardoz.output -- bison -y -d --skeleton glr.c
  updating zardoz.h
  cc -DPACKAGE_NAME=\"yacc-bison-skeleton\" 
-DPACKAGE_TARNAME=\"yacc-bison-skeleton\" -DPACKAGE_VERSION=\"1.0\" 
-DPACKAGE_STRING=\"yacc-bison-skeleton\ 1.0\" -DPACKAGE_BUGREPORT=\"\" 
-DPACKAGE_URL=\"\" -DPACKAGE=\"yacc-bison-skeleton\" -DVERSION=\"1.0\" -I. -I.. 
    -g -O2 -MT zardoz.o -MD -MP -MF .deps/zardoz.Tpo -c -o zardoz.o zardoz.c
  mv -f .deps/zardoz.Tpo .deps/zardoz.Po
  cc -DPACKAGE_NAME=\"yacc-bison-skeleton\" 
-DPACKAGE_TARNAME=\"yacc-bison-skeleton\" -DPACKAGE_VERSION=\"1.0\" 
-DPACKAGE_STRING=\"yacc-bison-skeleton\ 1.0\" -DPACKAGE_BUGREPORT=\"\" 
-DPACKAGE_URL=\"\" -DPACKAGE=\"yacc-bison-skeleton\" -DVERSION=\"1.0\" -I. -I.. 
    -g -O2 -MT foo.o -MD -MP -MF .deps/foo.Tpo -c -o foo.o ../foo.c
  mv -f .deps/foo.Tpo .deps/foo.Po
  cc  -g -O2   -o zardoz zardoz.o foo.o
  foo.o: In function `yylex':
  
/home/slattarini/tmp/automake-1.12a/t/yacc-bison-skeleton.dir/build/../zardoz.y:2:
 multiple definition of `yylex'
  
zardoz.o:/home/slattarini/tmp/automake-1.12a/t/yacc-bison-skeleton.dir/build/../zardoz.y:2:
 first defined here
  foo.o: In function `yyerror':
  
/home/slattarini/tmp/automake-1.12a/t/yacc-bison-skeleton.dir/build/../zardoz.y:3:
 multiple definition of `yyerror'
  
zardoz.o:/home/slattarini/tmp/automake-1.12a/t/yacc-bison-skeleton.dir/build/../zardoz.y:3:
 first defined here
  collect2: ld returned 1 exit status
  make: *** [zardoz] Error 1
  + exit_status=2
  + set +e
  + cd /home/slattarini/tmp/automake-1.12a
  + 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
  yacc-bison-skeleton: exit 2

Regards,
  Stefano



reply via email to

[Prev in Thread] Current Thread [Next in Thread]