debuild clean fails on bionic

Bug #1764799 reported by David Lechner
30
This bug affects 7 people
Affects Status Importance Assigned to Milestone
devscripts (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I run `debuild clean` (in a debian package source directory), I get the following error message:

---

 dpkg-buildpackage -rfakeroot -us -uc -ui clean
dpkg-buildpackage: error: unknown option or argument clean

Use --help for program usage information.
debuild: fatal error at line 1152:
dpkg-buildpackage -rfakeroot -us -uc -ui clean failed

---

I don't think this has to do with my source package, but just in case, it is available at https://github.com/ev3dev/opencv.git.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: devscripts 2.17.12ubuntu1
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: Tue Apr 17 11:29:15 2018
InstallationDate: Installed on 2013-05-13 (1799 days ago)
InstallationMedia: This
SourcePackage: devscripts
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
David Lechner (dlech) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in devscripts (Ubuntu):
status: New → Confirmed
Revision history for this message
David Lechner (dlech) wrote :

I found a workaround:

    debuild -- clean

Revision history for this message
Max (mxmax) wrote :

If you see this issue, you might need to download dependencies:

sudo apt-get build-dep package_name

Revision history for this message
Jamin W. Collins (jcollins) wrote :

I ran into this and it definitely wasn't due to missing build-deps. The package built fine, simply could not issue "debuild clean" to remove the build artifacts. The workaround in https://bugs.launchpad.net/ubuntu/+source/devscripts/+bug/1764799/comments/3 does work however.

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.