After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 785505 - gnome-cmd-advrename-lexer and EOF in string error
gnome-cmd-advrename-lexer and EOF in string error
Status: RESOLVED FIXED
Product: gnome-commander
Classification: Other
Component: buildsystem
unspecified
Other Linux
: Normal blocker
: 1.8
Assigned To: GNOME Commander maintainer(s)
GNOME Commander maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-07-27 21:34 UTC by Rafael Fontenelle
Modified: 2017-11-19 19:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Output of autogen, configure and make commands (191.37 KB, text/plain)
2017-07-27 21:34 UTC, Rafael Fontenelle
Details

Description Rafael Fontenelle 2017-07-27 21:34:07 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
Comment 1 Rafael Fontenelle 2017-07-28 04:18:36 UTC
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
Comment 2 Uwe Scholz 2017-08-18 13:03:53 UTC
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.
Comment 3 Rafael Fontenelle 2017-09-20 01:06:07 UTC
Sorry for the delay. Question made to Flex in: https://github.com/westes/flex/issues/264
Comment 4 Uwe Scholz 2017-11-19 19:53:16 UTC
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! :)