On Wed, Sep 17, 2025 at 06:54:45AM -0400, James McCoy wrote: > /build/reproducible-path/subversion-1.14.5/BUILD/subversion/bindings/javahl/include/../include/org_apache_subversion_javahl_util_ConfigImpl_Category.h:5: > error: unterminated #ifndef > 5 | #ifndef > _Included_org_apache_subversion_javahl_util_ConfigImpl_Category > > It appears that we're trying to compile > org_apache_subversion_javahl_util_ConfigImpl_Category.cpp > before org_apache_subversion_javahl_util_ConfigImpl_Category.h is fully > generated. > > When the build fails, I can immediately run the same g++ command and it > succeeds. > > I'll look into how the Make targets / prerequisites are defined.
Hi. I forgot that we already knew about Makefile issues in Bug #1105563 (FTBFS with make --shuffle=reverse) and also here: https://people.debian.org/~sanvila/make-shuffle/ The difference is that this time I was able to trigger (randomly) a build failure without using --shuffle to "force" it. So, if you decide to fix this once and for all, you might want to try: GNUMAKEFLAGS=--shuffle in the environment. (Also, you might want to forward this upstream) Thanks.

