The following AOSP Build Guide does not successfully build. Here is the failure output:
1 warning generated.
[ 3% 2996/79043] Yacc: ss <= external/iproute2/misc/ssfilter.y
external/iproute2/misc/ssfilter.y: conflicts: 31 shift/reduce
[ 7% 5723/79043] build out/target/product/db410c/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_opcodes.h
FAILED: out/target/product/db410c/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_opcodes.h
/bin/bash -c “python external/mesa3d/src/compiler/nir/nir_opcodes_h.py external/mesa3d/src/compiler/nir/nir_opcodes.py > out/target/product/db410c/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_opcodes.h”
Traceback (most recent call last):
File “external/mesa3d/src/compiler/nir/nir_opcodes_h.py”, line 44, in
from mako.template import Template
ImportError: No module named mako.template
[ 7% 5724/79043] build out/target/product/db410c/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_builder_opcodes.h
FAILED: out/target/product/db410c/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_builder_opcodes.h
/bin/bash -c “python external/mesa3d/src/compiler/nir/nir_builder_opcodes_h.py external/mesa3d/src/compiler/nir/nir_opcodes.py > out/target/product/db410c/gen/STATIC_LIBRARIES/libmesa_nir_intermediates/nir/nir_builder_opcodes.h”
Traceback (most recent call last):
File “external/mesa3d/src/compiler/nir/nir_builder_opcodes_h.py”, line 47, in
from mako.template import Template
ImportError: No module named mako.template
…
failed to build some targets (09:15 (mm:ss))
Update: Seems that python-mako was not installed and is now a dependency