Package: apr-util Version: 1.5.2-1 Looking at the build log, there is a loop searching for berkley-db, searching a lot of unnecessary directories. Even when configuring with --with-berkeley-db=/usr/include:/usr/lib/<multiarch-tuple> the loop is taken, and not the given configuration.