Build fails due to not finding dh

Asked by J Brett Cunningham

I have a django web app I am trying to include into a PPA. Upon submitting, the build error logs look as such:

dh clean
make: dh: Command not found
make: *** [clean] Error 127
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2

I used another PPA as a guide: https://launchpad.net/~securityonion/+archive/ubuntu/stable/+sourcepub/5937668/+listing-archive-extra

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Colin Watson (cjwatson) said :
#1

Only a very limited set of packages is present in the base build environment (the usual essential packages, plus libc6-dev, gcc, g++, make, and dpkg-dev). If you need anything else, you must build-depend on it. In this case, that would be "Build-Depends: debhelper" in debian/control, although you may well be missing other build-dependencies.

Can you help with this problem?

Provide an answer of your own, or ask J Brett Cunningham for more information if necessary.

To post a message you must log in.