Now i get the following: >>> Source configured. >>> Compiling source in /usr/aarch64-unknown-linux-gnu/tmp/portage/sys-fs/e2fsprogs-1.42.10/work/e2fsprogs-1.42.10 ... make COMPILE_ET=compile_et MK_CMDS=mk_cmds cd ./util ; make subst make[1]: Entering directory `/usr/aarch64-unknown-linux-gnu/tmp/portage/sys-fs/e2fsprogs-1.42.10/work/e2fsprogs-1.42.10/util' CREATE dirpaths.h CC subst.c subst.c:8:20: fatal error: config.h: No such file or directory compilation terminated. make[1]: *** [subst.o] Error 1 make[1]: Leaving directory `/usr/aarch64-unknown-linux-gnu/tmp/portage/sys-fs/e2fsprogs-1.42.10/work/e2fsprogs-1.42.10/util' make: *** [util/subst] Error 2 * ERROR: sys-fs/e2fsprogs-1.42.10::gentoo failed (compile phase): * emake failed It looks like bug 516854
It is bug 516854. Same fix committed to the tree for this package. *** This bug has been marked as a duplicate of bug 516854 ***