Identical to Bug 662776 and Bug 669846. Same fix for systemd and systemd-boot should be applied to udev as well. In file included from ../systemd-239/src/basic/missing.h:18, from ../systemd-239/src/basic/util.h:28, from ../systemd-239/src/basic/clock-util.c:17: /usr/include/linux/stat.h:17:8: error: redefinition of ‘struct statx_timestamp’ struct statx_timestamp { ^~~~~~~~~~~~~~~ In file included from /usr/include/sys/stat.h:446, from ../systemd-239/src/basic/util.h:19, from ../systemd-239/src/basic/clock-util.c:17: /usr/include/bits/statx.h:25:8: note: originally defined here struct statx_timestamp ^~~~~~~~~~~~~~~ In file included from ../systemd-239/src/basic/missing.h:18, from ../systemd-239/src/basic/util.h:28, from ../systemd-239/src/basic/clock-util.c:17: /usr/include/linux/stat.h:60:8: error: redefinition of ‘struct statx’ struct statx { ^~~~~ In file included from /usr/include/sys/stat.h:446, from ../systemd-239/src/basic/util.h:19, from ../systemd-239/src/basic/clock-util.c:17: /usr/include/bits/statx.h:36:8: note: originally defined here struct statx ^~~~~ ninja: build stopped: subcommand failed.
systemd-239 has the same problem. bug #662776 has a fix.
Sorry for the noise. Something wrong with my mirror, the fixed version never shows up in my portage tree...
Already fixed in dbb9fccb96b31a786aeedcaded94e9402de635ae.