[debhelper-devel] Bug#893076: debhelper: dh_clean cannot clean config.{guess, sub} in subdir
Niels Thykier
niels at thykier.net
Thu Mar 29 16:59:00 UTC 2018
Control: tags -1 moreinfo unreproducible
On Fri, 16 Mar 2018 15:46:28 +0800 YunQiang Su <wzssyqa at gmail.com> wrote:
> Package: src:debhelper
> Version: 11.1.5
>
> Since dh_update_autotools_config is recommended to be used,
> and dh_autotools-dev_restoreconfig should be used anymore,
> and dh_clean will work with dh_update_autotools_config,
>
> while dh_clean cannot config.{guess,sub} in a subdir,
>
> I meet this problem when I try to add the
> dh_update_autotools_config
> to kexec-tools_2.0.16-1
>
> --
> YunQiang Su
>
>
Hi,
I cannot reproduce this particular issue with kexec-tools 1:2.0.16-1. I
inserted the dh_update_autotools_config call just before the
dh_autoreconf call and the build was successful[1].
The only "odd" observation was that the package does a configure during
its clean. However, that problem is unrelated to
dh_update_autotools_config.
Thanks,
~Niels
[1] Snippet from the build log:
"""
> debian/rules build
> dh_testdir
> # Add here commands to configure the package.
> dh_update_autotools_config -v
> install -d debian/.debhelper/bucket/files
> cp -an --reflink=auto config/config.guess debian/.debhelper/bucket/files/f6e1bdf4ebd026d9fb9f876163463948073f2d2fa7876ea518b90bb3cb549671.tmp
> mv debian/.debhelper/bucket/files/f6e1bdf4ebd026d9fb9f876163463948073f2d2fa7876ea518b90bb3cb549671.tmp debian/.debhelper/bucket/files/f6e1bdf4ebd026d9fb9f876163463948073f2d2fa7876ea518b90bb3cb549671
> cp -f /usr/share/misc/config.guess ./config/config.guess
> cp -an --reflink=auto config/config.sub debian/.debhelper/bucket/files/3cd488ca40af79af9b139188c440d64d3cf52eee56f4908907b61e12850646cf.tmp
> mv debian/.debhelper/bucket/files/3cd488ca40af79af9b139188c440d64d3cf52eee56f4908907b61e12850646cf.tmp debian/.debhelper/bucket/files/3cd488ca40af79af9b139188c440d64d3cf52eee56f4908907b61e12850646cf
> cp -f /usr/share/misc/config.sub ./config/config.sub
> dh_autoreconf
"""
More information about the debhelper-devel
mailing list