[Reproducible-builds] Bug#813264: undertaker: FTBFS: BoolExpLP/BoolExpLexer.cpp_shipped:751:9: error: no match for 'operator=' (operand types are 'std::istream

Chris Lamb lamby at debian.org
Sat Jan 30 22:52:18 UTC 2016


Source: undertaker
Version: 1.6.1-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

undertaker fails to build from source in unstable/amd64:

  [..]

  BoolExpLP/BoolExpLexer.cpp_shipped: In member function 'kconfig::BoolExpParser::token_type kconfig::BoolExpLexer::lex(kconfig::BoolExpParser::semantic_type*, kconfig::BoolExpParser::location_type*)':
  BoolExpLP/BoolExpLexer.cpp_shipped:751:9: error: no match for 'operator=' (operand types are 'std::istream {aka std::basic_istream<char>}' and 'std::istream* {aka std::basic_istream<char>*}')
      yyin = & std::cin;
           ^
  In file included from /usr/include/c++/5/iostream:40:0,
                   from BoolExpLP/BoolExpLexer.cpp_shipped:120:
  /usr/include/c++/5/istream:625:7: note: candidate: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator=(std::basic_istream<_CharT, _Traits>&&) [with _CharT = char; _Traits = std::char_traits<char>]
         operator=(basic_istream&& __rhs)
         ^
  /usr/include/c++/5/istream:625:7: note:   no known conversion for argument 1 from 'std::istream* {aka std::basic_istream<char>*}' to 'std::basic_istream<char>&&'
  BoolExpLP/BoolExpLexer.cpp_shipped:758:10: error: no match for 'operator=' (operand types are 'std::ostream {aka std::basic_ostream<char>}' and 'std::ostream* {aka std::basic_ostream<char>*}')
      yyout = & std::cout;
            ^
  In file included from /usr/include/c++/5/iostream:39:0,
                   from BoolExpLP/BoolExpLexer.cpp_shipped:120:
  /usr/include/c++/5/ostream:402:7: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator=(std::basic_ostream<_CharT, _Traits>&&) [with _CharT = char; _Traits = std::char_traits<char>]
         operator=(basic_ostream&& __rhs)
         ^
  /usr/include/c++/5/ostream:402:7: note:   no known conversion for argument 1 from 'std::ostream* {aka std::basic_ostream<char>*}' to 'std::basic_ostream<char>&&'
  BoolExpLP/BoolExpLexer.cpp_shipped:1062:44: error: cannot convert 'std::istream {aka std::basic_istream<char>}' to 'std::istream* {aka std::basic_istream<char>*}' in assignment
      YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
                                              ^
  In file included from /usr/include/c++/5/iostream:40:0,
                   from BoolExpLP/BoolExpLexer.cpp_shipped:120:
  /usr/include/c++/5/istream: In constructor 'KconfigFlexLexer::KconfigFlexLexer(std::istream*, std::ostream*)':
  /usr/include/c++/5/istream:606:7: error: 'std::basic_istream<_CharT, _Traits>::basic_istream() [with _CharT = char; _Traits = std::char_traits<char>]' is protected
         basic_istream()
         ^
  BoolExpLP/BoolExpLexer.cpp_shipped:1178:75: error: within this context
   yyFlexLexer::yyFlexLexer( std::istream* arg_yyin, std::ostream* arg_yyout )
                                                                             ^
  In file included from /usr/include/c++/5/iostream:39:0,
                   from BoolExpLP/BoolExpLexer.cpp_shipped:120:
  /usr/include/c++/5/ostream:384:7: error: 'std::basic_ostream<_CharT, _Traits>::basic_ostream() [with _CharT = char; _Traits = std::char_traits<char>]' is protected
         basic_ostream()
         ^
  BoolExpLP/BoolExpLexer.cpp_shipped:1178:75: error: within this context
   yyFlexLexer::yyFlexLexer( std::istream* arg_yyin, std::ostream* arg_yyout )
                                                                             ^
  BoolExpLP/BoolExpLexer.cpp_shipped:1180:7: error: no match for 'operator=' (operand types are 'std::istream {aka std::basic_istream<char>}' and 'std::istream* {aka std::basic_istream<char>*}')
    yyin = arg_yyin;
         ^
  In file included from /usr/include/c++/5/iostream:40:0,
                   from BoolExpLP/BoolExpLexer.cpp_shipped:120:
  /usr/include/c++/5/istream:625:7: note: candidate: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator=(std::basic_istream<_CharT, _Traits>&&) [with _CharT = char; _Traits = std::char_traits<char>]
         operator=(basic_istream&& __rhs)
         ^
  /usr/include/c++/5/istream:625:7: note:   no known conversion for argument 1 from 'std::istream* {aka std::basic_istream<char>*}' to 'std::basic_istream<char>&&'
  BoolExpLP/BoolExpLexer.cpp_shipped:1181:8: error: no match for 'operator=' (operand types are 'std::ostream {aka std::basic_ostream<char>}' and 'std::ostream* {aka std::basic_ostream<char>*}')
    yyout = arg_yyout;
          ^
  In file included from /usr/include/c++/5/iostream:39:0,
                   from BoolExpLP/BoolExpLexer.cpp_shipped:120:
  /usr/include/c++/5/ostream:402:7: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator=(std::basic_ostream<_CharT, _Traits>&&) [with _CharT = char; _Traits = std::char_traits<char>]
         operator=(basic_ostream&& __rhs)
         ^
  /usr/include/c++/5/ostream:402:7: note:   no known conversion for argument 1 from 'std::ostream* {aka std::basic_ostream<char>*}' to 'std::basic_ostream<char>&&'
  BoolExpLP/BoolExpLexer.cpp_shipped: In member function 'virtual void KconfigFlexLexer::switch_streams(std::istream*, std::ostream*)':
  BoolExpLP/BoolExpLexer.cpp_shipped:1227:9: error: no match for 'operator=' (operand types are 'std::ostream {aka std::basic_ostream<char>}' and 'std::ostream* {aka std::basic_ostream<char>*}')
     yyout = new_out;
           ^
  In file included from /usr/include/c++/5/iostream:39:0,
                   from BoolExpLP/BoolExpLexer.cpp_shipped:120:
  /usr/include/c++/5/ostream:402:7: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator=(std::basic_ostream<_CharT, _Traits>&&) [with _CharT = char; _Traits = std::char_traits<char>]
         operator=(basic_ostream&& __rhs)
         ^
  /usr/include/c++/5/ostream:402:7: note:   no known conversion for argument 1 from 'std::ostream* {aka std::basic_ostream<char>*}' to 'std::basic_ostream<char>&&'
  BoolExpLP/BoolExpLexer.cpp_shipped: In member function 'virtual int KconfigFlexLexer::LexerInput(char*, int)':
  BoolExpLP/BoolExpLexer.cpp_shipped:1236:11: error: base operand of '->' has non-pointer type 'std::istream {aka std::basic_istream<char>}'
    if ( yyin->eof() || yyin->fail() )
             ^
  BoolExpLP/BoolExpLexer.cpp_shipped:1236:26: error: base operand of '->' has non-pointer type 'std::istream {aka std::basic_istream<char>}'
    if ( yyin->eof() || yyin->fail() )
                            ^
  BoolExpLP/BoolExpLexer.cpp_shipped:1251:13: error: base operand of '->' has non-pointer type 'std::istream {aka std::basic_istream<char>}'
    (void) yyin->read( buf, max_size );
               ^
  BoolExpLP/BoolExpLexer.cpp_shipped:1253:11: error: base operand of '->' has non-pointer type 'std::istream {aka std::basic_istream<char>}'
    if ( yyin->bad() )
             ^
  BoolExpLP/BoolExpLexer.cpp_shipped:1256:14: error: base operand of '->' has non-pointer type 'std::istream {aka std::basic_istream<char>}'
     return yyin->gcount();
                ^
  BoolExpLP/BoolExpLexer.cpp_shipped: In member function 'virtual void KconfigFlexLexer::LexerOutput(const char*, int)':
  BoolExpLP/BoolExpLexer.cpp_shipped:1262:14: error: base operand of '->' has non-pointer type 'std::ostream {aka std::basic_ostream<char>}'
    (void) yyout->write( buf, size );
                ^
  BoolExpLP/BoolExpLexer.cpp_shipped: In member function 'virtual void KconfigFlexLexer::yyrestart(std::istream*)':
  BoolExpLP/BoolExpLexer.cpp_shipped:1619:48: error: no matching function for call to 'KconfigFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*&)'
    yy_init_buffer( YY_CURRENT_BUFFER, input_file );
                                                  ^
  In file included from BoolExpLP/BoolExpLexer.cpp_shipped:391:0:
  /usr/include/FlexLexer.h:160:7: note: candidate: void KconfigFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream&)
    void yy_init_buffer( struct yy_buffer_state* b, FLEX_STD istream& s );
         ^
  /usr/include/FlexLexer.h:160:7: note:   no known conversion for argument 2 from 'std::istream* {aka std::basic_istream<char>*}' to 'std::istream& {aka std::basic_istream<char>&}'
  BoolExpLP/BoolExpLexer.cpp_shipped: In member function 'void KconfigFlexLexer::yy_load_buffer_state()':
  BoolExpLP/BoolExpLexer.cpp_shipped:1670:7: error: no match for 'operator=' (operand types are 'std::istream {aka std::basic_istream<char>}' and 'std::istream* {aka std::basic_istream<char>*}')
    yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
         ^
  In file included from /usr/include/c++/5/iostream:40:0,
                   from BoolExpLP/BoolExpLexer.cpp_shipped:120:
  /usr/include/c++/5/istream:625:7: note: candidate: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator=(std::basic_istream<_CharT, _Traits>&&) [with _CharT = char; _Traits = std::char_traits<char>]
         operator=(basic_istream&& __rhs)
         ^
  /usr/include/c++/5/istream:625:7: note:   no known conversion for argument 1 from 'std::istream* {aka std::basic_istream<char>*}' to 'std::basic_istream<char>&&'
  BoolExpLP/BoolExpLexer.cpp_shipped: In member function 'virtual yy_buffer_state* KconfigFlexLexer::yy_create_buffer(std::istream*, int)':
  BoolExpLP/BoolExpLexer.cpp_shipped:1703:26: error: no matching function for call to 'KconfigFlexLexer::yy_init_buffer(yy_buffer_state*&, std::istream*&)'
    yy_init_buffer( b, file );
                            ^
  In file included from BoolExpLP/BoolExpLexer.cpp_shipped:391:0:
  /usr/include/FlexLexer.h:160:7: note: candidate: void KconfigFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream&)
    void yy_init_buffer( struct yy_buffer_state* b, FLEX_STD istream& s );
         ^
  /usr/include/FlexLexer.h:160:7: note:   no known conversion for argument 2 from 'std::istream* {aka std::basic_istream<char>*}' to 'std::istream& {aka std::basic_istream<char>&}'
  BoolExpLP/BoolExpLexer.cpp_shipped: At global scope:
  BoolExpLP/BoolExpLexer.cpp_shipped:32:25: error: prototype for 'void KconfigFlexLexer::yy_init_buffer(YY_BUFFER_STATE, std::istream*)' does not match any in class 'KconfigFlexLexer'
       #define yyFlexLexer KconfigFlexLexer
                           ^
  BoolExpLP/BoolExpLexer.cpp_shipped:1747:10: note: in expansion of macro 'yyFlexLexer'
       void yyFlexLexer::yy_init_buffer( YY_BUFFER_STATE b, std::istream* file )
            ^
  In file included from BoolExpLP/BoolExpLexer.cpp_shipped:391:0:
  /usr/include/FlexLexer.h:160:7: error: candidate is: void KconfigFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream&)
    void yy_init_buffer( struct yy_buffer_state* b, FLEX_STD istream& s );
         ^
  g++ -Wextra -O2 -std=gnu++11 -I../scripts/kconfig -I../picosat  -c -o CNFBuilder.o CNFBuilder.cpp
  <builtin>: recipe for target 'BoolExpLexer.o' failed
  make[3]: *** [BoolExpLexer.o] Error 1
  make[3]: *** Waiting for unfinished jobs....
    gcc -Wp,-MD,scripts/kconfig/.zconf.tab.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer   -DCURSES_LOC="<curses.h>" -DLOCALE  -Iscripts/kconfig -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c
    gcc  -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o  
  make[3]: Leaving directory '/home/lamby/temp/cdt.20160130233750.6XlExjyJlc/undertaker-1.6.1'
  make -f Makefile.kbuild dumpconf
  make[3]: Entering directory '/home/lamby/temp/cdt.20160130233750.6XlExjyJlc/undertaker-1.6.1'
  make -f scripts/Makefile.build obj=scripts/basic
  make -f scripts/Makefile.build obj=scripts/kconfig dumpconf
    gcc  -o scripts/kconfig/dumpconf scripts/kconfig/dumpconf.o scripts/kconfig/zconf.tab.o  
  scripts/kconfig/dumpconf /home/lamby/temp/cdt.20160130233750.6XlExjyJlc/undertaker-1.6.1/fm/main.fm
  setting archusing arch x86
  Item	Synchronization	boolean
  HasPrompts	Synchronization	0
  Item	einseitig	boolean
  HasPrompts	einseitig	1
  ItemSelects	einseitig	"Synchronization"	"y"
  ItemSelects	einseitig	"unterdrueckend"	"y"
  Item	unterdrueckend	boolean
  Depends	unterdrueckend	"einseitig"
  HasPrompts	unterdrueckend	1
  Item	mehrseitig	boolean
  HasPrompts	mehrseitig	0
  ItemSelects	mehrseitig	"Synchronization"	"y"
  Item	blockierend	boolean
  HasPrompts	blockierend	1
  ItemSelects	blockierend	"mehrseitig"	"y"
  Item	nichtblockierend	boolean
  HasPrompts	nichtblockierend	1
  ItemSelects	nichtblockierend	"mehrseitig"	"y"
  make[3]: Leaving directory '/home/lamby/temp/cdt.20160130233750.6XlExjyJlc/undertaker-1.6.1'
  g++ -o zizler Zizler.o Ziz.o  -lboost_regex -lboost_wave -lboost_system 
  make[3]: Leaving directory '/home/lamby/temp/cdt.20160130233750.6XlExjyJlc/undertaker-1.6.1/ziz'
  make[3]: Leaving directory '/home/lamby/temp/cdt.20160130233750.6XlExjyJlc/undertaker-1.6.1/undertaker'
  Makefile:32: recipe for target 'undertaker_progs' failed
  make[2]: *** [undertaker_progs] Error 2
  make[2]: Leaving directory '/home/lamby/temp/cdt.20160130233750.6XlExjyJlc/undertaker-1.6.1'
  Makefile:27: recipe for target 'all' failed
  make[1]: *** [all] Error 2
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160130233750.6XlExjyJlc/undertaker-1.6.1'
  dh_auto_build: make -j9 returned exit code 2
  debian/rules:6: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: undertaker.1.6.1-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 4024 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160130/7fa47e5d/attachment.obj>


More information about the Reproducible-builds mailing list