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

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



On Wed, Feb 22, 2006 at 04:12:54PM +0100, Claudio Moratti wrote:
> On Wednesday 22 February 2006 16:04, Stefano Melchior wrote:
> > On Wed, Feb 22, 2006 at 03:43:48PM +0100, Claudio Moratti wrote:
> > Ciao Claudio,
> >
> > > ...
> > > 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
> >
> > for me the problem is the way you produce the patch: "will not be
> > represented in diff".
> > I mean did you run something like
> >
> > diff -Nur orig-file modified-file > difference-fine.patch
> > How else did you create your patch files?
> I use dpatch...
> $ dpatch_edit_patch 01_libtool
> 
> the problem is that, if I extract sources from debian packages (dpkg-source 
> -x ...) permissions of patches are ok, but durign the build process... no
Where can i get this source package?  You should to figure out where
in the build process the mode is being changed ..

  while :; do if ls -l $d/debian/patches |grep -q ^..x; then killall -SIGTOP dpkg-buildpackage; break; fi; done;

heh



Reply to: