dh_clean no longer deletes debian/files

Bug #1764564 reported by David Lechner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debhelper (Ubuntu)
Invalid
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)

Revision history for this message
David Lechner (dlech) wrote :
Revision history for this message
Niels Thykier (niels-thykier) wrote : Re: [Bug 1764564] [NEW] dh_clean no longer deletes debian/files

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

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.