found 666525 pbuilder/0.215
thanks

I regularly got in the previous weeks, when working on gcompris, qgo,
and today with tagua:

[ 36%] Building CXX object 
src/CMakeFiles/tagua.dir/hlvariant/minichess5/variant.o
ccache: FATAL: Failed to create /work/pbuilder/ccache/b/0: Permission denied
make[3]: *** [src/CMakeFiles/tagua.dir/hlvariant/minichess5/variant.o] Error 1


Trying to avoid the problem, I had just regenerated by base.tgz from
scratch, but it obviously did not help.

I am using the "shell on failure" hook from
http://bazaar.launchpad.net/%7Ekubuntu-members/pbuilder/pbuilder-hooks/,
which helps me see what's wrong:

# ls -l /work/pbuilder/ccache
total 72
drwxr-xr-x 6 pbuilder pbuilder 4096 Aug 18 13:30 0
...
drwxr-xr-x 5 pbuilder pbuilder 4096 Aug 18 13:30 9
-rw-r--r-- 1 root     root      190 Aug 18 13:22 CACHEDIR.TAG
drwxr-xr-x 5 pbuilder pbuilder 4096 Aug 18 13:30 a
drwxr-xr-x 2 root     root     4096 Aug 18 13:22 b
drwxr-xr-x 5 pbuilder pbuilder 4096 Aug 18 13:30 c
drwxr-xr-x 3 pbuilder pbuilder 4096 Aug 18 13:30 d
drwxr-xr-x 9 pbuilder pbuilder 4096 Aug 18 13:30 e
drwxr-xr-x 3 pbuilder pbuilder 4096 Aug 18 13:30 f
drwxr-xr-x 2 root     root     4096 Aug 18 13:22 tmp

The workaround I use is very far from satisfactory, but far less
costly than rerunning the build from scratch: from the hook's shell
run:

        chown -R pbuilder.pbuilder /work/pbuilder/ccache

then let the build go on:

     dpkg-buildpackage -us -uc -nc

... and manually copy the generated files from the chroot before
exiting the shell.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to