Package: mailfilter
Version: 0.8.3-1
Severity: serious
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.

[...]
Making all in src
make[3]: Entering directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-mailfilter/mailfilter-0.8.3/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I. -I../include -I.. 
-DLOCALEDIR=\"/usr/share/locale\" -I../intl -I.. -I../include -I.  -Wdate-time  
-g -O0 -fstack-protector-strong -Wformat -Werror=format-security -c -o md5c.o 
md5c.c
bison -y -p rc -d -v -oy.tab.c rcfile.yy;   \
   mv -f y.tab.c rcparser.cc;         \
   mv -f y.tab.h rcparser.hh;         \
   g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I. -I../include -I.. 
-DLOCALEDIR=\"/usr/share/locale\" -I../intl -I.. -I../include -I.  -Wdate-time 
-Wall -g -O0 -fstack-protector-strong -Wformat -Werror=format-security -c 
rcparser.cc;      \
   touch y.tab.c
flex -+ -i -Prc -orcfile.cc rcfile.ll
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I. -I../include -I.. 
-DLOCALEDIR=\"/usr/share/locale\" -I../intl -I.. -I../include -I.  -Wdate-time 
-Wall -g -O0 -fstack-protector-strong -Wformat -Werror=format-security -c -o 
rcfile.o rcfile.cc
rcfile.ll: In member function 'virtual int rcFlexLexer::yylex()':
rcfile.ll:150:14: error: no match for 'operator=' (operand types are 
'std::istream {aka std::basic_istream<char>}' and 'std::ifstream* {aka 
std::basic_ifstream<char>*}')
         yyin = new ifstream (sub_file.c_str ());
              ^
In file included from /usr/include/c++/5/iostream:40:0,
                 from rcfile.cc:96:
/usr/include/c++/5/istream:58:11: note: candidate: std::basic_istream<char>& 
std::basic_istream<char>::operator=(const std::basic_istream<char>&)
     class basic_istream : virtual public basic_ios<_CharT, _Traits>
           ^
/usr/include/c++/5/istream:58:11: note:   no known conversion for argument 1 
from 'std::ifstream* {aka std::basic_ifstream<char>*}' to 'const 
std::basic_istream<char>&'
rcfile.ll:152:27: error: invalid cast from type 'std::istream {aka 
std::basic_istream<char>}' to type 'std::ifstream* {aka 
std::basic_ifstream<char>*}'
         if (!((ifstream*) yyin)->is_open ())
                           ^
Makefile:459: recipe for target 'rcfile.o' failed
make[3]: *** [rcfile.o] Error 1


The full build log is attached; please do let me know if the problem is
unreproducible, in which case I shall try to investigate further.

Best,
Michael

Attachment: mailfilter-build-log.txt.gz
Description: application/gunzip

Attachment: signature.asc
Description: PGP signature

Reply via email to