On 08/27/2012 11:35 PM, Alex Korobkin wrote: > On 27 August 2012 15:03, Paul Gevers <[email protected]> wrote: >>> `/usr/lib/x86_64-linux-gnu/libcupsfilters.so.1.0.0': Permission denied >> >> You don't have permissions, obviously. This is because pbuilder runs >> under the pbuilder user, not under root. >> >>> drwxr-xr-x 37 root root 4096 Aug 27 18:30 /usr/lib >>> drwxr-xr-x 14 root root 24576 Aug 27 18:30 /usr/lib/x86_64-linux-gnu/ >> >> I think this actually catches an error. Why install in /usr/lib? I think >> it needs to install into your package, not in the pbuilder file >> structure. Probably some makefile or install script is installing into >> the wrong (hardcoded) location. > > Looks like adding this line to debian/rules helped to solve the problem. > DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/tmp/ > > Thanks Paul! > > -Alex > >
If you are using CDBS, use DESTDIR=$(DEB_DESTDIR) instead. However, this should happen automagically, so there must be something in your d/rules file that breaks this. Michael -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

