If I run ./configure.developer and then make and don't have flex installed, I get the following error: Build failed Traceback (most recent call last): File "/home/asn/workspace/projects/samba/third_party/waf/waflib/Context.py", line 452, in cmd_and_log ret, out, err = Utils.run_process(cmd, kw, cargs) File "/home/asn/workspace/projects/samba/third_party/waf/waflib/Utils.py", line 992, in run_process return run_prefork_process(cmd, kwargs, cargs) File "/home/asn/workspace/projects/samba/third_party/waf/waflib/Utils.py", line 927, in run_prefork_process raise Exception(trace) Exception: ['--noline', '../../source4/heimdal/lib/com_err/lex.l'] Traceback (most recent call last): File "<string>", line 37, in run File "/usr/lib64/python3.8/subprocess.py", line 854, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib64/python3.8/subprocess.py", line 1702, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: '--noline' configure should check for flex and abort if it isn't installed in heimdal case.
This bug was referenced in samba master: 942c0d2128cb8e64a9354dde6bdae82a1c1c3d88
The regression was introduced in c51c15144e3fbdd3ebed301a077c687e23882e09 in Samba 4.14 and fixed with 942c0d2128cb8e64a9354dde6bdae82a1c1c3d88 for Samba 4.15 so only a 4.14 backport is needed.
Created attachment 16590 [details] patch from master backported to 4.14 (only)
Assigning to Karolin for the next 4.14
(In reply to Andrew Bartlett from comment #4) Pushed to autobuild-v4-14-test.
This bug was referenced in samba v4-14-test: 1cf726dd52fe0ba383a67e7292f642090e8931cf
This bug was referenced in samba v4-14-stable (Release samba-4.14.3): 1cf726dd52fe0ba383a67e7292f642090e8931cf
Closing out bug report. Thanks!