Thanks Jonathan. That's it! I just can't compile as root. It solved my problem. Thanks a lot,
Jonathan Nieder wrote: I assume you are running tests as root. This was fixed by 7e17d3bf (dpkg-divert: fix the test-suite to also skip tests that would fail if run as root, 2011-07-27).