Control: tags -1 pending On 2015-09-05 21:59, Colin Watson wrote: > Package: debhelper > Version: 9.20150811 > Severity: normal > Tags: patch > > dh_auto_configure's very useful code to dump out config.log on failures > doesn't work when using -B to have a separate build directory, as you > can see here: > > > https://buildd.debian.org/status/fetch.php?pkg=grub2&arch=ppc64el&ver=2.02~beta2-27&stamp=1441370730&file=log > > This is because, when doit_in_sourcedir/doit_in_builddir raise an > exception, their code to chdir back to the original directory is > bypassed, and so the exception handler in > Debian::Debhelper::Buildsystem::autoconf runs from the wrong directory > and fails to find config.log. The attached patch arranges that the > chdir-back always happens before further propagating the exception. > > Thanks, > > [...]
Many thanks for the patch! :) I have applied it to master and it will be part of the next release to unstable. Thanks, ~Niels