I think pbuilder just preserves the permissions and fail if it's
read-only; hard to understand if it is an unexpected behavior ?


At Wed, 14 Mar 2012 08:37:27 +0000 (GMT),
Franz Schrober wrote:
> 
> Package: cowbuilder
> Version: 0.67
> Severity: normal
> 
> Tried to build a package copied from a read-only medium. It fails during the 
> creation of the new source package. This can easily be reproduced
> 
> 
> $ dget 
> -d http://snapshot.debian.org/archive/debian/20120310T034347Z/pool/main/c/cowdancer/cowdancer_0.68.dsc
> $ chmod a=r cowdancer_0.68.dsc cowdancer_0.68.tar.gz
> $ /usr/sbin/cowbuilder --build --buildresult "$HOME/results" 
> cowdancer_0.68.dsc
> .....
>  dpkg-source -b cowdancer-0.68
> dpkg-source: warning: no source format specified in debian/source/format, see 
> dpkg-source(1)
> dpkg-source: info: using source format `1.0'
> dpkg-source: info: building cowdancer in cowdancer_0.68.tar.gz
> dpkg-source: info: building cowdancer in cowdancer_0.68.dsc
> dpkg-source: error: cannot write cowdancer_0.68.dsc: Permission denied
> dpkg-buildpackage: error: dpkg-source -b cowdancer-0.68 gave error exit 
> status 13
> E: Failed autobuilding of package
> .....
> 
> This also happens for *.debian.tar.gz and *.diff.gz files (for non-native 
> packages of course)
> 
> --- System information. ---
> Architecture: amd64
> Kernel:       Linux 3.2.0-2-amd64
> Debian Release: wheezy/sid
> 500 testing         www.debian-multimedia.org 
> --- Package information. ---
> Depends        (Version) | Installed
> ========================-+-===========
> libc6           (>= 2.7) | 2.13-27
> pbuilder                 | 0.206
> cowdancer                | 0.67
> Package's Recommends field is empty.
> Package's Suggests field is empty.
> 
> 



--
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