Article 4S5Z0 v9.0: 6.52. Ninja-1.9.0: ./build/browse_py.h:2:1: error: expected primary-expression before ';' token

v9.0: 6.52. Ninja-1.9.0: ./build/browse_py.h:2:1: error: expected primary-expression before ';' token

by
NameUser
from LinuxQuestions.org on (#4S5Z0)
Distro: Linux Mint 19 Xfce 64-bits
uname -a: Linux machine 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
output of version-check.sh
LFS version: 9.0

Hello, I have problems with the Ninja package. I haven't got much problems in LFS ("spawn ls" in binutils but it was solved) so this is the first big problem.

I am trying to compile ninja with
Code:python3 configure.py --bootstrapbut it returns the follow error
Code:In file included from ./src/browse.cc:23:
./build/browse_py.h:2:1: error: expected primary-expression before ';' token
2 | ;
| ^
Traceback (most recent call last):
File "configure.py", line 465, in <module>
objs += cxx('browse', order_only=built('browse_py.h'))
File "configure.py", line 282, in cxx
return n.build(built(name + objext), 'cxx', src(name + '.cc'), **kwargs)
File "configure.py", line 164, in build
self._run_command(self._expand(cmd, local_vars))
File "configure.py", line 189, in _run_command
subprocess.check_call(cmdline, shell=True)
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'g++ -MMD -MT build/browse.o -MF build/browse.o.d -g -Wall -Wextra -Wno-deprecated -Wno-missing-field-initializers -Wno-unused-parameter -fno-rtti -fno-exceptions -fvisibility=hidden -pipe '-DNINJA_PYTHON="python3"' -O2 -DNDEBUG -fdiagnostics-color -DUSE_PPOLL -DNINJA_HAVE_BROWSE -I. -c ./src/browse.cc -o build/browse.o' returned non-zero exit status 1.I tried to compile the package in the machine host (out of LFS) and It compiled with any problems.
Thank you.latest?d=yIl2AUoC8zA latest?i=Shy16rgHqv0:HZr8Rj7H7Wg:F7zBnMy latest?i=Shy16rgHqv0:HZr8Rj7H7Wg:V_sGLiP latest?d=qj6IDK7rITs latest?i=Shy16rgHqv0:HZr8Rj7H7Wg:gIN9vFwShy16rgHqv0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments