On 01/08/2017 20:15, Stéphane Glondu wrote: >> Take a look at the buildd results for 1.1.6-5 and 1.1.6-6: >> >> https://buildd.debian.org/status/logs.php?pkg=sks&ver=1.1.6-5&suite=sid >> https://buildd.debian.org/status/logs.php?pkg=sks&ver=1.1.6-6&suite=sid >> >> in 1.1.6-5, mips, mipsel, and sh4 all fail with: >> >> --------- >> File "bdbwrap.mli", line 4, characters 13-22: >> Error: Unbound module Bdb >> Makefile:360: recipe for target 'bdbwrap.cmi' failed >> make[2]: *** [bdbwrap.cmi] Error 2 >> make[2]: *** Waiting for unfinished jobs.... >> --------- >> >> (but armel and i386 build OK) >> >> While with 1.1.6-6, we see the same failures on armel and i386 (but not on >> mips!) >> >> There should have been no change with the ocaml Bdb bindings between >> these different builds. >> >> I suspect something weird is happening with ocaml, but i'm not sure >> what steps to take for debugging, so i'm flagging this as "help" -- if >> the OCaml maintainers have any suggestions, i'm all ears. > > It looks like the build process is not parallel-safe. Try running dh > with --no-parallel.
Indeed, bdbwrap.cmi depends on bdb/bdb.cmi, but this dependency cannot be inferred given the way the build system is designed. I would suggest to just disable parallel build. Cheers, -- Stéphane