dh_clean no longer deletes debian/files

Bug #1764564 reported by David Lechner on 2018-04-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debhelper (Ubuntu)
Undecided
Unassigned

Bug Description

According to the dh_clean man page, dh_clean "removes some other files including debian/files". In xenial, this was indeed the case. However, since I have upgraded to bionic, debian/files is no longer being deleted, for example, when I run debuild -S -us -uc to build a package.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: debhelper 11.1.6ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
Uname: Linux 4.15.0-13-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu4
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon Apr 16 18:24:46 2018
InstallationDate: Installed on 2013-05-13 (1799 days ago)
InstallationMedia: This
PackageArchitecture: all
SourcePackage: debhelper
UpgradeStatus: No upgrade log present (probably fresh install)

David Lechner (dlech) wrote :

David Lechner:
> Public bug reported:
>
> According to the dh_clean man page, dh_clean "removes some other files
> including debian/files". In xenial, this was indeed the case. However,
> since I have upgraded to bionic, debian/files is no longer being
> deleted, for example, when I run debuild -S -us -uc to build a package.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 18.04
> Package: debhelper 11.1.6ubuntu1
> ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
> Uname: Linux 4.15.0-13-generic x86_64
> NonfreeKernelModules: nvidia_modeset nvidia
> ApportVersion: 2.20.9-0ubuntu4
> Architecture: amd64
> CurrentDesktop: GNOME
> Date: Mon Apr 16 18:24:46 2018
> InstallationDate: Installed on 2013-05-13 (1799 days ago)
> InstallationMedia: This
> PackageArchitecture: all
> SourcePackage: debhelper
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> ** Affects: debhelper (Ubuntu)
> Importance: Undecided
> Status: New
>
>
> ** Tags: amd64 apport-bug bionic
>

As I recall, this is not because dh_clean does not remove the file but
because dpkg-source generates the file on a -S build now (after running
dh_clean).

Thanks,
~Niels

David Lechner (dlech) wrote :

Thank you. I confirmed this by manually running dh_clean and debian/files was indeed deleted.

It seems that `debuild clean` is broken, so I'll close this bug and file a new one.

Changed in debhelper (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers