The NetBSD-current/i386 build is working again. The following commits were made between the last failed build and the successful build:
2017.08.11.12.58.14 maxv src/sys/modules/Makefile,v 1.195 Log files can be found at: http://releng.NetBSD.org/b5reports/i386/commits-2017.08.html#2017.08.11.12.58.14