'has incomplete type' error while installing ROOT

I forked ROOT from official repository one mouth ago, the version should be v6.22.
There are some modifications in ‘graf3d’ folder while rest of the codes remain untouched.
The modifications are tested and committed to my forked repository. Then I cloned the modified codes to another computer and tried to build it by

$ cd root_build
$ sudo rm -rf *
$ cmake -DCMAKE_INSTALL_PREFIX=../root_install ../root_src 
$ cmake --build . -- install -j4 

and the error occured.

The codes are cloned and GitHub record shows that the ‘tree’ folder as well as all other folders except ‘graf3d’ are untouched

As for the modification, you may see Axes don't show up in the projection of a imported gdml geometry in eve

This error still happens when the build directory is empty.

Thanks,
JINGYU