On Sat, Nov 19, 2016 at 07:47:50 +0100, Lucas Nussbaum wrote: > > In file included from sup-config/file.c:29:0: > > ./ocserv-args.h:1:1: error: unterminated comment > > /* -*- buffer-read-only: t -*- vi: set ro: > > ^
I can semi-reliably reproduce this and similar errors with sbuild -j32. It seems to be a parallel build race condition in the build between autogen and other source files that include the autogen-generated header file. The following procedure also reproduces (maybe 3 out of 4 times) from upstream git (ocserv_0_11_4 tag): autoreconf -fi ./configure rm src/version.inc make -j32 all Same on upstream git master, so the latest upstream 0.11.6 will hit the same error. The key ingredient is deleting src/version.inc *after* running configure, which I think is causing autogen to run later than it should, in turn causing a race with the compiler. I'll take a look at the generated sources and see what we can change to ensure everything is built in the right order. I'll also report upstream and see if we can get a more robust build to prevent these kinds of races in a future version. -- mike