[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg-buildpackage, dpatch and wrong permissions...



First, thanks for your answer!

On Wednesday 22 February 2006 15:02, Justin Pryzby wrote:
> On Wed, Feb 22, 2006 at 02:56:13PM +0100, Claudio Moratti wrote:
> > Hi *!
> >
> > I've a strange problem:
> > I've a package with 2 patches, created with dpatch...
> >
> > I compile it with a classic
> > $ fakeroot dpkg-buildpackage
>
> BTW dpkg-buildpackage -rfakeroot might be better, since it runs only
> the required targets under fake root environment, (not the build for
> example), and runs them under *separate* invocations of fakeroot, too.
> It is my impression that this could catch some FTBFS-type bugs.
>
> What is your umask?
the 'standard' umask:
$ umask
0022


> Have you tried building the source package (dpkg-source -b),
> [re]moving the source directory, then extracting it, then building it?
yes, but the situation does not change:
$ apt-get source k9copy 
...
$ ls -l k9copy-1.0.3.2/debian/patches/
total 1405
-rw-r--r-- 1 maxer maxer      39 2006-02-22 15:33 00list
-rw-r--r-- 1 maxer maxer     618 2006-02-22 15:33 01_dotdesktop.dpatch
-rw-r--r-- 1 maxer maxer 1425968 2006-02-22 15:33 02_libtool.dpatch
$ dpkg-source -b k9copy-1.0.3.2/ 
...
$ rm -r k9copy-1.0.3.2/  
$ dpkg-source -x k9copy_1.0.3.2-1.dsc
 ls -l k9copy-1.0.3.2/debian/patches/
total 1405
-rw-r--r-- 1 maxer maxer      39 2006-02-22 15:33 00list
-rw-r--r-- 1 maxer maxer     618 2006-02-22 15:33 01_dotdesktop.dpatch
-rw-r--r-- 1 maxer maxer 1425968 2006-02-22 15:33 02_libtool.dpatch
$ cd k9copy-1.0.3.2/ 
$ dpkg-buildpackage -rfakeroot 
...
dpkg-source: warning: executable mode 0755 of 
`debian/patches/02_libtool.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 
`debian/patches/01_dotdesktop.dpatch' will not be represented in diff
...
$ ls -l k9copy-1.0.3.2/debian/patches/
total 1405
-rw-r--r-- 1 maxer maxer      39 2006-02-22 15:33 00list
-rwxr-xr-x 1 maxer maxer     618 2006-02-22 15:33 01_dotdesktop.dpatch
-rwxr-xr-x 1 maxer maxer 1425968 2006-02-22 15:33 02_libtool.dpatch

permissions inside the debian/ directory are ok, but not for debian/patches

> Justin
thx

Claudio
-- 
   ~~>MaXeR <~~
Home: http://www.knio.it
Community http://www.debianizzati.org - http://guide.debianizzati.org
GnuPG Key: 0x34337C08

Attachment: pgpN8rvoPhvmj.pgp
Description: PGP signature


Reply to: