Opennebula 5.12.0.1 compiling issues

Description

After applying some possible corrections to issue #5097, scons fails to compile
template_syntax.cc:128:10: fatal error: template_syntax.hh: No such file or directory

There is an open issue related to this #5098.


Versions of the related components and OS (frontend, hypervisors, VMs):

  • Affected Component: scons in compile phase
  • Hypervisor: NA
  • Version: 5.12.0.1

Steps to reproduce:

Run scons with parsers=yes and using bison 3.7.1.
More details in the following gentoo ebuild:

Current results:

Full build history in the following gist

Expected results:

Run scons as expected to compile the code.