pbuild fails with "Permission denied"

Ole Streicher ole-usenet-spam at gmx.net
Mon May 17 17:45:02 UTC 2010


Loïc Minier <lool at dooz.org> writes:
> On Sun, May 16, 2010, Ole Streicher wrote:
>> /usr/bin/install: cannot create regular file `/usr/lib/libwcs-4.4.4.a': Permission denied

>  This means you're trying to install to the system directory /usr/lib;
>  change your debian/rules to install to debian/tmp, and to copy to
>  binary packages in debian/name-of-package/.  Usually, make install
>  DESTIR=debian/tmp + dh_install or something like that.

The problem was that the Makefile did ignore the DESTDIR environment
variable. This is fixed now.

Thanks 

Ole




More information about the Pbuilder-maint mailing list