Source: fauhdlc
Version: 20130704-1
Severity: serious

>From my pbuilder build log (on amd64):

...
./gen_parser_gen.py FAUhdlParser.yy.in FAUhdlParser.yy
flex FAUhdlScanner.l
Detect bison version 3.0.4
Generating parser file FAUhdlParser.yy from FAUhdlParser.yy.in
bison FAUhdlParser.yy
FAUhdlParser.yy:13.9-27: warning: %define variable 'parser_class_name'
requires '{...}' values [-Wdeprecated]
 %define "parser_class_name" "FAUhdlParser"
         ^^^^^^^^^^^^^^^^^^^
/usr/bin/make  all-am
make[3]: Entering directory '/build/fauhdlc-20130704/frontend/newparser'
g++ -Wall -Wextra -Wendif-labels -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align -Wwrite-strings -Wstrict-aliasing -Wsign-compare
-Wconversion -Wwrite-strings -Wno-unused-parameter -Wold-style-cast
-U_FORTIFY_SOURCE -DPACKAGE_NAME=\"fauhdlc\"
-DPACKAGE_TARNAME=\"fauhdlc\" -DPACKAGE_VERSION=\"20130704\"
-DPACKAGE_STRING=\"fauhdlc\ 20130704\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"fauhdlc\" -DVERSION=\"20130704\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_GC_GC_CPP_H=1 -I.  -I ../.. -I.
-Wno-conversion -Wno-old-style-cast -Wno-parentheses -g -O2 -MT
libnewparser_a-FAUhdlScanner.o -MD -MP -MF
.deps/libnewparser_a-FAUhdlScanner.Tpo -c -o
libnewparser_a-FAUhdlScanner.o `test -f 'FAUhdlScanner.cpp' || echo
'./'`FAUhdlScanner.cpp
g++ -Wall -Wextra -Wendif-labels -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align -Wwrite-strings -Wstrict-aliasing -Wsign-compare
-Wconversion -Wwrite-strings -Wno-unused-parameter -Wold-style-cast
-U_FORTIFY_SOURCE -DPACKAGE_NAME=\"fauhdlc\"
-DPACKAGE_TARNAME=\"fauhdlc\" -DPACKAGE_VERSION=\"20130704\"
-DPACKAGE_STRING=\"fauhdlc\ 20130704\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"fauhdlc\" -DVERSION=\"20130704\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_GC_GC_CPP_H=1 -I.  -I ../.. -I.
-Wno-conversion -Wno-old-style-cast -Wno-parentheses -g -O2 -MT
libnewparser_a-FAUhdlParser.tab.o -MD -MP -MF
.deps/libnewparser_a-FAUhdlParser.tab.Tpo -c -o
libnewparser_a-FAUhdlParser.tab.o `test -f 'FAUhdlParser.tab.cc' ||
echo './'`FAUhdlParser.tab.cc
g++ -Wall -Wextra -Wendif-labels -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align -Wwrite-strings -Wstrict-aliasing -Wsign-compare
-Wconversion -Wwrite-strings -Wno-unused-parameter -Wold-style-cast
-U_FORTIFY_SOURCE -DPACKAGE_NAME=\"fauhdlc\"
-DPACKAGE_TARNAME=\"fauhdlc\" -DPACKAGE_VERSION=\"20130704\"
-DPACKAGE_STRING=\"fauhdlc\ 20130704\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"fauhdlc\" -DVERSION=\"20130704\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_GC_GC_CPP_H=1 -I.  -I ../.. -I.
-Wno-conversion -Wno-old-style-cast -Wno-parentheses -g -O2 -MT
libnewparser_a-ParserDriver.o -MD -MP -MF
.deps/libnewparser_a-ParserDriver.Tpo -c -o
libnewparser_a-ParserDriver.o `test -f 'ParserDriver.cpp' || echo
'./'`ParserDriver.cpp
In file included from ParserDriver.cpp:13:0:
../../frontend/newparser/FAUhdlScanner.hpp:26:12: error: expected ')'
before 'istream'
   FLEX_STD istream* arg_yyin = 0,
            ^~~~~~~
ParserDriver.cpp: In member function 'void
yy::ParserDriver::parse(const string&, const char*)':
ParserDriver.cpp:107:57: error: no matching function for call to
'yy::FAUhdlScanner::FAUhdlScanner(std::ifstream*, std::ostream*)'
  this->scanner = new FAUhdlScanner(&inStream, &std::cout);
                                                         ^
In file included from ParserDriver.cpp:13:0:
../../frontend/newparser/FAUhdlScanner.hpp:21:7: note: candidate:
yy::FAUhdlScanner::FAUhdlScanner()
 class FAUhdlScanner : public yyFlexLexer {
       ^~~~~~~~~~~~~
../../frontend/newparser/FAUhdlScanner.hpp:21:7: note:   candidate
expects 0 arguments, 2 provided
In file included from FAUhdlScanner.l:55:0:
FAUhdlScanner.hpp:26:12: error: expected ')' before 'istream'
   FLEX_STD istream* arg_yyin = 0,
            ^~~~~~~
Makefile:393: recipe for target 'libnewparser_a-FAUhdlScanner.o' failed
make[3]: *** [libnewparser_a-FAUhdlScanner.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Makefile:421: recipe for target 'libnewparser_a-ParserDriver.o' failed
make[3]: *** [libnewparser_a-ParserDriver.o] Error 1
mv -f .deps/libnewparser_a-FAUhdlParser.tab.Tpo
.deps/libnewparser_a-FAUhdlParser.tab.Po
make[3]: Leaving directory '/build/fauhdlc-20130704/frontend/newparser'
Makefile:326: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/build/fauhdlc-20130704/frontend/newparser'
Makefile:1764: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/build/fauhdlc-20130704'
debian/rules:40: recipe for target 'build-arch-stamp' failed
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-- 
Daniel Schepler

Reply via email to