GNOME Bugzilla – Bug 785505
gnome-cmd-advrename-lexer and EOF in string error
Last modified: 2017-11-19 19:53:16 UTC
Created attachment 356487 [details] Output of autogen, configure and make commands Build fails with the output: test -f gnome-cmd-advrename-lexer.cc || /bin/sh ../ylwrap gnome-cmd-advrename-lexer.ll lex.yy.c gnome-cmd-advrename-lexer.cc -- flex /usr/sbin/m4:stdin:1511: ERROR: end of file in string make[3]: *** [Makefile:834: gnome-cmd-advrename-lexer.cc] Error 1 I'm trying to build against git master, but I also tried to build previous commits - including before recent changes in file "gnome-cmd-advrename-lexer.ll" (commits 4a68dac62 to 4486596f), without any difference in the result. Maybe it's a new behavior of recent version of flex? See attached file for the full output. Please let me know if any other information is required. Distro: Arch Linux 64-bit Versions: - gnome-commander git master (commit=cee379a1 and newer commits) - flex 2.6.4 - gcc 7.1.1
After further look, I notice that "1511" in the error message is a line from the generated file "lex.yy.c", and also that this doesn't happen with the previous version of flex, 2.6.3
Hi. Thank you very much for reporting this problem. Unfortunately I only have flex version 2.6.0 on my local system installed (Fedora 25) and no higher version is available here. I would kindly ask you to ask the flex developers why GnomeCommander can not be compiled anymore with version 2.6.4. Without more information I currently can't do anything here, at the moment.
Sorry for the delay. Question made to Flex in: https://github.com/westes/flex/issues/264
I pushed a fix for the comment which leads to this error (see commit 126aee63). Should be fixed now. If not, don't hesitate to open the bug again! :)