'sudo make install' for build dependencies in code form on debian/rules should work on launchpad buildbots
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Edit: for googlers trying to make this: the whole discussion was predicated on a false assumption (that there was no way to add a debian package dependency not on the official packages). In fact, there is: send your dependencies builds to the 'main' ppa of the recipe. So the way to success is using a debian packaging still)
For static dependencies of course.
Currently it fails by either 'no tty and no askpass program specified' or 'permission denied' if not using sudo. The workaround is changing the makefile to not use the system library but a relative path to it (without install) and copying the headers to a place the makefile finds or adding that too to the makefile.
Very ugly workaround, and gives not allowing the install additional advantage afaik, since the build env is temporary.
description: | updated |
description: | updated |
description: | updated |
Builds deliberately don't run as root, and you're not meant to use sudo. Debian packages need to be able to build in a self-contained environment without root access, so libraries need to be installed as a package build dependency, or as a last resort installed into a subdirectory of the build tree.
http:// developer. ubuntu. com/packaging/ html/ might be a helpful reference.