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

Re: Help: Bug#733407: maude: FTBFS: surface.yy:63:67: error: 'parseResult' was not declared in this scope



On 2014-01-27 20:30, Andreas Tille wrote:
> Hi,
> 
> does anybody have a clue how to fix this C++ issue?
> 
> Kind regards
> 
>          Andreas.
> 

It is not a C++ issue, but a change in bison you are looking at.  I had
a similar issue with mscgen not too long ago[1].

~Niels

[1] http://packages.qa.debian.org/m/mscgen/news/20131229T131907Z.html


> ----- Forwarded message from David Suárez <david.sephirot@gmail.com> -----
> 
> Date: Sat, 28 Dec 2013 19:10:41 +0100
> From: David Suárez <david.sephirot@gmail.com>
> To: submit@bugs.debian.org
> Subject: Bug#733407: maude: FTBFS: surface.yy:63:67: error: 'parseResult' was not declared in this scope
> X-Debian-PR-Message: report 733407
> X-Debian-PR-Package: src:maude
> X-Debian-PR-Keywords: jessie sid
> X-Debian-PR-Source: maude
> 
> Source: maude
> Version: 2.6-4
> Severity: serious
> Tags: jessie sid
> User: debian-qa@lists.debian.org
> Usertags: qa-ftbfs-20131226 qa-ftbfs
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part (hopefully):
>> g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../src/Utility -I../../src/Temporal -I../../src/Interface -I../../src/Core -I../../src/Variable -I../../src/FullCompiler -I../../src/Higher -I../../src/CUI_Theory -I../../src/S_Theory -I../../src/NA_Theory -I../../src/FreeTheory -I../../src/ObjectSystem -I../../src/Mixfix -I../../src/BuiltIn -I../../src/MSCP10 -I../../src/IO_Stuff -I../../src/ACU_Persistent -I../../src/ACU_Theory -I../../src/AU_Persistent -I../../src/AU_Theory -I../../src/Meta -I../../src/3rdParty -I../../src/FullCompiler -I../../src/StrategyLanguage -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o libmixfix_a-surface.o `test -f 'surface.cc' || echo './'`surface.cc
>> In file included from ../../src/Interface/term.hh:34:0,
>>                  from ../../src/Variable/variableTerm.hh:28,
>>                  from ../../src/Core/variableInfo.hh:30,
>>                  from ../../src/Core/preEquation.hh:30,
>>                  from ../../src/Core/rule.hh:28,
>>                  from userLevelRewritingContext.hh:34,
>>                  from surface.yy:54:
>> ../../src/Core/termSet.hh:35:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
>>    PointerSet::cardinality;
>>    ^
>> ../../src/Core/termSet.hh:36:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
>>    PointerSet::makeEmpty;
>>    ^
>> surface.yy: In function 'int yyparse()':
>> surface.yy:63:67: error: 'parseResult' was not declared in this scope
>>  #define PARSE_RESULT (*((UserLevelRewritingContext::ParseResult*) parseResult))
>>                                                                    ^
>> surface.yy:235:6: note: in expansion of macro 'PARSE_RESULT'
>>       PARSE_RESULT = UserLevelRewritingContext::QUIT;
>>       ^
>> surface.yy:63:67: error: 'parseResult' was not declared in this scope
>>  #define PARSE_RESULT (*((UserLevelRewritingContext::ParseResult*) parseResult))
>>                                                                    ^
>> surface.yy:312:6: note: in expansion of macro 'PARSE_RESULT'
>>       PARSE_RESULT = UserLevelRewritingContext::QUIT;
>>       ^
>> surface.yy:63:67: error: 'parseResult' was not declared in this scope
>>  #define PARSE_RESULT (*((UserLevelRewritingContext::ParseResult*) parseResult))
>>                                                                    ^
>> surface.yy:319:10: note: in expansion of macro 'PARSE_RESULT'
>>           PARSE_RESULT = UserLevelRewritingContext::QUIT;
>>           ^
>> surface.yy:573:4: error: expected ';' before '}' token
>>     }
>>     ^
>> surface.yy:1097:33: error: expected ';' before '}' token
>>  command  : KW_SELECT  { lexBubble(END_COMMAND, 1) }
>>                                  ^
>> surface.yy:1102:33: error: expected ';' before '}' token
>>    | KW_DUMP   { lexBubble(END_COMMAND, 1) }
>>                                  ^
>> surface.yy:63:67: error: 'parseResult' was not declared in this scope
>>  #define PARSE_RESULT (*((UserLevelRewritingContext::ParseResult*) parseResult))
>>                                                                    ^
>> surface.yy:1490:6: note: in expansion of macro 'PARSE_RESULT'
>>       PARSE_RESULT = UserLevelRewritingContext::RESUME;
>>       ^
>> surface.yy:63:67: error: 'parseResult' was not declared in this scope
>>  #define PARSE_RESULT (*((UserLevelRewritingContext::ParseResult*) parseResult))
>>                                                                    ^
>> surface.yy:1494:6: note: in expansion of macro 'PARSE_RESULT'
>>       PARSE_RESULT = UserLevelRewritingContext::ABORT;
>>       ^
>> surface.yy:63:67: error: 'parseResult' was not declared in this scope
>>  #define PARSE_RESULT (*((UserLevelRewritingContext::ParseResult*) parseResult))
>>                                                                    ^
>> surface.yy:1498:6: note: in expansion of macro 'PARSE_RESULT'
>>       PARSE_RESULT = UserLevelRewritingContext::STEP;
>>       ^
>> surface.yy:63:67: error: 'parseResult' was not declared in this scope
>>  #define PARSE_RESULT (*((UserLevelRewritingContext::ParseResult*) parseResult))
>>                                                                    ^
>> surface.yy:1502:6: note: in expansion of macro 'PARSE_RESULT'
>>       PARSE_RESULT = UserLevelRewritingContext::WHERE;
>>       ^
>> surface.c:5248:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>> surface.c:5392:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
>> surface.yy:308:58: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
>>       system((string("ls") + $3).c_str());
>>                                                           ^
>> make[5]: *** [libmixfix_a-surface.o] Error 1
> 
> The full build log is available from:
>    http://aws-logs.debian.net/ftbfs-logs/2013/12/26/maude_2.6-4_unstable.log
> 
> A list of current common problems and possible solutions is available at
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
> 
> About the archive rebuild: The rebuild was done on EC2 VM instances from
> Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
> failed build was retried once to eliminate random failures.
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging
> 
> 
> ----- End forwarded message -----
> 


Reply to: