[Debian-med-packaging] Bug#812681: [help] Bug#812681: mira: FTBFS with flex >= 2.6]

Jakub Wilk jwilk at debian.org
Tue Jan 26 16:12:26 UTC 2016


* Andreas Tille <andreas at an3as.eu>, 2016-01-25, 22:06:
>sorry, I have no idea about fley and need help to fix this problem.

I think it's a bit premature to ask debian-mentors for help when your RC 
bug is 7 minutes old. What you could do instead is:

* Wait a bit longer. Perhaps one of the numerous co-maintainers knows 
how to fix the bug, but they all busy or asleep at the moment?
* Ask on the team's mailing list.
* Ask upstream.

(Not necessarily in that order.)

>g++ -DPACKAGE_NAME=\"mira\" -DPACKAGE_TARNAME=\"mira\" -DPACKAGE_VERSION=\"4.9.5_2\" -DPACKAGE_STRING=\"mira\ 4.9.5_2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mira\" -DVERSION=\"4.9.5_2\" -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 -DENABLE64=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -Drestrict=__restrict -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_STRFTIME=1 -DHAVE_MEMSET=1 -DHAVE_FSEEKO=1 -DHAVE_ISBLANK=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_THREAD=/\*\*/ -DHAVE_BOOST_REGEX=/\*\*/ -DHAVE_BOOST_SYSTEM=/\*\*/ -DHAVE_BOOST_FILESYSTEM=/\*\*/ -DHAVE_BOOST_IOSTREAMS=/\*\*/ -DHAVE_LIBRT=1 -DHAVE_GZOFFSET=1 -DBOUNDTRACKFLAG=1 -DBUGTRACKFLAG=1 -I.  -I../../src  -Wdate-time  -DPUBLICQUIET -DAJ_Linux64 -g -O0 -fstack-protector-strong -Wformat -Werror=format-security  -I/usr/include -O3 -funroll-loops -pthread -I/usr/include -I/usr/include -Werror=uninitialized -Werror=return-type -Werror=parentheses -Werror=unused-value -std=c++14 -c -o exp_flexer.o exp_flexer.cc
>exp_flexer.cc: In member function 'virtual int EXPFlexLexer::yylex()':
>exp_flexer.cc:766: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;
>         ^

The problem is that exp_flexer.cc was not regenerated from the 
corresponding *.ll file at build time. Instead, the file included in the 
.orig.tar (which was generated by an older flex) was used.

Removing the pre-generated flex output fixed it for me:

find -name '*.ll' | sed -e 's/[.]ll$/.cc/' | xargs rm

-- 
Jakub Wilk



More information about the Debian-med-packaging mailing list