Control: tags -1 +pending

On Sat, Dec 24, 2016 at 11:04:32AM +0100, Lucas Nussbaum wrote:
> Note that since dpkg 1.18.11, dpkg-buildpackage defaults to setting -Jauto,
> which means automatically passing parallel=64 (on that machine),
> which in turns sets MAKEFLAGS to -j64 in debian/rules,
> which causes the Makefile for the java bindings to be evaluated in
> parallel, which probably triggers a dependency problem.

Aha - I bet that'll be it then.  Thanks for pointing that out.

It looks to my like javac writes .class files out in place, and also reads
existing .class files.  So if run in parallel it can read partial .class
files and fail because they don't contain the classes it expects.

> Note that I just realized that I sometimes get another error:
> 
> ../../../../java/org/xapian/TradWeight.java:11: error: cannot access Weight
> public class TradWeight extends Weight {
>                                 ^
>   bad class file: ./org/xapian/Weight.class
>     illegal start of class file
>     Please remove or make sure it appears in the correct subdirectory of the 
> classpath.

...or it finds a seemingly corrupt file.

I'll add .NOTPARALLEL for that subdirectory.

Cheers,
    Olly

Reply via email to